diff options
-rw-r--r-- | source4/auth/kerberos/srv_keytab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/srv_keytab.c b/source4/auth/kerberos/srv_keytab.c index d81e27de3a1..3baba1427e8 100644 --- a/source4/auth/kerberos/srv_keytab.c +++ b/source4/auth/kerberos/srv_keytab.c @@ -143,7 +143,7 @@ static krb5_error_code salt_principal(TALLOC_CTX *parent_ctx, return ENOMEM; } - machine_username = talloc_strdup(tmp_ctx, samAccountName); + machine_username = strlower_talloc(tmp_ctx, samAccountName); if (!machine_username) { *error_string = "Cannot duplicate samAccountName"; talloc_free(tmp_ctx); |