summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-14 18:50:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:28 -0500
commita8dd32649bfccb6af3757a04f14b1ee22a663051 (patch)
tree340331eacdfda44d9ca34c27496bdf8e53d94d73 /source3/nsswitch
parente6676a9a6928deb03c2a43a66c1245dd05d03e71 (diff)
downloadsamba-a8dd32649bfccb6af3757a04f14b1ee22a663051.tar.gz
samba-a8dd32649bfccb6af3757a04f14b1ee22a663051.tar.bz2
samba-a8dd32649bfccb6af3757a04f14b1ee22a663051.zip
r14392: Use KRB5_TGS_NAME.
Guenther (This used to be commit 4cfd737cc1d8840888f80e360119eeb627acb381)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c
index becfc37c44..3e30d70522 100644
--- a/source3/nsswitch/winbindd_pam.c
+++ b/source3/nsswitch/winbindd_pam.c
@@ -466,7 +466,7 @@ static NTSTATUS winbindd_raw_kerberos_login(struct winbindd_domain *domain,
return NT_STATUS_NO_MEMORY;
}
- service = talloc_asprintf(state->mem_ctx, "krbtgt/%s@%s", realm, realm);
+ service = talloc_asprintf(state->mem_ctx, "%s/%s@%s", KRB5_TGS_NAME, realm, realm);
if (service == NULL) {
return NT_STATUS_NO_MEMORY;
}