CVS update: samba/source/lib
Tim Potter
tpot at samba.org
Fri Apr 26 17:27:06 EST 2002
Date: Fri Apr 26 00:27:05 2002
Author: tpot
Update of /data/cvs/samba/source/lib
In directory va:/tmp/cvs-serv17174
Modified Files:
Tag: APPLIANCE_HEAD
username.c
Log Message:
More cr593 madness...
Some changes to user_in_unix_group_list():
- since user_in_list() is passed strings in dos codepage for printer admin
access checks, we must convert before doing a getpwnam()
- check local username in preference to winbind user. If we have a local
printer admin with the same username as a domain admin, checking
the winbind name first will give access denied as the domain user with
the same name will probably not have admin access.
Jeremy, if you get a chance could you take a look at these?
Revisions:
username.c 1.31.2.12 => 1.31.2.13
http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/username.c?r1=1.31.2.12&r2=1.31.2.13
More information about the samba-cvs
mailing list