CVS update: samba/source/lib

abartlet at samba.org abartlet at samba.org
Fri Jan 18 13:37:55 EST 2002


Date:	Thu Jan 17 18:37:55 2002
Author:	abartlet

Update of /data/cvs/samba/source/lib
In directory va:/tmp/cvs-serv17530/source/lib

Modified Files:
	username.c 
Log Message:
This is the 'winbind default domain' patch from Alexander Bokovoy 
<a.bokovoy at sam-solutions.net>.

The idea is the domain\username is rather harsh for unix systems - people don't
expect to have to FTP, SSH and (in particular) e-mail with a username like
that.  

This 'corrects' that - but is not without its own problems.

As you can see from the changes to files like username.c and wb_client.c (smbd's
winbind client code) a lot of assumptions are made in a lot of places about
lp_winbind_seperator determining a users's status as a domain or local user.

The main change I will shortly be making is to investigate and kill off
winbind_initgroups() - as far as I know it was a workaround for an old bug in
winbind itself (and a bug in RH 5.2) and should no longer be relevent.

I am also going to move to using the 'winbind uid' and 'winbind gid' paramaters
to determine a user/groups's 'local' status, rather than the presence of the
seperator.

As such, this functionality is recommended for servers providing unix services,
but is currently less than optimal for windows clients.

(TODO: remove all references to lp_winbind_seperator() and
lp_winbind_use_default_domain() from smbd)

Andrew Bartlett


Revisions:
username.c		1.59 => 1.60
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/username.c?r1=1.59&r2=1.60




More information about the samba-cvs mailing list