svn commit: samba r5588 - in
branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .
idra at samba.org
idra at samba.org
Sun Feb 27 19:57:03 GMT 2005
Author: idra
Date: 2005-02-27 19:57:03 +0000 (Sun, 27 Feb 2005)
New Revision: 5588
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5588
Log:
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.
Modified:
branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c 2005-02-27 16:35:19 UTC (rev 5587)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c 2005-02-27 19:57:03 UTC (rev 5588)
@@ -413,11 +413,11 @@
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 @@
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;
}
More information about the samba-cvs
mailing list