CVS update: samba/source/lib

Jeremy Allison jra at samba.org
Wed Oct 3 07:57:08 EST 2001


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

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

Modified Files:
      Tag: SAMBA_2_2
	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.287.4.26 => 1.287.4.27
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c?r1=1.287.4.26&r2=1.287.4.27




More information about the samba-cvs mailing list