The branch, master has been updated via 81464dae smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT. from ef7fb90 CVE-2014-8143:dsdb-samldb: Check for extended access rights before we allow changes to userAccountControl
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 81464daea71e5fa3067ec7d5f5c69c890c0f7949 Author: Ira Cooper <i...@samba.org> Date: Thu Jan 15 11:41:50 2015 -0500 smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT. This sequencing is causing problems for vfs_ceph, and likely other vfs modules. Signed-off-by: Ira Cooper <i...@samba.org> Reviewed-by: Jeremy Allison <j...@samba.org> Autobuild-User(master): Jeremy Allison <j...@samba.org> Autobuild-Date(master): Fri Jan 16 00:13:17 CET 2015 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: source3/smbd/service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 3fd0fc8..ada2d07 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -1133,12 +1133,12 @@ void close_cnum(connection_struct *conn, uint64_t vuid) talloc_tos()), lp_servicename(talloc_tos(), SNUM(conn)))); - /* Call VFS disconnect hook */ - SMB_VFS_DISCONNECT(conn); - /* make sure we leave the directory available for unmount */ vfs_ChDir(conn, "/"); + /* Call VFS disconnect hook */ + SMB_VFS_DISCONNECT(conn); + /* execute any "postexec = " line */ if (*lp_postexec(talloc_tos(), SNUM(conn)) && change_to_user(conn, vuid)) { -- Samba Shared Repository