summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-21 23:00:59 +0000
committerJeremy Allison <jra@samba.org>2001-11-21 23:00:59 +0000
commit54c968913d6553c6d834b068234ab176917075eb (patch)
treed7422bbebd42c1415cd6625d53ea783621f16d96 /source/nsswitch/winbindd.c
parentedb556b47446f75dc4987eee15276661eb6cec8d (diff)
downloadsamba-54c968913d6553c6d834b068234ab176917075eb.tar.gz
samba-54c968913d6553c6d834b068234ab176917075eb.tar.xz
samba-54c968913d6553c6d834b068234ab176917075eb.zip
W2K doesn't seem to respond to *#0 names in node status. Ensure name
lookup uses password server parameter when looking for PDCs. Jeremy.
Diffstat (limited to 'source/nsswitch/winbindd.c')
-rw-r--r--source/nsswitch/winbindd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd.c b/source/nsswitch/winbindd.c
index 56ed17464bb..9c8b022f531 100644
--- a/source/nsswitch/winbindd.c
+++ b/source/nsswitch/winbindd.c
@@ -677,11 +677,13 @@ int main(int argc, char **argv)
BOOL interactive = False;
int opt, new_debuglevel = -1;
- /* glibc (?) likes to print "User defined signal 1" and exit if a
- SIGUSR1 is received before a handler is installed */
+ /* glibc (?) likes to print "User defined signal 1" and exit if a
+ SIGUSR1 is received before a handler is installed */
CatchSignal(SIGUSR1, SIG_IGN);
+ snprintf(debugf, sizeof(debugf), "%s/log.winbindd", dyn_LOGFILEBASE);
+
/* Initialise for running in non-root mode */
sec_init();