summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
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
commit29758ea1c4e1b9b57d27765d539306058299fcd1 (patch)
treecdfb65b45ac8c437bd0d2920d23c80898a792a72 /source/nsswitch
parent216125fe132fa6b886b99139e38988725beb88f0 (diff)
downloadsamba-29758ea1c4e1b9b57d27765d539306058299fcd1.tar.gz
samba-29758ea1c4e1b9b57d27765d539306058299fcd1.tar.xz
samba-29758ea1c4e1b9b57d27765d539306058299fcd1.zip
r15984: Correctly handle the case when there is no configuration file for
pam_winbind. Guenther
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/pam_winbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c
index 43ac83a99a8..8110a02a685 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/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;
}