summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-03-26 11:21:06 +0100
committerGünther Deschner <gd@samba.org>2015-03-27 01:26:16 +0100
commita616df1848d65bcbfec745823e312baf230887ee (patch)
tree33193322cb51126f9e48c4506a1057490f523d4d /source4/auth/kerberos
parentb7abdbb0a1686b09aa5d8e833c54c9d575922f85 (diff)
downloadsamba-a616df1848d65bcbfec745823e312baf230887ee.tar.gz
lib/krb5_wrap: use krb5_const_principal in smb_krb5_create_key_from_string.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/srv_keytab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/srv_keytab.c b/source4/auth/kerberos/srv_keytab.c
index 1ffd1e3f33d..754f2c2c2c9 100644
--- a/source4/auth/kerberos/srv_keytab.c
+++ b/source4/auth/kerberos/srv_keytab.c
@@ -211,7 +211,7 @@ static krb5_error_code keytab_add_keys(TALLOC_CTX *parent_ctx,
ZERO_STRUCT(entry);
ret = smb_krb5_create_key_from_string(context,
- &salt_princ,
+ salt_princ,
NULL,
&password,
enctypes[i],