[CentOS] CentOS 4.5 - mounting remote windows fileserver using smb or cifs

2008-05-01 Thread Tom Brown
Hi I need to mount a windows share on a CentOS 4.5 box running stock kernel etc - I have tried using cifs and also smbfs My fstab looks like //share/name/mount/pointsmbfs username=user,password=password,uid=useridhere 0 0 or the same using cifs When i try and mount that i get

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

2008-05-01 Thread Ian Blackwell
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=XXX Make sure the credentials file is owned by root and only readable by root. Regards, Ian

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

2008-05-01 Thread Akemi Yagi
On Thu, May 1, 2008 at 2:22 AM, Tom Brown [EMAIL PROTECTED] wrote: Hi I need to mount a windows share on a CentOS 4.5 box running stock kernel etc - I have tried using cifs and also smbfs My fstab looks like //share/name/mount/pointsmbfs

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

2008-05-01 Thread Tom Brown
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=XXX Make sure the credentials file is owned by root and only readable by root. i have

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

2008-05-01 Thread Akemi Yagi
On Thu, May 1, 2008 at 3:53 AM, Tom Brown [EMAIL PROTECTED] wrote: 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