vBulletin Search Engine Optimization
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm trying to setup autofs to automount some samba shares from
another system. I've followed a couple of different tutorials specifically to this point (the latest being http://www.howtoforge.com/accessing_..._using_autofs). They all seem to agree on how to set it up, but I'm still having problems. The relevant line in /etc/auto.master is /cifs /etc/auto.cifs --timeout=60 And auto.cifs is exactly as shown in that last tutorial (http:// http://www.howtoforge.com/accessing_..._using_autofs), except that I changed the location of the credentials file to credfile="/root/.$key.smbpasswd". The server I'm trying to connect to is called darwin, and the credentials file is / root/.darwin.smbpasswd The relevant entries from the system log are below, but I can't make sense of them. I've tried searching out the error message on the web, to no avail. Can anyone offer any suggestions? Thanks! -Brian The relevant system log entries (cat /var/log/messages | grep autofs) are: ************************************************** Jan 12 09:47:40 frigg automount[3656]: create_logpri_fifo: mkfifo for / var/run/autofs.fifo-cifs failed: Permission denied Jan 12 09:47:40 frigg automount[3656]: create_logpri_fifo: mkfifo for / var/run/autofs.fifo-misc failed: Permission denied Jan 12 09:47:40 frigg automount[3656]: create_logpri_fifo: mkfifo for / var/run/autofs.fifo-net failed: Permission denied Jan 12 09:48:13 frigg automount[3715]: create_logpri_fifo: mkfifo for / var/run/autofs.fifo-cifs failed: Permission denied Jan 12 09:48:13 frigg automount[3715]: create_logpri_fifo: mkfifo for / var/run/autofs.fifo-misc failed: Permission denied Jan 12 09:48:13 frigg automount[3715]: create_logpri_fifo: mkfifo for / var/run/autofs.fifo-net failed: Permission denied ************************************************** |
|
|||
|
On Jan 13, 1:55 am, bmearns <[email protected]> wrote:
> I'm trying to setup autofs to automount some samba shares from > another > system. I've followed a couple of different tutorials specifically > to > this point (the latest beinghttp://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs). > They all seem to agree on how to set it up, but I'm still having > problems. > > The relevant line in /etc/auto.master is > /cifs /etc/auto.cifs --timeout=60 > > And auto.cifs is exactly as shown in that last tutorial (http:// > http://www.howtoforge.com/accessing_..._using_autofs), > except that I changed the location of the credentials file to > credfile="/root/.$key.smbpasswd". The server I'm trying to connect > to > is called darwin, and the credentials file is / > root/.darwin.smbpasswd > > The relevant entries from the system log are below, but I can't make > sense of them. I've tried searching out the error message on the > web, > to no avail. > > Can anyone offer any suggestions? Thanks! > -Brian > Hi Brian, I am not sure from where you need to mount it....(mean is it from windows to linux machine or from linux to linux). Anyway i will talk about the mounting of windows share on linux using smb I have done it with the help of fstab (not have done with autofs,i used autofs for NIS only). what you need to do is.. 1) go to the fstab ... vi /etc/fstab 2)add a line to the end.. 3)//192.168.0.10/windowsharename /mountdirectoryoflinux cifs default,credentials=/etc/.smbpasswordfile 0 0 4) type up the command ... mount -a Tips: 1)create a /etc/.smbpasswordfile.where it have the username=name ..next line... password=password (use windows password and user name here) 2)Create the mount directory too on the linux machine. Let me know if it help you. Thank You Melbin Mathew |