summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-08-19 03:17:36 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-08-19 03:34:05 +0300
commit89899f55dc1fb137a0adfd734c87b65039f598a4 (patch)
tree49ae92490072731b6def680cc3dc227a8f52df2c /source4/dsdb
parente05027401f4733e43b62148fa5c59559f49b4c1b (diff)
downloadsamba-89899f55dc1fb137a0adfd734c87b65039f598a4.tar.gz
samba-89899f55dc1fb137a0adfd734c87b65039f598a4.tar.bz2
samba-89899f55dc1fb137a0adfd734c87b65039f598a4.zip
s4-drs: ATTIDs for deleted attributes should be based on msDs-IntId value if it exists
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 213871bc53..db53aea612 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -57,8 +57,8 @@ void dsdb_syntax_ctx_init(struct dsdb_syntax_ctx *ctx,
* Schema NC or msDs-IntId is set for schemaAttribute
* for the attribute.
*/
-static uint32_t dsdb_attribute_get_attid(const struct dsdb_attribute *attr,
- bool for_schema_nc)
+uint32_t dsdb_attribute_get_attid(const struct dsdb_attribute *attr,
+ bool for_schema_nc)
{
if (!for_schema_nc && attr->msDS_IntId) {
return attr->msDS_IntId;