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)
commit731c7f2ecfe17651506ba05b88358360e4654a37
tree57213f534b2bf1c8f53994a14884abbebfefde47
parenteaa085e8a7106d595235b36d1592ca38b47ba53f
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.
(This used to be commit 36d7cb4ccc42268e8e6a7b783c945d1853624958)
12 files changed:
source3/auth/pass_check.c
source3/lib/domain_namemap.c
source3/lib/username.c
source3/lib/util.c
source3/passdb/pass_check.c
source3/passdb/smbpasschange.c
source3/smbd/chgpasswd.c
source3/smbd/password.c
source3/smbd/reply.c
source3/smbd/service.c
source3/smbd/uid.c
source3/web/cgi.c