The Samba-Bugzilla – Attachment 7471 Details for
Bug 8882
Broken processing of %U with vfs_full_audit when force user is set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.5.x.
look (text/plain), 704 bytes, created by
Jeremy Allison
on 2012-04-21 00:28:46 UTC
(
hide
)
Description:
Patch for 3.5.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-04-21 00:28:46 UTC
Size:
704 bytes
patch
obsolete
>diff --git a/source3/smbd/service.c b/source3/smbd/service.c >index bc2cdaf..2de9384 100644 >--- a/source3/smbd/service.c >+++ b/source3/smbd/service.c >@@ -746,6 +746,14 @@ connection_struct *make_connection_snum(struct smbd_server_connection *sconn, > return NULL; > } > >+ /* We don't want to replace the original sanitized_username >+ as it is the original user given in the connect attempt. >+ This is used in '%U' substitutions. */ >+ TALLOC_FREE(forced_serverinfo->sanitized_username); >+ forced_serverinfo->sanitized_username = >+ talloc_move(forced_serverinfo, >+ &conn->server_info->sanitized_username); >+ > TALLOC_FREE(conn->server_info); > conn->server_info = forced_serverinfo; >
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 8882
:
7471
|
7476
|
7477