lib/krb5_wrap: use krb5_const_principal in smb_krb5_create_key_from_string.
[obnox/samba/samba-obnox.git] / source4 / auth / kerberos / srv_keytab.c
index 1ffd1e3f33de070a7fc37e1cee278a6430f83e9e..754f2c2c2c9c0cd97fb7627a2bc577e333cf2690 100644 (file)
@@ -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],