mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
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)
This commit is contained in:
parent
625a2673c1
commit
7d7aacc347
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user