CVS update: samba/source/nsswitch

tridge at samba.org tridge at samba.org
Wed Nov 19 19:11:14 EST 2003


Date:	Wed Nov 19 08:11:14 2003
Author:	tridge

Update of /home/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv30541

Modified Files:
      Tag: SAMBA_3_0
	wbinfo.c winbind_nss_linux.c winbindd.c winbindd_group.c 
	winbindd_nss.h winbindd_sid.c 
Log Message:
as discussed on irc, this is a small patch that allows a few more
winbind functions to be accessed via NSS. This provides a much cleaner
way for applications that need (for example) to provide name->sid
mappings to do this via NSS rather than having to know the winbindd
pipe protocol (as this might change).

This patch also adds a varient of the winbindd_getgroups() call called
winbindd_getusersids() that provides direct SID->SIDs listing of a
users supplementary groups. This is enough to allow non-Samba
applications to do ACL checking.

A test program for the new functionality will be committed shortly.

I also added the 'wbinfo --user-sids' option to expose the new
function in wbinfo.


Revisions:
wbinfo.c		1.38.2.24 => 1.38.2.25
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/wbinfo.c.diff?r1=1.38.2.24&r2=1.38.2.25
winbind_nss_linux.c		1.1.2.1 => 1.1.2.2
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbind_nss_linux.c.diff?r1=1.1.2.1&r2=1.1.2.2
winbindd.c		1.55.2.45 => 1.55.2.46
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c.diff?r1=1.55.2.45&r2=1.55.2.46
winbindd_group.c		1.51.2.26 => 1.51.2.27
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_group.c.diff?r1=1.51.2.26&r2=1.51.2.27
winbindd_nss.h		1.21.2.13 => 1.21.2.14
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_nss.h.diff?r1=1.21.2.13&r2=1.21.2.14
winbindd_sid.c		1.12.2.12 => 1.12.2.13
	http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_sid.c.diff?r1=1.12.2.12&r2=1.12.2.13



More information about the samba-cvs mailing list