Make getpwnam_alloc() static to lib/username.c, and ensure all username lookups go
commite1cfca1e2e0f005ac9d73c6b0eb64bc99413aec6
authorJeremy Allison <jra@samba.org>
Wed, 20 Oct 2010 15:16:23 +0000 (20 08:16 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 20 Oct 2010 16:02:12 +0000 (20 16:02 +0000)
tree63aa4baa9b9260e466558bbde9a59c6c82c8c939
parentab01d6139fc7b2c4b651a0959a5816352d6bb49b
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.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104
17 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
source3/wscript_build