[Samba] mac os 10.5.5 and symbolic link to www

Mike Gallamore mike at mpi-cbg.de
Wed Oct 29 15:35:51 GMT 2008


Leopard tries to be nice and follow the symlink on the client side.  
The problem we ran into was that the client wasn't mounting the target  
of the symlink, the server was. The unix extensions and follow symlink  
options as below forces the server to do the symlink following not the  
client (which might not have the target mapped). Alternatively, but a  
messy solution, you could map all the target locations of the symlinks  
to the client, in exactly the same path so that the client side can do  
the work, not pretty because it makes the clients dependent on the  
servers layout.
On Oct 29, 2008, at 4:08 PM, Marc Fromm wrote:

>> (unix extensions = no)
> My smb.conf does not contain unix extensions option.
> Is this a setting on the mac that I need to change?
>
>> If you want the server to follow the symlink instead, you have to  
>> turn off unix extension support
> I'm not sure about the above comment. On the server I can follow the  
> symbolic link to the www directory, it only does not work when a Mac  
> makes a samba connection and on the Mac I try to go to the www  
> directory.
>
> -----Original Message-----
> From: James Peach [mailto:jorgar at gmail.com]
> Sent: Tuesday, October 28, 2008 3:40 PM
> To: Marc Fromm
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www
>
> 2008/10/28 Marc Fromm <Marc.Fromm at wwu.edu>:
>> We have a new server running Red Hat 5.2EL.
>> Windows machines can samba to the linux server with no problems,  
>> including symbolic links to the www directory.
>> Our Mac OS 10.5.5 machines have a problem with symbolic links to  
>> the www directory.
>> On the Mac computers, the symbolic links show up as an alias that  
>> cannot be followed.
>> These same MAC computers can samba to the www directory via a  
>> symbolic link on our Fedora Core 5 server.
>
> The Mac is almost certainly using the unix extensions to follow the
> symlink on the client side. If you want the server to follow the
> symlink instead, you have to turn off unix extension support (unix
> extensions = no).
>
>>
>> Since the www symbolic link works on a PC that sambas to the Red  
>> Hat server, is this strictly a problem on the macs or is there a  
>> setting I need to change in a conf file on the Red Hat server,  
>> since the same Macs can use the symbolic link to the www directory  
>> on the Fedora server?
>>
>> Thanks
>>
>> Marc
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>
>
>
>
> --
> James Peach | jorgar at gmail.com
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list