diff options
author | Jeremy Allison <jra@samba.org> | 2010-02-11 10:19:33 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-02-11 10:19:33 -0800 |
commit | cd18695fc2e4d09ab75e9eab2f0c43dcc15adf0b (patch) | |
tree | 6137b5e04c3cab1280cac3ce77fc6ebab9a2490f /examples/autofs/auto.smb | |
parent | 14c4c2c735d6b263d167bf5255fcf60de2c91110 (diff) | |
download | samba-cd18695fc2e4d09ab75e9eab2f0c43dcc15adf0b.tar.gz samba-cd18695fc2e4d09ab75e9eab2f0c43dcc15adf0b.tar.bz2 samba-cd18695fc2e4d09ab75e9eab2f0c43dcc15adf0b.zip |
Suplementary patch for bug #7104 - "wide links" and "unix extensions" are incompatible.
Bug reported by Ralf Zimmermann <r.zimmermann@siegnetz.de>. Reproduced by jra.
If the target directory of a share doesn't exist, but is designed to
be created by a "root preexec" script call, then the widelinks check
is done too early - thus preventing the user from connecting to the
share.
Fix is to re-arrange the order of checks in make_connection_snum()
to always do the following order of operations:
(1). Turn off wide links if unix extensions = yes.
(2). Call any root preexec scripts.
(3). Canonicalize the share path to remove any symlinks (ie. end
up with the realpath in the connection_struct).
Jeremy.
Diffstat (limited to 'examples/autofs/auto.smb')
0 files changed, 0 insertions, 0 deletions