Hey friends, I want to mount some windows shares on Linux workstations in my office.I am using FC3 and my shares are on Windows XP pro and Windows 2003 Server. I tried this command to mount those shares mount -t cifs -o username=windowsusename //windows2003/sharename/anotherfolder /mnt/server the samba then asks for the password of the windows user,i gave the correct password but then Linux returns with an error mount error 6 = No such device or address Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) The /anotherfolder exists under windows2003/sharename. I can access the windows2003/sharename by giving this command. mount -t cifs -o username=windowsusename //windows2003/sharename /mnt/server but i want to give access to the users only to some folders on which they have rights not to other folders means only one or 2 subfolders under /windows2003/sharename and not allowing access to all the folders under sharename. I also tried this on Windows XP using the command mount -t smbfs -o username=windowsusename //windowsxp/sharename/somefolder /mnt/xp but this also gave an error 4858: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed Whereas i can access the sharename by giving this command mount -t smbfs -o username=windowsusename //windowsxp/sharename/ /mnt/xp Please tell me whether this is possible or not.I watn to give access to some folders to the users not to all the folders . Thanks & Regards Ankush
On Wednesday 13 April 2005 02:50 am, ankush grover wrote:> mount -t cifs -o username=windowsusename > //windows2003/sharename/anotherfolder /mnt/server > > the samba then asks for the password of the windows user,i gave the > correct password but then Linux returns with an error > > mount error 6 = No such device or address > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > > The /anotherfolder exists under windows2003/sharename. > > I can access the windows2003/sharename by giving this command. > > mount -t cifs -o username=windowsusename //windows2003/sharename > /mnt/server > > I also tried this on Windows XP using the command > > mount -t smbfs -o username=windowsusename > //windowsxp/sharename/somefolder /mnt/xpFor some reason I thought this mapping to subfolders of shares that I believe was introduced with Windows 2000 was possible with cifs or smbfs but trying it now I'm getting no success. You could, as a workaround, directly share the particular folders and mount them separately. Chris
Seemingly Similar Threads
- lmtp multiple mailboxes
- libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3) when creating VM using upstream qemu on Xen 4.2.
- how to press ctrl+alt+del on windows2003
- Question about "target is inferior" type of message
- newbie: problem with IMAPS + mutt + Thunderbird