git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7b39a3
)
Add const
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 4 Aug 2009 06:11:55 +0000
(16:11 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 4 Aug 2009 06:11:55 +0000
(16:11 +1000)
source4/lib/ldb-samba/ldif_handlers.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb-samba/ldif_handlers.c
b/source4/lib/ldb-samba/ldif_handlers.c
index 606d4df76114bea0606da3c4aecd3081c39ee5f5..2d3d2b994d14dd3317426dd26e8724f37443f5ed 100644
(file)
--- 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) {