RE: [Samba] mac os 10.5.5 and symbolic link to www
The old server that allows the Mac to use the symbolic link to the /var/www directory does not have the "unix extensions = no" in its smb.conf file, thus I must assume it is using the default "yes" setting as well. Any idea as to how the old server is letting the Mac use the symbolic link, with the "unix extensions = yes" setting? Why do other symbolic links work on the Mac that is connecting to the new server that cannot follow the www symbolic link? -Original Message- From: James Peach [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2008 8:42 AM To: Marc Fromm Cc: samba@lists.samba.org Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www 2008/10/29 Marc Fromm <[EMAIL PROTECTED]>: >>(unix extensions = no) > My smb.conf does not contain unix extensions option. "unix extensions = yes" is the default that will be used if smb.conf does not specify otherwise > Is this a setting on the mac that I need to change? you need to change it on the server >> 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. Because the target of the symlink is a location on the server. When the Mac client tries to resolve the symlink, it will try to access the corresponding location on the client. If you turn the unix extensions support off, then the server will follow the symlink and the Mac will behave just like the Windows clients > > -Original Message- > From: James Peach [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 28, 2008 3:40 PM > To: Marc Fromm > Cc: samba@lists.samba.org > Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www > > 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: >> 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 | [EMAIL PROTECTED] > -- James Peach | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mac os 10.5.5 and symbolic link to www
2008/10/29 Marc Fromm <[EMAIL PROTECTED]>: >>(unix extensions = no) > My smb.conf does not contain unix extensions option. "unix extensions = yes" is the default that will be used if smb.conf does not specify otherwise > Is this a setting on the mac that I need to change? you need to change it on the server >> 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. Because the target of the symlink is a location on the server. When the Mac client tries to resolve the symlink, it will try to access the corresponding location on the client. If you turn the unix extensions support off, then the server will follow the symlink and the Mac will behave just like the Windows clients > > -Original Message- > From: James Peach [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 28, 2008 3:40 PM > To: Marc Fromm > Cc: samba@lists.samba.org > Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www > > 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: >> 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 | [EMAIL PROTECTED] > -- James Peach | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mac os 10.5.5 and symbolic link to www
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:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 3:40 PM To: Marc Fromm Cc: samba@lists.samba.org Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: 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 | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] mac os 10.5.5 and symbolic link to www
>(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:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 3:40 PM To: Marc Fromm Cc: samba@lists.samba.org Subject: Re: [Samba] mac os 10.5.5 and symbolic link to www 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: > 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 | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mac os 10.5.5 and symbolic link to www
We had a similar problem. To fix it we added to our global section of smb.conf: follow symlinks = yes Mac 10.5.X is supposed to have the unix extensions but we found when we enabled them we broke clients running older versions. So we also have: unix extensions = no set. Hope this helps. On Oct 29, 2008, at 5:19 AM, James Peach wrote: 2008/10/28 Kyle <[EMAIL PROTECTED]>: Can some one clarify that statement a little more for the hard at learning please? Do you mean the MAC is using the SAMBA symlink and attempting to follow it to a location on its local disk? Yes. Because Windows clients do not understand the SMB protocol extension the Mac uses in this case, the server follows the symlink on their behalf (to a location on the server's disk). "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)." Kind Regards Kyle James Peach wrote: 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: 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). -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- James Peach | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mac os 10.5.5 and symbolic link to www
2008/10/28 Kyle <[EMAIL PROTECTED]>: > > Can some one clarify that statement a little more for the hard at learning > please? Do you mean the MAC is using the SAMBA symlink and attempting to > follow it to a location on its local disk? Yes. Because Windows clients do not understand the SMB protocol extension the Mac uses in this case, the server follows the symlink on their behalf (to a location on the server's disk). > > "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)." > > > Kind Regards > > Kyle > > > > James Peach wrote: >> >> 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: >> >>> >>> 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). >> >> >> > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- James Peach | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mac os 10.5.5 and symbolic link to www
Can some one clarify that statement a little more for the hard at learning please? Do you mean the MAC is using the SAMBA symlink and attempting to follow it to a location on its local disk? "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)." Kind Regards Kyle James Peach wrote: 2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: 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). -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] mac os 10.5.5 and symbolic link to www
2008/10/28 Marc Fromm <[EMAIL PROTECTED]>: > 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 | [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] mac os 10.5.5 and symbolic link to www
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. 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