diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-09-25 09:55:41 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-09-25 09:55:41 +0000 |
commit | 8a3bb8b36bf1bedabb6dfa931ec9a1d579f80500 (patch) | |
tree | d47c0ff47efee14b3711d24cc54075dcbb78326f /source3/smbd | |
parent | b06d2abe746fb7873846e9f14bb8d3895c4290ed (diff) | |
download | samba-8a3bb8b36bf1bedabb6dfa931ec9a1d579f80500.tar.gz samba-8a3bb8b36bf1bedabb6dfa931ec9a1d579f80500.tar.bz2 samba-8a3bb8b36bf1bedabb6dfa931ec9a1d579f80500.zip |
Kill of Get_Pwnam_Modify and smb_getpwnam(). The latter assumes some things
that just don't apply any more - now that we always keep username and domain
seperate. Also, the policy it was trying to permit is now implemented by the
auth code.
Andrew Bartlett
(This used to be commit 760c0740cad948665db4a1d462fbbd99332713ef)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 09288ad44d..785f8d6821 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -160,12 +160,12 @@ static int reply_spnego_kerberos(connection_struct *conn, ads_destroy(&ads); /* the password is good - let them in */ - pw = smb_getpwnam(user,False); + pw = Get_Pwnam(user); if (!pw && !strstr(user, lp_winbind_separator())) { char *user2; /* try it with a winbind domain prefix */ asprintf(&user2, "%s%s%s", lp_workgroup(), lp_winbind_separator(), user); - pw = smb_getpwnam(user2,False); + pw = Get_Pwnam(user2); if (pw) { free(user); user = user2; |