Montar windows share de dominio AD en linux

El Blog de Dragonfly
  • Windows share can be mounted on RHEL system using 
     option of 
     command as :
<code>[root@host ~]# mount -t cifs -o username=<share user>,password=<share password> //WIN_PC_IP/<share name> /mnt </code>
  • In case your user is in windows domain then you can define the domain as follows:
<code>[root@host ~]# mount -t cifs -o username=<share user>,password=<share password>, //WIN_PC_IP/<share name> /mnt </code>
  • By default windows share mounted with the full permission (777) in Linux. To change the default permission use the 
    options to set directory and file permission.
<code>[root@host ~]# mount -t cifs -o username=<share user>,password=<share password>,dir_mode=0755,file_mode=0755 //WIN_PC_IP/<share name> /mnt </code>
  • To make the mount persistant across reboots, make the below entry to the 
<code> //WIN_PC_IP/<share name> /<mntpoint> cifs _netdev,username=<share user>,password=<share password>,dir_mode=0755,file_mode=0755,uid=500,gid=500 0 0 </code>
  • If you receive the following error when try to mount the share folder from windows machines
<code>mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) </code>

Please verify the permission on the folder on you windows machine and try again mount the share folder.

(pendiente de traducción)
  • 0
  • 0
  • Compartir en Facebook

0 comentarios

Para escribir comentarios debes registrarte.