diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-08-04 16:11:55 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-08-04 16:11:55 +1000 |
commit | dac8aabb551f9a4345dedb0b6ae0dcb9ffb1bad9 (patch) | |
tree | 3a1ef09e8eb29fb874b4956bedf84058b2450e26 | |
parent | d7b39a353ab757d7f7914d08226114fc275032e8 (diff) | |
download | samba-dac8aabb551f9a4345dedb0b6ae0dcb9ffb1bad9.tar.gz samba-dac8aabb551f9a4345dedb0b6ae0dcb9ffb1bad9.tar.bz2 samba-dac8aabb551f9a4345dedb0b6ae0dcb9ffb1bad9.zip |
Add const
-rw-r--r-- | source4/lib/ldb-samba/ldif_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb-samba/ldif_handlers.c b/source4/lib/ldb-samba/ldif_handlers.c index 606d4df761..2d3d2b994d 100644 --- a/source4/lib/ldb-samba/ldif_handlers.c +++ b/source4/lib/ldb-samba/ldif_handlers.c @@ -327,7 +327,7 @@ static int ldif_read_ntSecurityDescriptor(struct ldb_context *ldb, void *mem_ctx if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { /* If this does not parse, then it is probably SDDL, and we should try it that way */ - struct dom_sid *sid = samdb_domain_sid(ldb); + const struct dom_sid *sid = samdb_domain_sid(ldb); talloc_free(sd); sd = sddl_decode(mem_ctx, (const char *)in->data, sid); if (sd == NULL) { |