summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-15 12:55:59 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-15 12:55:59 +0000
commit7892c494e7321c64b20bf7e1d794a6b6508fe84a (patch)
treeabde252c0198e7fd43f6da119230208263f82c1c /source3/smbd/password.c
parentcde3f0fae15c977b8af28e3e2b327f4576c14e69 (diff)
downloadsamba-7892c494e7321c64b20bf7e1d794a6b6508fe84a.tar.gz
samba-7892c494e7321c64b20bf7e1d794a6b6508fe84a.tar.bz2
samba-7892c494e7321c64b20bf7e1d794a6b6508fe84a.zip
Kill off the //server/share%user hack in share level security.
This should help make much of this code simpiler. Andrew Bartlett (This used to be commit fb0c3629c360fd0c57129500474960e6da6f9ef0)
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 8e85ef3389..13a54cb704 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -470,14 +470,6 @@ BOOL authorise_login(int snum,char *user,char *password, int pwlen,
*/
if (!(GUEST_ONLY(snum) && GUEST_OK(snum))) {
- /* check the given username and password */
- if (!ok && (*user) && user_ok(user,snum)) {
- ok = password_ok(user,password, pwlen);
- if (ok)
- DEBUG(3,("authorise_login: ACCEPTED: given username (%s) password ok\n",
- user ));
- }
-
/* check for a previously registered guest username */
if (!ok && (vuser != 0) && vuser->guest) {
if (user_ok(vuser->user.unix_name,snum) &&