Moved code that changes the pw_passwd entry (i.e shadow password and
authorTim Potter <tpot@samba.org>
Sun, 13 Jun 1999 04:14:24 +0000 (04:14 +0000)
committerTim Potter <tpot@samba.org>
Sun, 13 Jun 1999 04:14:24 +0000 (04:14 +0000)
commit36d7cb4ccc42268e8e6a7b783c945d1853624958
treec88a5771d7d903fca6dee44422122298b9adaff3
parentafe5be3cf62b90100861e2433ea885f5d6f8708c
Moved code that changes the pw_passwd entry (i.e shadow password and
weird unixware stuff) into _Get_Pwnam() to fix a memory allocation bug.

Note that the Get_Pwnam() function now returns a const struct passwd *
as a hint to other developers not to change entries in the struct
passwd.
12 files changed:
source/auth/pass_check.c
source/lib/domain_namemap.c
source/lib/username.c
source/lib/util.c
source/passdb/pass_check.c
source/passdb/smbpasschange.c
source/smbd/chgpasswd.c
source/smbd/password.c
source/smbd/reply.c
source/smbd/service.c
source/smbd/uid.c
source/web/cgi.c