[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-501-g64d4f29
Jeremy Allison
jra at samba.org
Thu Mar 27 23:49:18 GMT 2008
The branch, v3-2-test has been updated
via 64d4f290cf0aad962a0a3356473632a58e0e34df (commit)
via e7b6ea46532a26611dfd9d9e2727d52ba6a9cf50 (commit)
from 84a079af490cb135dd557091932ea079e1d7ff5b (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 64d4f290cf0aad962a0a3356473632a58e0e34df
Merge: e7b6ea46532a26611dfd9d9e2727d52ba6a9cf50 84a079af490cb135dd557091932ea079e1d7ff5b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 27 16:48:44 2008 -0700
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
commit e7b6ea46532a26611dfd9d9e2727d52ba6a9cf50
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 27 16:08:39 2008 -0700
Fix up the comments on security=share to explain we're
ignoring passwords.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/smbd/sesssetup.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index cf90c71..e0739ef 100644
--- a/source/smbd/sesssetup.c
+++ b/source/smbd/sesssetup.c
@@ -1534,6 +1534,10 @@ void reply_sesssetup_and_X(struct smb_request *req)
lm_resp = data_blob(p, passlen1);
nt_resp = data_blob(p+passlen1, passlen2);
} else if (lp_security() != SEC_SHARE) {
+ /*
+ * In share level we should ignore any passwords, so
+ * only read them if we're not.
+ */
char *pass = NULL;
bool unic= smb_flag2 & FLAGS2_UNICODE_STRINGS;
@@ -1636,7 +1640,7 @@ void reply_sesssetup_and_X(struct smb_request *req)
reload_services(True);
if (lp_security() == SEC_SHARE) {
- /* in share level we should ignore any passwords */
+ /* In share level we should ignore any passwords */
data_blob_free(&lm_resp);
data_blob_free(&nt_resp);
--
Samba Shared Repository
More information about the samba-cvs
mailing list