svn commit: samba r18259 - in branches/SAMBA_3_0/source/nsswitch: .

gd at samba.org gd at samba.org
Fri Sep 8 08:47:07 GMT 2006


Author: gd
Date: 2006-09-08 08:47:07 +0000 (Fri, 08 Sep 2006)
New Revision: 18259

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18259

Log:
Fix the non-krb5 builds.

Guenther

Modified:
   branches/SAMBA_3_0/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-09-08 06:57:01 UTC (rev 18258)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c	2006-09-08 08:47:07 UTC (rev 18259)
@@ -846,6 +846,7 @@
 			return result;
 		}
 
+#ifdef HAVE_KRB5
 		/* FIXME: what else points out that the remote domain is AD ? */
 		if (!strequal(domain->name, domain->alt_name) &&
 		    (state->request.flags & WBFLAG_PAM_KRB5)) {
@@ -907,7 +908,7 @@
 				}
 			}
 		}
-
+#endif /* HAVE_KRB5 */
 		return NT_STATUS_OK;
 
 	}



More information about the samba-cvs mailing list