1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4-prefixMap: dsdb_schema_pfm_oid_from_attid() to use const prefixMap

It is not supposed to change supplied prefixMap
This commit is contained in:
Kamen Mazdrashki 2010-11-09 04:36:24 +02:00
parent e772518a64
commit 3ab75524ee

View File

@ -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;