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 | 760c0740cad948665db4a1d462fbbd99332713ef (patch) | |
tree | 3d415b554927c9169a2f2dfe6c6877d07429b8f2 /source/smbd | |
parent | 9c62d1312fdf0aa7b1978e8bbb56fc076ba7e9d0 (diff) | |
download | samba-760c0740cad948665db4a1d462fbbd99332713ef.tar.gz samba-760c0740cad948665db4a1d462fbbd99332713ef.tar.xz samba-760c0740cad948665db4a1d462fbbd99332713ef.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
Diffstat (limited to 'source/smbd')
-rw-r--r-- | source/smbd/sesssetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c index 09288ad44dd..785f8d68211 100644 --- a/source/smbd/sesssetup.c +++ b/source/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; |