svn commit: samba r15984 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

gd at samba.org gd at samba.org
Wed May 31 15:45:25 GMT 2006


Author: gd
Date: 2006-05-31 15:45:19 +0000 (Wed, 31 May 2006)
New Revision: 15984

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

Log:
Correctly handle the case when there is no configuration file for
pam_winbind.

Guenther

Modified:
   branches/SAMBA_3_0/source/nsswitch/pam_winbind.c
   trunk/source/nsswitch/pam_winbind.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/pam_winbind.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/pam_winbind.c	2006-05-31 15:41:54 UTC (rev 15983)
+++ branches/SAMBA_3_0/source/nsswitch/pam_winbind.c	2006-05-31 15:45:19 UTC (rev 15984)
@@ -48,7 +48,7 @@
 	int ctrl = 0;
 	const char *config_file = NULL;
 
-	if (d == NULL || *d == NULL) {
+	if (d == NULL) {
 		goto config_from_pam;
 	}
 

Modified: trunk/source/nsswitch/pam_winbind.c
===================================================================
--- trunk/source/nsswitch/pam_winbind.c	2006-05-31 15:41:54 UTC (rev 15983)
+++ trunk/source/nsswitch/pam_winbind.c	2006-05-31 15:45:19 UTC (rev 15984)
@@ -48,7 +48,7 @@
 	int ctrl = 0;
 	const char *config_file = NULL;
 
-	if (d == NULL || *d == NULL) {
+	if (d == NULL) {
 		goto config_from_pam;
 	}
 



More information about the samba-cvs mailing list