summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-31 15:45:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:16 -0500
commita6f5c7998006ef485ef50166a4c5bf478ae63dd5 (patch)
tree4c497e166e7df3b23472997e49844c46352adc17 /source3
parent9f8adde941eca298b225ebf6637ae66437a69b9f (diff)
downloadsamba-a6f5c7998006ef485ef50166a4c5bf478ae63dd5.tar.gz
samba-a6f5c7998006ef485ef50166a4c5bf478ae63dd5.tar.bz2
samba-a6f5c7998006ef485ef50166a4c5bf478ae63dd5.zip
r15984: Correctly handle the case when there is no configuration file for
pam_winbind. Guenther (This used to be commit 29758ea1c4e1b9b57d27765d539306058299fcd1)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/pam_winbind.c2
1 files changed, 1 insertions, 1 deletions
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;
}