summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_prefixmap.c
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-09 04:36:24 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-11-11 18:54:20 +0000
commit3ab75524ee11f9121f41b3d4dd452ecdf9847e67 (patch)
tree35ddf39baeae5625eac486b28050b192c89fe9f5 /source4/dsdb/schema/schema_prefixmap.c
parente772518a64f1f616ba6c00a8ee45cffd228bd8b3 (diff)
downloadsamba-3ab75524ee11f9121f41b3d4dd452ecdf9847e67.tar.gz
samba-3ab75524ee11f9121f41b3d4dd452ecdf9847e67.tar.bz2
samba-3ab75524ee11f9121f41b3d4dd452ecdf9847e67.zip
s4-prefixMap: dsdb_schema_pfm_oid_from_attid() to use const prefixMap
It is not supposed to change supplied prefixMap
Diffstat (limited to 'source4/dsdb/schema/schema_prefixmap.c')
-rw-r--r--source4/dsdb/schema/schema_prefixmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_prefixmap.c b/source4/dsdb/schema/schema_prefixmap.c
index 371ec882ca..18b22ffdcd 100644
--- a/source4/dsdb/schema/schema_prefixmap.c
+++ b/source4/dsdb/schema/schema_prefixmap.c
@@ -351,7 +351,8 @@ WERROR dsdb_schema_pfm_attid_from_oid(struct dsdb_schema_prefixmap *pfm,
* Make OID for given ATTID.
* Reference: [MS-DRSR] section 5.12.2
*/
-WERROR dsdb_schema_pfm_oid_from_attid(struct dsdb_schema_prefixmap *pfm, uint32_t attid,
+WERROR dsdb_schema_pfm_oid_from_attid(const struct dsdb_schema_prefixmap *pfm,
+ uint32_t attid,
TALLOC_CTX *mem_ctx, const char **_oid)
{
uint32_t i;