[Samba] Automounting

Johan Svedberg winkle at acc.umu.se
Tue Jan 28 18:02:44 GMT 2003


Hi, all!

I'm having some problems automounting Windows shares from my Debian
GNU/Linux system. However, doing it manually with

    mount -t smbfs -o username=Johan,password=foobar //nisse/C
    /var/autofs/nisse/

works flawless.

I'm totaly new with autofs so I don't know if I'm my setup is right, but
this is what I've done;

/etc/auto.master:

    /var/autofs/nisse       /etc/auto.nisse

/etc/auto.nisse:

    nisse   -fstype=smbfs,username=Johan,password=foobar    ://nisse/C

I don't know if it's useful but this is what I see in syslog:

    Jan 28 18:17:30 bettan automount[218]: starting automounter version
    4.0.0, path = /var/autofs/nisse, maptype = file, mapname =
    /etc/auto.nisse
    Jan 28 18:17:30 bettan automount[218]: Map argc = 1
    Jan 28 18:17:30 bettan automount[218]: Map argv[0] = /etc/auto.nisse
    Jan 28 18:17:30 bettan automount[218]: mount(bind): bind_works = 1

What am I missing here? :)

PS. Please Cc me since I'm not subscribed. Thanks.

Regards,

-- 
Johan Svedberg, winkle at acc.umu.se, http://www.acc.umu.se/~winkle


More information about the samba mailing list