[SCM] Samba Shared Repository - branch v3-2-stable updated - release-3-2-0pre2-136-g9d35cdd

Karolin Seeger kseeger at samba.org
Tue Mar 25 07:26:42 GMT 2008


The branch, v3-2-stable has been updated
       via  9d35cdd75eab7b96749a78ab4953b09daeb2302d (commit)
      from  cf49486080f45d9ad63572b5f9cbb87c5e0dc35d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-stable


- Log -----------------------------------------------------------------
commit 9d35cdd75eab7b96749a78ab4953b09daeb2302d
Author: Michael Adam <obnox at samba.org>
Date:   Thu Mar 20 16:50:52 2008 +0100

    smbd: fix session setup with security = share.
    
    Broken by pstring removal in 9ed12bfc48fe7f9b1863a9dd88e881974083053c.
    Jeremy, please check.
    
    Thanks to Yannick Bergeron <yaberger at ca.ibm.com> for noting this.
    
    Michael
    (cherry picked from commit 008c4bdbe5de064b4469fc1f7c7173290f35b3ef)

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/sesssetup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index 9baa029..dbb2923 100644
--- a/source/smbd/sesssetup.c
+++ b/source/smbd/sesssetup.c
@@ -1531,7 +1531,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;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list