Samba 3.0.5pre1 Available for Download

Jeremy Allison jra at
Wed May 26 20:21:56 GMT 2004

On Wed, May 26, 2004 at 11:10:25AM +0200, Mark Proehl wrote:
> 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.
> This second problem is not fixed by the small patch in 1188.

I just checked this. It is fixed with the rewrite to use realpath().

This will work in 3.0.5pre1.



More information about the samba-technical mailing list