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

Re: samba und automount



On Wed, 15 Nov 2006 16:33:33 +0100
Thomas <jade@ares.dyndns.biz> wrote:

> Hallo liebe Leute,
> 
> es gibt einige Howtos zum Thema autofs automount und samba, aber wie so 
> üblich funktioniert es bei mir einfach nicht.
> 
> Vielleicht kann mir jemand einen Tipp geben?
> 
> Hier meine Config soweit:
> 
> # cat /etc/auto.master:
> /mnt/nova /etc/auto.nova --timeout=60
> 
> # cat /etc/auto.nova
> nova         -fstype=smb,username=abc,password=xxxx    ://nova/storage
> 
> # /etc/init.d/autofs status
> Configured Mount Points:
> ------------------------
> /usr/sbin/automount --timeout=60 /mnt/nova program /etc/auto.nova
> 
> Active Mount Points:
> --------------------
> /usr/sbin/automount --pid-file=/var/run/autofs/_mnt_nova.pid 
> --timeout=60 /mnt/nova program /etc/auto.nova
> 
> 
> Aber ein
> # ls /mnt/nova/
> bringt nichts und ein
> # ls /mnt/nova/nova
>  nova: No such file or directory
> 
> 
> Allerdings funktioniert ein
> 
> # mount -t smbfs -o 
> noauto,user,rw,iocharset=utf8,uid=1000,gid=1000,fmask=775,dmask=775,user=abc,password=xxxx 
> //nova/storage /mnt/nova/storage
> 
> wunderbar.
> 
> 
> Ich verstehs nicht. Wo ist das Problem?
> 
> Grüße, Thomas
 
schreib folgendes in die /etc/fstab rein:

//nova/storage	/mnt/nova/storage smbfs defaults,users,username=asd,password=xxxx,gid=1000,uid=1000,quiet 0 0

danach ein 

mount -a

nun sollte es funktionieren.

so long



Reply to: