summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 6eaa7b7fbb..f9bcad4154 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -474,7 +474,7 @@ static char *validate_group(char *group, DATA_BLOB password,int snum)
****************************************************************************/
BOOL authorise_login(int snum,char *user, DATA_BLOB password,
- BOOL *guest, BOOL *force)
+ BOOL *guest)
{
BOOL ok = False;
@@ -485,8 +485,6 @@ BOOL authorise_login(int snum,char *user, DATA_BLOB password,
*guest = False;
- if (GUEST_ONLY(snum))
- *force = True;
/* there are several possibilities:
1) login as the given user with given password
2) login as a previously registered username with the given password