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