diff options
author | Jeremy Allison <jra@samba.org> | 2001-10-02 21:58:09 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-10-02 21:58:09 +0000 |
commit | 9333bbeb7627c8b21a3eaeae1683c34e17d14bf0 (patch) | |
tree | d5181d7303f303b20de3db78bb4c1f58603e1bf9 /source/rpcclient | |
parent | b97fbfcd7cfbafc40b4be558fb8d6e86ad656cb0 (diff) | |
download | samba-9333bbeb7627c8b21a3eaeae1683c34e17d14bf0.tar.gz samba-9333bbeb7627c8b21a3eaeae1683c34e17d14bf0.tar.xz samba-9333bbeb7627c8b21a3eaeae1683c34e17d14bf0.zip |
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.
Diffstat (limited to 'source/rpcclient')
0 files changed, 0 insertions, 0 deletions