yum install autofs
vim /etc/auto.masterthe only active (uncommented line) should be:
/mnt/auto /etc/auto.samba --timeout=600 --ghost
create new file:
vim /etc/auto.samba
ID -fstype=cifs,username=USR,password=PSW,uid=NAME,gid=users ://server.xy/share
target mount will be:
/mnt/auto/ID
Žádné komentáře:
Okomentovat