diff options
author | Günther Deschner <gd@samba.org> | 2006-05-31 15:41:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:16 -0500 |
commit | 9f8adde941eca298b225ebf6637ae66437a69b9f (patch) | |
tree | c2bc9b345f0f75d5373fbf4adf2b2bfe65a7482b /source3/nsswitch | |
parent | bb09655e84693ab8c366cef273c20aabef3a8f3e (diff) | |
download | samba-9f8adde941eca298b225ebf6637ae66437a69b9f.tar.gz samba-9f8adde941eca298b225ebf6637ae66437a69b9f.tar.bz2 samba-9f8adde941eca298b225ebf6637ae66437a69b9f.zip |
r15983: Honour the krb5 principal name change (of the new ads join code) in the
kerberized winbind pam_auth.
Guenther
(This used to be commit 216125fe132fa6b886b99139e38988725beb88f0)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index adc1dc97c6..3ae7692c12 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -512,7 +512,7 @@ static NTSTATUS winbindd_raw_kerberos_login(struct winbindd_domain *domain, } strlower_m(client_princ); - local_service = talloc_asprintf(state->mem_ctx, "HOST/%s@%s", client_princ, lp_realm()); + local_service = talloc_asprintf(state->mem_ctx, "%s$@%s", client_princ, lp_realm()); if (local_service == NULL) { DEBUG(0,("winbindd_raw_kerberos_login: out of memory\n")); result = NT_STATUS_NO_MEMORY; |