CVS update: samba/source/lib

Jeremy Allison jra at samba.org
Wed Oct 3 07:58:10 EST 2001


Date:	Tue Oct  2 14:58:08 2001
Author:	jra

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

Modified Files:
	util.c 
Log Message:
Fixed up the change password bug when not using PAM.
The problem is we were trying to use mask_match as a generic
wildcard matcher for UNIX strings (like the password prompts).
We can't do that - we need a unix_wild_match (re-added into lib/util.c)
as the ms_fnmatch semantics for empty strings are completely wrong.
This caused partial reads to be accepted as correct passwd change
responses when they were not....
Also added paranioa test to stop passwd change being done as root
with no %u in the passwd program string.
Jeremy.


Revisions:
util.c		1.320 => 1.321
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c?r1=1.320&r2=1.321




More information about the samba-cvs mailing list