summaryrefslogtreecommitdiffstats
path: root/docs-xml/manpages
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2013-12-19 09:55:44 +1300
committerJeremy Allison <jra@samba.org>2014-01-10 20:11:03 +0100
commit24a687642de21ce872d25f16b3525003844d05f9 (patch)
treed4ddc00c7a70409ef3f2f2786536b12d04dcf7b9 /docs-xml/manpages
parent0045f3b0a3d232103a059f9cec3743486f402452 (diff)
downloadsamba-24a687642de21ce872d25f16b3525003844d05f9.tar.gz
samba-24a687642de21ce872d25f16b3525003844d05f9.tar.xz
samba-24a687642de21ce872d25f16b3525003844d05f9.zip
dfs: always call create_conn_struct with root privileges
This fixes a bug in dfs_samba4 identified by Daniel Müller. create_conn_struct calls SMB_VFS_CONNECT which requires root privileges. SMB_VFS_CONNECT in turn calls dfs_samba4_connect which connects to samdb. Calls were made to this function without ever becoming root (notably via setup_dfs_referral) which resulted in an error and the VFS connect failing. This happens when you have an active directory domain controller with host msdfs = yes in smb.conf and dfs links in place. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Bjoern Baumbach <bb@sernet.de> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jan 10 20:11:03 CET 2014 on sn-devel-104
Diffstat (limited to 'docs-xml/manpages')
0 files changed, 0 insertions, 0 deletions