Samba gurus, We installed Samba 3.4.6 binaries on RHEL 5.0, added the Samba server to an ADS domain and used winbind to map the ADS users to local UNIX users. We are able to access the Samba shares from Windows machines using the domain user accounts. However, we are having problems mounting the samba shares from Linux machines that also joined the ADS domain and used winbind. Although the mount command completed without an error, the mount point has invalid permission bits, owner and group, and cannot be accessed. [root at example-34 mnt]# ls -l total 8 drwxr-xr-x 2 dmuser 10000 4096 Mar 14 21:57 software drwxrwxrwx 1 root root 0 Mar 15 14:32 user [root at example-34 mnt]# mount -t cifs -o user=EXAMPLEDM/dmuser //example-84/public/software software Password: [root at example-34 mnt]# ls -l total 0 ?--------- ? ? ? ? ? software drwxrwxrwx 1 root root 0 Mar 15 14:32 user [root at example-34 mnt]# cd software [root at example-34 software]# ls ls: .: No such file or directory Any ideas? Thanks, Mandy
Samba gurus, We installed Samba 3.4.6 binaries on RHEL 5.0, added the Samba server to an ADS domain and used winbind to map the ADS users to local UNIX users. We are able to access the Samba shares from Windows machines using the domain user accounts. However, we are having problems mounting the samba shares from Linux machines that also joined the ADS domain and used winbind. Although the mount command completed without an error, the mount point has invalid permission bits, owner and group, and cannot be accessed. The same Linux machines can mount Windows shares in the same domain. [root at example-34 mnt]# ls -l total 8 drwxr-xr-x 2 dmuser 10000 4096 Mar 14 21:57 software drwxrwxrwx 1 root root 0 Mar 15 14:32 user [root at example-34 mnt]# mount -t cifs -o user=EXAMPLEDM/dmuser //example-84/public/software software Password: [root at example-34 mnt]# ls -l total 0 ?--------- ? ? ? ? ? software drwxrwxrwx 1 root root 0 Mar 15 14:32 user [root at example-34 mnt]# cd software [root at example-34 software]# ls ls: .: No such file or directory Any ideas? Thanks, Mandy
John Drescher
2010-Mar-25 14:53 UTC
[Samba] Problem mounting Samba shares from a Linux machine
On Tue, Mar 23, 2010 at 2:14 AM, Mandy J <mandyj326 at gmail.com> wrote:> Samba gurus, > > We installed Samba 3.4.6 binaries on RHEL 5.0, added the Samba server > to an ADS domain and used winbind to map the ADS users to local UNIX > users. We are able to access the Samba shares from Windows machines > using the domain user accounts. However, we are having problems > mounting the samba shares from Linux machines that also joined the ADS > domain and used winbind. Although the mount command completed without > an error, the mount point has invalid permission bits, owner and > group, and cannot be accessed. > > [root at example-34 mnt]# ls -l > total 8 > drwxr-xr-x 2 dmuser 10000 4096 Mar 14 21:57 software > drwxrwxrwx 1 root ?root ? ? 0 Mar 15 14:32 user > [root at example-34 mnt]# mount -t cifs -o user=EXAMPLEDM/dmuser > //example-84/public/software software > Password: > > [root at example-34 mnt]# ls -l > total 0 > ?--------- ? ? ? ?? ? ?? ? ? ? ? ? ?? software > drwxrwxrwx 1 root root 0 Mar 15 14:32 user > [root at example-34 mnt]# cd software > [root at example-34 software]# ls > ls: .: No such file or directory > > Any ideas? >Are you using dfs? If so I have only had that work correctly with 2.6.32 kernels and above. John
No, we are not using DFS. In the mount command below, "example-84" is the Linux server that exports the "public" share and "example-34" is the Linux client. Both machines are members of an ADS domain and use winbind. Thanks, Mandy On Thu, Mar 25, 2010 at 7:53 AM, John Drescher <drescherjm at gmail.com> wrote:> On Tue, Mar 23, 2010 at 2:14 AM, Mandy J <mandyj326 at gmail.com> wrote: > > Samba gurus, > > > > We installed Samba 3.4.6 binaries on RHEL 5.0, added the Samba server > > to an ADS domain and used winbind to map the ADS users to local UNIX > > users. We are able to access the Samba shares from Windows machines > > using the domain user accounts. However, we are having problems > > mounting the samba shares from Linux machines that also joined the ADS > > domain and used winbind. Although the mount command completed without > > an error, the mount point has invalid permission bits, owner and > > group, and cannot be accessed. > > > > [root at example-34 mnt]# ls -l > > total 8 > > drwxr-xr-x 2 dmuser 10000 4096 Mar 14 21:57 software > > drwxrwxrwx 1 root root 0 Mar 15 14:32 user > > [root at example-34 mnt]# mount -t cifs -o user=EXAMPLEDM/dmuser > > //example-84/public/software software > > Password: > > > > [root at example-34 mnt]# ls -l > > total 0 > > ?--------- ? ? ? ? ? software > > drwxrwxrwx 1 root root 0 Mar 15 14:32 user > > [root at example-34 mnt]# cd software > > [root at example-34 software]# ls > > ls: .: No such file or directory > > > > Any ideas? > > > Are you using dfs? If so I have only had that work correctly with > 2.6.32 kernels and above. > > John >