diff options
author | Simo Sorce <idra@samba.org> | 2005-02-27 19:57:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:55 -0500 |
commit | 7d7aacc34729c9dee806436647fdd82f6887df55 (patch) | |
tree | a568628c6c9672b2a7db8a5de5113db78ac8bb0d | |
parent | 625a2673c17d3a47f16f50fc5fdbe6f09f8c6a5e (diff) | |
download | samba-7d7aacc34729c9dee806436647fdd82f6887df55.tar.gz samba-7d7aacc34729c9dee806436647fdd82f6887df55.tar.bz2 samba-7d7aacc34729c9dee806436647fdd82f6887df55.zip |
r5588: We currently use a string representing an hex number so conform to that.
But we should move to a signed integer in future to be AD compatible.
(This used to be commit b67512c5139af121b6579a5c6318a489c2132ebb)
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 1e110afc2e..ddd878070d 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -413,11 +413,11 @@ static struct ldb_message *samldb_manage_group_object(struct ldb_module *module, return NULL; } - if ( ! samldb_find_or_add_attribute(msg2, "sAMAccountType", NULL, "268435456")) { + if ( ! samldb_find_or_add_attribute(msg2, "sAMAccountType", NULL, "0x10000000")) { return NULL; } - if ( ! samldb_find_or_add_attribute(msg2, "groupType", NULL, "-2147483646")) { + if ( ! samldb_find_or_add_attribute(msg2, "groupType", NULL, "0x80000002")) { return NULL; } @@ -539,7 +539,7 @@ static struct ldb_message *samldb_manage_user_object(struct ldb_module *module, return NULL; } - if ( ! samldb_find_or_add_attribute(msg2, "sAMAccountType", NULL, "805306368")) { + if ( ! samldb_find_or_add_attribute(msg2, "sAMAccountType", NULL, "0x30000000")) { talloc_free(msg2); return NULL; } |