Author: gd Date: 2006-03-14 18:50:55 +0000 (Tue, 14 Mar 2006) New Revision: 14392
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14392 Log: Use KRB5_TGS_NAME. Guenther Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c trunk/source/nsswitch/winbindd_pam.c Changeset: Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c =================================================================== --- branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c 2006-03-14 17:39:58 UTC (rev 14391) +++ branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c 2006-03-14 18:50:55 UTC (rev 14392) @@ -466,7 +466,7 @@ return NT_STATUS_NO_MEMORY; } - service = talloc_asprintf(state->mem_ctx, "krbtgt/[EMAIL PROTECTED]", realm, realm); + service = talloc_asprintf(state->mem_ctx, "%s/[EMAIL PROTECTED]", KRB5_TGS_NAME, realm, realm); if (service == NULL) { return NT_STATUS_NO_MEMORY; } Modified: trunk/source/nsswitch/winbindd_pam.c =================================================================== --- trunk/source/nsswitch/winbindd_pam.c 2006-03-14 17:39:58 UTC (rev 14391) +++ trunk/source/nsswitch/winbindd_pam.c 2006-03-14 18:50:55 UTC (rev 14392) @@ -466,7 +466,7 @@ return NT_STATUS_NO_MEMORY; } - service = talloc_asprintf(state->mem_ctx, "krbtgt/[EMAIL PROTECTED]", realm, realm); + service = talloc_asprintf(state->mem_ctx, "%s/[EMAIL PROTECTED]", KRB5_TGS_NAME, realm, realm); if (service == NULL) { return NT_STATUS_NO_MEMORY; }