diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-11-01 00:46:58 +0200 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-11-01 00:36:20 +0000 |
commit | a2d787d95d1f20aa2c080c2281bcf213728dfbc4 (patch) | |
tree | 2f409bbc68bd2c35d1d46eb2fbc47dc2a3a67831 /source4/dsdb/schema/schema_init.c | |
parent | 9221c38e1673bb2b54b971401f1d2f348aecbeca (diff) | |
download | samba-a2d787d95d1f20aa2c080c2281bcf213728dfbc4.tar.gz samba-a2d787d95d1f20aa2c080c2281bcf213728dfbc4.tar.bz2 samba-a2d787d95d1f20aa2c080c2281bcf213728dfbc4.zip |
s4-dsdb_schema: Use DRSUAPI_ATTID_INVALID instead of 0xFFFFFFFF magic value
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Nov 1 00:36:20 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/dsdb/schema/schema_init.c')
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 836b2aed91..c1032f90c2 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -562,7 +562,7 @@ WERROR dsdb_attribute_from_ldb(struct ldb_context *ldb, GET_STRING_LDB(msg, "attributeID", attr, attr, attributeID_oid, true); if (!schema->prefixmap || schema->prefixmap->length == 0) { /* set an invalid value */ - attr->attributeID_id = 0xFFFFFFFF; + attr->attributeID_id = DRSUAPI_ATTID_INVALID; } else { status = dsdb_schema_pfm_make_attid(schema->prefixmap, attr->attributeID_oid, @@ -592,7 +592,7 @@ WERROR dsdb_attribute_from_ldb(struct ldb_context *ldb, GET_STRING_LDB(msg, "attributeSyntax", attr, attr, attributeSyntax_oid, true); if (!schema->prefixmap || schema->prefixmap->length == 0) { /* set an invalid value */ - attr->attributeSyntax_id = 0xFFFFFFFF; + attr->attributeSyntax_id = DRSUAPI_ATTID_INVALID; } else { status = dsdb_schema_pfm_attid_from_oid(schema->prefixmap, attr->attributeSyntax_oid, @@ -655,7 +655,7 @@ WERROR dsdb_class_from_ldb(struct dsdb_schema *schema, GET_STRING_LDB(msg, "governsID", obj, obj, governsID_oid, true); if (!schema->prefixmap || schema->prefixmap->length == 0) { /* set an invalid value */ - obj->governsID_id = 0xFFFFFFFF; + obj->governsID_id = DRSUAPI_ATTID_INVALID; } else { status = dsdb_schema_pfm_make_attid(schema->prefixmap, obj->governsID_oid, |