summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-16 21:36:19 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-16 21:36:19 +0000
commit97f0c9d55014db221fdceaaf07318ae9df9688a1 (patch)
tree2ca251ea3bc04395ecfd92a68440256ca2f04869 /source3/smbd/reply.c
parent3637ad5f2b0e5716aceaada0eed47f926c95520f (diff)
downloadsamba-97f0c9d55014db221fdceaaf07318ae9df9688a1.tar.gz
samba-97f0c9d55014db221fdceaaf07318ae9df9688a1.tar.bz2
samba-97f0c9d55014db221fdceaaf07318ae9df9688a1.zip
made pass_check_smb() available for dce/rpc use.
(This used to be commit 95e8a910c5d9ba0ef57669fb1256eaa932e0bb09)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 7cbd0520d9..5afc4593e6 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -651,12 +651,12 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
128 length unicode */
if(smb_ntpasslen)
{
- if(!password_ok(user,smb_ntpasswd,smb_ntpasslen,NULL))
+ if(!password_ok(user, smb_ntpasswd,smb_ntpasslen,NULL))
DEBUG(0,("NT Password did not match ! Defaulting to Lanman\n"));
else
valid_nt_password = True;
}
- if (!valid_nt_password && !password_ok(user,smb_apasswd,smb_apasslen,NULL))
+ if (!valid_nt_password && !password_ok(user, smb_apasswd,smb_apasslen,NULL))
{
if (lp_security() >= SEC_USER) {
#if (GUEST_SESSSETUP == 0)