[Samba] how to mount the windows shares

Chris smb23 at realcomputerguy.com
Wed Apr 13 13:32:46 GMT 2005


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/xp

For 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


More information about the samba mailing list