CVS update: samba/source/include

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/include
In directory va:/tmp/cvs-serv10779/include

Modified Files:
      Tag: SAMBA_2_2
	proto.h 
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:
proto.h		1.900.2.240 => 1.900.2.241
	http://www.samba.org/cgi-bin/cvsweb/samba/source/include/proto.h?r1=1.900.2.240&r2=1.900.2.241




More information about the samba-cvs mailing list