summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-05-16 23:52:51 -0700
committerMatthieu Patou <mat@matws.net>2012-06-22 23:22:02 -0700
commit884d66d959e2eaa384bf9af6230ffb589a581b13 (patch)
tree008441fc8d4ee3d5de976189482de1658172474d /source4/dsdb/samdb
parent392e83ffe6f9096c5671c2fd92a338f1fa5abd30 (diff)
downloadsamba-884d66d959e2eaa384bf9af6230ffb589a581b13.tar.gz
samba-884d66d959e2eaa384bf9af6230ffb589a581b13.tar.bz2
samba-884d66d959e2eaa384bf9af6230ffb589a581b13.zip
s4-drsuapi: Fix a const warning
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/cracknames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/cracknames.c b/source4/dsdb/samdb/cracknames.c
index 745ec05fb2..504f1b2deb 100644
--- a/source4/dsdb/samdb/cracknames.c
+++ b/source4/dsdb/samdb/cracknames.c
@@ -693,7 +693,7 @@ WERROR DsCrackNameOneName(struct ldb_context *sam_ctx, TALLOC_CTX *mem_ctx,
case DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL: {
krb5_principal principal;
char *unparsed_name_short;
- krb5_data *component;
+ const krb5_data *component;
char *service;
ret = smb_krb5_init_context(mem_ctx,