diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-10-26 02:20:59 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-10-26 02:20:59 +0000 |
commit | 35ac9d287f000c27dc864789b341bebe7acb4c74 (patch) | |
tree | a05b4998fbbe9e0063bd616630458f75a022285e /source3/lib/debug.c | |
parent | 0e7938ab5dc666d83a490210d35fee03f6483e49 (diff) | |
download | samba-35ac9d287f000c27dc864789b341bebe7acb4c74.tar.gz samba-35ac9d287f000c27dc864789b341bebe7acb4c74.tar.xz samba-35ac9d287f000c27dc864789b341bebe7acb4c74.zip |
Try to catch up on the code I've put into HEAD that should be in 3.0:
- vorlan's hosts allow with DNS names patch
- use x_fileno() in debug.c, not the struct directly.
- check for server timeout on password change (was reporting success)
- better error/status loggin in both the pam_winbind client and winbindd_pam
server code.
- (pdb_ldap) don't set the ldap version twice - we do it on every bind anyway.
(This used to be commit 9fa1863d8e7788eda83911ca2610754486b33069)
Diffstat (limited to 'source3/lib/debug.c')
-rw-r--r-- | source3/lib/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index f4f3ee2f9f9..483db71b852 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -603,7 +603,7 @@ BOOL reopen_logs( void ) (void)umask(oldumask); /* Take over stderr to catch ouput into logs */ - if (dbf && sys_dup2(dbf->fd, 2) == -1) { + if (dbf && sys_dup2(x_fileno(dbf), 2) == -1) { close_low_fds(True); /* Close stderr too, if dup2 can't point it at the logfile */ } |