Re: samba configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

If i remember right, you just can mount SHARES not directories under a share.

If you want to have this, you should either:

-make a share out of this directory
-giving the apprpriate user-rights to the directory, so no other can access it


Roger


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux