[SCM] Samba Shared Repository - branch v3-6-test updated
Karolin Seeger
kseeger at samba.org
Wed Mar 6 02:17:58 MST 2013
The branch, v3-6-test has been updated
via 9d4d9b9 Fix bug #9637 - Renaming directories as guest user in security share mode doesn't work.
from eb657c3 winbind: Don't leak centry memory. Reviewed-by: Alexander Bokovoy <ab at samba.org>
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit 9d4d9b99740f3500e682a4067a1b5e566845ea27
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 5 16:23:06 2013 -0800
Fix bug #9637 - Renaming directories as guest user in security share mode doesn't work.
Ensure guest is treated consistently when creating a auth_serversupplied_info struct.
Signed-off-by: Jeremy Allison <jra at samba.org>
-----------------------------------------------------------------------
Summary of changes:
source3/auth/auth_util.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 47a8a09..0e1f437 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -925,7 +925,11 @@ NTSTATUS make_serverinfo_from_username(TALLOC_CTX *mem_ctx,
result->nss_token = true;
result->guest = is_guest;
- status = create_local_token(result);
+ if (is_guest) {
+ status = make_server_info_guest(mem_ctx, &result);
+ } else {
+ status = create_local_token(result);
+ }
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(result);
--
Samba Shared Repository
More information about the samba-cvs
mailing list