CVS update: samba/source/include

abartlet at samba.org abartlet at samba.org
Sat Sep 7 15:41:23 EST 2002


Date:	Sat Sep  7 05:41:23 2002
Author:	abartlet

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv695/include

Modified Files:
	includes.h smb.h 
Log Message:
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 at 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


Revisions:
includes.h		1.277 => 1.278
	http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h?r1=1.277&r2=1.278
smb.h		1.449 => 1.450
	http://www.samba.org/cgi-bin/cvsweb/samba/source/include/smb.h?r1=1.449&r2=1.450



More information about the samba-cvs mailing list