The Samba-Bugzilla – Attachment 8609 Details for
Bug 9637
Renaming directories as guest user in security share mode doesn't work.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.next.
0001-Fix-bug-9637-Renaming-directories-as-guest-user-in-s.patch (text/plain), 1.14 KB, created by
Jeremy Allison
on 2013-03-06 00:26:42 UTC
(
hide
)
Description:
git-am fix for 3.6.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2013-03-06 00:26:42 UTC
Size:
1.14 KB
patch
obsolete
>From 8cca8079ce79ae331151f26a23af8acb85bbb3ba Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 5 Mar 2013 16:23:06 -0800 >Subject: [PATCH] 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@samba.org> >--- > source3/auth/auth_util.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > >diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c >index 47a8a09..12e48b5 100644 >--- a/source3/auth/auth_util.c >+++ b/source3/auth/auth_util.c >@@ -925,11 +925,15 @@ 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); >- return status; >+ if (!NT_STATUS_IS_OK(status)) { >+ TALLOC_FREE(result); >+ return status; >+ } > } > > *presult = talloc_steal(mem_ctx, result); >-- >1.8.1.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9637
:
8532
|
8540
|
8591
|
8609
|
8610