Samba 3.0.5pre1 Available for Download

Jeremy Allison jra at samba.org
Wed May 26 20:02:48 GMT 2004


On Wed, May 26, 2004 at 11:10:25AM +0200, Mark Proehl wrote:
> 
> We're  using the combination of wide links = no / follow symlinks = yes for a 
> while.
> 
> This is not working correctly, if the symbolic links point to other 
> directories than the current directory (e.g. links created like 
> that: ln -s ../file linktofile).
> 
> Please take a look at bugzilla 1188, there is a small patch to fix this.

This is already fixed due to the rewrite of reduce_name() to use
realpath().

> There is another problem, if the root path of the share (the directory
> specified by the path directive in smb.conf) itself contains symlinks.
> For example: our [homes]-Section looks like this:
> 
>  [homes]
>    path = /home/%S
>    directory mask = 0750
>    readonly = no
> 
> /home/mark is a symbolik link (created by am-utils automounter) 
> to /net/hostname/home/mark. The code in vfs.c does not handle
> this situation: vfs_GetWd returns /net/hostname/home/mark/ 
> which is saved to the Variable realdir. The variable cleanlink contains
> the path to the link, starting with /home/mark and strncmp fails.

Ok, I'll check this. Thanks,

	Jeremy.


More information about the samba-technical mailing list