Fix bug #7743 - Inconsistent use of system name lookup can cause a domain joined...
commit6e9d95f753b2b127268f1eb9a40d601002484bd1
authorJeremy Allison <jra@samba.org>
Wed, 20 Oct 2010 18:22:57 +0000 (20 11:22 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 11 Nov 2010 11:10:56 +0000 (11 12:10 +0100)
treecd97393260d3d599a9af22e39d3d9930446e4d9f
parentf1b04a210074546d4e4347b62b4f7f5b879454d9
Fix bug #7743 - Inconsistent use of system name lookup can cause a domain joined machine to fail to find users.

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.
source3/auth/auth_util.c
source3/lib/util.c
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