Re: CentOS 4.5 - mounting remote windows fileserver using smb or cifs

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




This works for me...
In /etc/fstab:-
//share/name /mount/point cifs _netdev,credentials=/etc/samba/cred.txt 0 0
In the credentials file:-
username=your-windows-user
password=XXXXXXXXXXX


Make sure the credentials file is owned by root and only readable by root.


i have managed to get this working now using smbfs - there were 2 issues it seems

1 - samba-client was not installed, that was an oversight on my behalf

2 - on the RH7.3 box the domain is not needed for the user but on the CentOS 4 machine something is different in the samba client as without the domain i get an 'Accedd Denied' issue. So for me using smbfs and DOMAIN\username works

thanks

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux