[Samba] Cannot access share when symlinks and widelinks disabled
Mark Proehl
m.proehl at science-computing.de
Mon Aug 9 16:03:42 GMT 2004
Hi,
I did some testing with 3.0.6rc2. My smb.conf looks like this:
[global]
log level = 3
wide links = No
follow symlinks = No
[test]
path = /tmp
When connecting \\myserver\test from XP-Box I get "access denied"
Accesing the share with smbclient works, but I can't list any files:
root # smbclient '\\localhost\test'
Password:
Domain=[TEST] OS=[Unix] Server=[Samba 3.0.6rc2]
smb: \> dir
NT_STATUS_ACCESS_DENIED listing *
36990 blocks of size 524288. 8924 blocks available
After setting follow symlinks = yes, it works
Mark
PS: some lines from log.smbd:
[2004/08/09 17:57:33, 3] smbd/vfs.c:reduce_name(834)
reduce_name [*] [/tmp]
[2004/08/09 17:57:33, 3] smbd/vfs.c:reduce_name(939)
reduce_name: * reduced to *
[2004/08/09 17:57:33, 3] smbd/vfs.c:reduce_name(834)
reduce_name [./] [/tmp]
[2004/08/09 17:57:33, 3] smbd/vfs.c:reduce_name(932)
reduce_name: denied: file path name ./ is a symlink
[2004/08/09 17:57:33, 3] smbd/error.c:error_packet(105)
error string = Permission denied
[2004/08/09 17:57:33, 3] smbd/error.c:error_packet(129)
error packet at smbd/trans2.c(1427) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED
More information about the samba
mailing list