diff options
author | Jeremy Allison <jra@samba.org> | 2006-09-05 21:11:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:43:29 -0500 |
commit | 8f50142e4d725c81d9ab8984ece342b6759eb475 (patch) | |
tree | 5d77b94a57033c3d56b8ef4df9f11222d38c5207 | |
parent | 458a3ff20c72d8634ee8f8af4bf1d6daabb7c788 (diff) | |
download | samba-8f50142e4d725c81d9ab8984ece342b6759eb475.tar.gz samba-8f50142e4d725c81d9ab8984ece342b6759eb475.tar.bz2 samba-8f50142e4d725c81d9ab8984ece342b6759eb475.zip |
r18107: Only do a SAF realm store if the logon was krb5.
Jeremy.
(This used to be commit 131682461c87973ac9ce0e2d097ad4d7b7afb23c)
-rw-r--r-- | source3/nsswitch/winbindd_cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index efee477c0d..85b1d5d6cd 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -363,7 +363,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, /* cache the server name for later connections */ saf_store( domain->name, (*cli)->desthost ); - if (domain->alt_name) { + if (domain->alt_name && (*cli)->use_kerberos) { saf_store( domain->alt_name, (*cli)->desthost ); } |