diff options
author | Gerald Carter <jerry@samba.org> | 2006-04-02 19:45:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:52 -0500 |
commit | e4998337e75c5e9debe914ff4eb2c0b0fa97c156 (patch) | |
tree | 3b1aa826088fae703ed4cf590c8bfbd4a865d492 /source3/nsswitch/winbindd.c | |
parent | 186f442f4cd4a8434c4e2d4e2c0de97b855c5586 (diff) | |
download | samba-e4998337e75c5e9debe914ff4eb2c0b0fa97c156.tar.gz samba-e4998337e75c5e9debe914ff4eb2c0b0fa97c156.tar.bz2 samba-e4998337e75c5e9debe914ff4eb2c0b0fa97c156.zip |
r14868: I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
I will not write code when changing to Daylight Savings Time.
...
Fix my brain dead inverted logic for turning winbindd on and off
when run on a DC or when calling pdb functions from within winbindd.
(This used to be commit 021b3dc2db9fb422ede4657a1f27ef7ef2d22cee)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r-- | source3/nsswitch/winbindd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index 51a7c1f6b0..ad2774eea6 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -945,7 +945,7 @@ int main(int argc, char **argv) /* Set environment variable so we don't recursively call ourselves. This may also be useful interactively. */ - if ( !winbind_putenv("0") ) { + if ( !winbind_off() ) { DEBUG(0,("Failed to disable recusive winbindd calls. Exiting.\n")); exit(1); } |