summaryrefslogtreecommitdiffstats
path: root/sys/netsmb
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2002-12-07 08:28:56 +0000
committerfjoe <fjoe@FreeBSD.org>2002-12-07 08:28:56 +0000
commitc3e4656828688a0c1bef0f404679c9ba84c83cd0 (patch)
tree85954a83620252bba387f5f08f292e3b34ab9815 /sys/netsmb
parenta536ab821b9ea241e31d101e54da3e7d33e9211b (diff)
downloadFreeBSD-src-c3e4656828688a0c1bef0f404679c9ba84c83cd0.zip
FreeBSD-src-c3e4656828688a0c1bef0f404679c9ba84c83cd0.tar.gz
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
Diffstat (limited to 'sys/netsmb')
-rw-r--r--sys/netsmb/smb_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_smb.c b/sys/netsmb/smb_smb.c
index 2730149..b5e7c22 100644
--- a/sys/netsmb/smb_smb.c
+++ b/sys/netsmb/smb_smb.c
@@ -339,7 +339,7 @@ again:
pp = "";
plen = 1;
unipp = &smb_unieol;
- uniplen = sizeof(smb_unieol);
+ uniplen = 0 /* sizeof(smb_unieol) */;
}
smb_rq_wstart(rqp);
mbp = &rqp->sr_rq;
OpenPOWER on IntegriCloud