diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-09-07 05:41:23 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-09-07 05:41:23 +0000 |
commit | 442eb39657b98f67cd229ed3110b63aae8bf4e3c (patch) | |
tree | d03dc2505ce1c626694e003684a30293ad1cad1a /source/python/py_ntsec.c | |
parent | 29b4b9a2b5a0347d227b1a30e3f34bf40afa6de4 (diff) | |
download | samba-442eb39657b98f67cd229ed3110b63aae8bf4e3c.tar.gz samba-442eb39657b98f67cd229ed3110b63aae8bf4e3c.tar.xz samba-442eb39657b98f67cd229ed3110b63aae8bf4e3c.zip |
Winbind client-side cleanups.
The global winbind file descriptor can cause havoc in some situations -
particulary when it becomes 0, 1 or 2. This patch (based on some very nice
work by Hannes Schmidt <mail@schmidt-net.via.t-online.de>) starts to recitfy
the problem by ensuring that the close-on-exec flag is set, and that we move
above 3 in the file descriptor table.
I've also decided that the PAM module can close it's pipe handle on every
request - this isn't performance-critical code.
The next step is to do the same for nss_winbind. (But things like getent()
might get in our way there).
This also cleans up some function prototypes, puts them in just one place.
Andrew Bartlett
Diffstat (limited to 'source/python/py_ntsec.c')
0 files changed, 0 insertions, 0 deletions