# sh -x /usr/lib/goto/mount-shares + modprobe cifs + echo 0 + echo 1 + CREDS=/tmp/credentials + mkdir -p /mnt/limux/vmx1samba.tvc.muenchen.de/sb_d_10 + creds limux limux + echo username=limux + echo password=limux + mount -t cifs -o credentials=/tmp/credentials,uid=1011,gid=513,dir_mode=0750,iocharset=utf8 //vmx1samba.tvc.muenchen.de//sb_d_10 /mnt/limux/vmx1samba.tvc.muenchen.de/sb_d_10 + ls -l /mnt/limux/vmx1samba.tvc.muenchen.de insgesamt 12 drwxr-xr-x 2 root root 4096 2008-10-31 16:13 just-jmg3 drwxr-x--- 1 limux Domain Users 0 2008-10-08 12:01 sb_d_10 drwxr-xr-x 2 root root 4096 2008-10-31 16:19 share2 + cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --------------------------------------------------- CIFS Version 1.53 Active VFS Requests: 0 Servers: 1) Name: 172.16.2.40 Domain: TVC.MUENCHEN.DE Mounts: 1 OS: Unix NOS: Samba 3.0.24 Capability: 0xf3fd SMB session status: 1 TCP status: 1 Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0 MIDs: Shares: 1) \\vmx1samba.tvc.muenchen.de/\sb_d_10 Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b PathComponentMax: 255 Status: 1 type: 0 + mkdir -p /mnt/limux/vmx1samba.tvc.muenchen.de/just-jmg3 + creds jan-marek.glogowski tester + echo username=jan-marek.glogowski + echo password=tester + mount -t cifs -o credentials=/tmp/credentials,uid=1011,gid=513,dir_mode=0750,iocharset=utf8 //vmx1samba.tvc.muenchen.de/just-jmg3 /mnt/limux/vmx1samba.tvc.muenchen.de/just-jmg3 mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) + ls -l /mnt/limux/vmx1samba.tvc.muenchen.de insgesamt 12 drwxr-xr-x 2 root root 4096 2008-10-31 16:13 just-jmg3 drwxr-x--- 1 limux Domain Users 0 2008-10-08 12:01 sb_d_10 drwxr-xr-x 2 root root 4096 2008-10-31 16:19 share2 + cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --------------------------------------------------- CIFS Version 1.53 Active VFS Requests: 0 Servers: 1) Name: 172.16.2.40 Domain: TVC.MUENCHEN.DE Mounts: 1 OS: Unix NOS: Samba 3.0.24 Capability: 0xf3fd SMB session status: 2 Shares: 1) \\vmx1samba.tvc.muenchen.de/\sb_d_10 Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b PathComponentMax: 255 Status: 1 type: 0 + creds jan-marek.glogowski test + echo username=jan-marek.glogowski + echo password=test + mount -t cifs -o credentials=/tmp/credentials,uid=1011,gid=513,dir_mode=0750,iocharset=utf8 //vmx1samba.tvc.muenchen.de/just-jmg3 /mnt/limux/vmx1samba.tvc.muenchen.de/just-jmg3 + ls -l /mnt/limux/vmx1samba.tvc.muenchen.de insgesamt 8 drwxr-x--- 1 limux Domain Users 0 2008-10-30 13:52 just-jmg3 drwxr-x--- 1 limux Domain Users 0 2008-10-08 12:01 sb_d_10 drwxr-xr-x 2 root root 4096 2008-10-31 16:19 share2 + cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --------------------------------------------------- CIFS Version 1.53 Active VFS Requests: 0 Servers: 1) Name: 172.16.2.40 Domain: TVC.MUENCHEN.DE Mounts: 1 OS: Unix NOS: Samba 3.0.24 Capability: 0xf3fd SMB session status: 1 TCP status: 1 Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0 MIDs: 2) Name: 172.16.2.40 Domain: TVC.MUENCHEN.DE Mounts: 1 OS: Unix NOS: Samba 3.0.24 Capability: 0xf3fd SMB session status: 2 Shares: 1) \\vmx1samba.tvc.muenchen.de\just-jmg3 Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b PathComponentMax: 255 Status: 1 type: 0 2) \\vmx1samba.tvc.muenchen.de/\sb_d_10 Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b PathComponentMax: 255 Status: 1 type: 0 + creds limux limux + echo username=limux + echo password=limux + mkdir -p /mnt/limux/vmx1samba.tvc.muenchen.de/share2 + mount -t cifs -o credentials=/tmp/credentials,uid=1011,gid=513,dir_mode=0750,iocharset=utf8 //vmx1samba.tvc.muenchen.de/share2 /mnt/limux/vmx1samba.tvc.muenchen.de/share2 + ls -l /mnt/limux/vmx1samba.tvc.muenchen.de insgesamt 4 drwxr-x--- 1 limux Domain Users 0 2008-10-30 13:52 just-jmg3 ?--------- ? ? ? ? ? /mnt/limux/vmx1samba.tvc.muenchen.de/sb_d_10 drwxr-x--- 2 limux Domain Users 0 2008-09-29 08:23 share2 + cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --------------------------------------------------- CIFS Version 1.53 Active VFS Requests: 0 Servers: 1) Name: 172.16.2.40 Domain: TVC.MUENCHEN.DE Mounts: 1 OS: Unix NOS: Samba 3.0.24 Capability: 0xf3fd SMB session status: 1 TCP status: 1 Local Users To Server: 2 SecMode: 0x3 Req On Wire: 0 MIDs: 2) Name: 172.16.2.40 Domain: TVC.MUENCHEN.DE Mounts: 1 OS: Unix NOS: Samba 3.0.24 Capability: 0xf3fd SMB session status: 1 TCP status: 1 Local Users To Server: 2 SecMode: 0x3 Req On Wire: 0 MIDs: 3) Name: 172.16.2.40 Domain: TVC.MUENCHEN.DE Mounts: 1 OS: Unix NOS: Samba 3.0.24 Capability: 0xf3fd SMB session status: 2 Shares: 1) \\vmx1samba.tvc.muenchen.de\share2 Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b PathComponentMax: 255 Status: 1 type: 0 2) \\vmx1samba.tvc.muenchen.de\just-jmg3 Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b PathComponentMax: 255 Status: 1 type: 0 3) \\vmx1samba.tvc.muenchen.de/\sb_d_10 Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0x2b PathComponentMax: 255 Status: 1 type: 0