summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/kerberos_verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_verify.c b/source4/auth/kerberos/kerberos_verify.c
index f667b65c12..4cd48ed63b 100644
--- a/source4/auth/kerberos/kerberos_verify.c
+++ b/source4/auth/kerberos/kerberos_verify.c
@@ -372,7 +372,7 @@ static krb5_error_code ads_secrets_verify_ticket(TALLOC_CTX *mem_ctx,
} else {
host_princ_s = talloc_asprintf(mem_ctx, "%s$", lp_netbios_name());
- host_princ_s = talloc_strlower(mem_ctx, host_princ_s);
+ host_princ_s = strlower_talloc(mem_ctx, host_princ_s);
if (!host_princ_s) {
ret = ENOMEM;
} else {