git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cc09ec
)
smbd: fix session setup with security = share.
author
Michael Adam
<obnox@samba.org>
Thu, 20 Mar 2008 15:50:52 +0000
(16:50 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 20 Mar 2008 16:00:36 +0000
(17:00 +0100)
Broken by pstring removal in
9ed12bfc48fe7f9b1863a9dd88e881974083053c
.
Jeremy, please check.
Thanks to Yannick Bergeron <yaberger@ca.ibm.com> for noting this.
Michael
source/smbd/sesssetup.c
patch
|
blob
|
history
diff --git
a/source/smbd/sesssetup.c
b/source/smbd/sesssetup.c
index 5578dafd851513d6e30c15798c617506d394706f..cf90c7183a2f740b105f6f30b12563f7f4a03033 100644
(file)
--- a/
source/smbd/sesssetup.c
+++ b/
source/smbd/sesssetup.c
@@
-1533,7
+1533,7
@@
void reply_sesssetup_and_X(struct smb_request *req)
if (doencrypt) {
lm_resp = data_blob(p, passlen1);
nt_resp = data_blob(p+passlen1, passlen2);
- } else {
+ } else
if (lp_security() != SEC_SHARE)
{
char *pass = NULL;
bool unic= smb_flag2 & FLAGS2_UNICODE_STRINGS;