First check if the user is in the passdb, then check Get_Pwnam().
authorAndrew Bartlett <abartlet@samba.org>
Sat, 22 Feb 2003 11:34:04 +0000 (11:34 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 22 Feb 2003 11:34:04 +0000 (11:34 +0000)
commit61e3e2695860c58f9b0e8d1856972318666682c8
tree3f3e4f145def8f17c2bcf7d9b1f1fcc77c236da0
parentb362cc241b829f585a96b5d285ed12db50b21e2e
First check if the user is in the passdb, then check Get_Pwnam().

We check passdb becouse the user might have things like a logon script set,
but we have to check the passdb becouse the user might not be in smbpasswd at
all.

This is in preperation for the removal of unixsam as an assuption.

Andrew Bartlett
source/auth/auth_rhosts.c
source/auth/auth_util.c