fix connecting to (samba) server when share-level security is in effect

(do not send second password at all)

Approved by:	bp, re
MFC after:	1 week
This commit is contained in:
Max Khon 2002-12-07 08:28:56 +00:00
parent 3054f218eb
commit cf37bfb0ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107666

View File

@ -339,7 +339,7 @@ smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred)
pp = "";
plen = 1;
unipp = &smb_unieol;
uniplen = sizeof(smb_unieol);
uniplen = 0 /* sizeof(smb_unieol) */;
}
smb_rq_wstart(rqp);
mbp = &rqp->sr_rq;