From a6f5c7998006ef485ef50166a4c5bf478ae63dd5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 31 May 2006 15:45:19 +0000 Subject: r15984: Correctly handle the case when there is no configuration file for pam_winbind. Guenther (This used to be commit 29758ea1c4e1b9b57d27765d539306058299fcd1) --- source3/nsswitch/pam_winbind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/pam_winbind.c') diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index 43ac83a99a..8110a02a68 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -48,7 +48,7 @@ static int _pam_parse(int argc, const char **argv, dictionary **d) int ctrl = 0; const char *config_file = NULL; - if (d == NULL || *d == NULL) { + if (d == NULL) { goto config_from_pam; } -- cgit