From 7d7aacc34729c9dee806436647fdd82f6887df55 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 27 Feb 2005 19:57:03 +0000 Subject: 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) --- source4/dsdb/samdb/ldb_modules/samldb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4') 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; } -- cgit