Make getpwnam_alloc() static to lib/username.c, and ensure all username lookups go
commitdde9059287f24e920d5100933dbff1f03c09f326
authorJeremy Allison <jra@samba.org>
Wed, 20 Oct 2010 18:06:06 +0000 (20 11:06 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 20 Oct 2010 18:06:06 +0000 (20 11:06 -0700)
treefc3078db0f9c9c1e8dfa45697ee620f0c2844685
parentf74e6964db8748015ec1084441e66fc688e11c0b
Make getpwnam_alloc() static to lib/username.c, and ensure all username lookups go
through Get_Pwnam_alloc(), which is the correct wrapper function. We were using
it *some* of the time anyway, so this just makes us properly consistent.

Jeremy.
16 files changed:
source3/Makefile.in
source3/auth/auth_util.c
source3/auth/server_info_sam.c
source3/auth/token_util.c
source3/include/proto.h
source3/lib/username.c
source3/lib/util.c
source3/lib/util_pw.c [deleted file]
source3/passdb/pdb_interface.c
source3/passdb/pdb_smbpasswd.c
source3/passdb/util_unixsids.c
source3/smbd/password.c
source3/smbd/uid.c
source3/torture/pdbtest.c
source3/utils/net_sam.c
source3/web/cgi.c