[Samba] mount automaticly with samba for file server in ms machine

Buchan Milne bgmilne at cae.co.za
Tue Sep 2 13:20:32 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Message: 44
> Date: Tue, 2 Sep 2003 12:19:44 -0700 (WIT)
> From: sonjaya at stud.che.itb.ac.id
> Subject: [Samba] mount automaticly with samba for file server in ms
> 	machine
> To: samba at lists.samba.org
> Message-ID:
> 	<2731.202.158.77.194.1062479984.squirrel at stud.che.itb.ac.id>
> Content-Type: text/plain;charset=iso-8859-1
>
> i want automatic mount file server in microsoft machine here is detail :
> file server microsoft : 172.18.13.111
> name share           : Home
> file server microsoft join to winnt pdc ( i have create user , exsample
> =shareduser )
> linux ws  wan to automatic mount that file server  ( 172.18 .13.111/home)
> with user shareduser .
> i try like this :
> [root at PIM-MK0-004 root]# smbclient //172.18.13.111/home -U sharedusers -P
> 12345
> added interface ip=172.18.18.14 bcast=172.18.255.255 nmask=255.255.0.0
> session request to 172.18.13.111 failed (Called name not present)
> session request to 172 failed (Called name not present)

This means that you have tried to access the machine by a name it does
not recognise. Use the netbios name instead.

> Password:
> Domain=[UB-NET] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
> smb: \>
> , how to set automount every boot , always mount .

Depends on if you want to leave your password in clear text on the
machine, if so you can add the entry to fstab with a credentials file.
If you only want the share to be mounted when you log in, use pam_mount
instead.

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/VJkgrJK6UGDSBKcRAoceAKCtNUhn/fHisdSt7m3ZZZRzgUsAMACfdLXp
+BkqWrPbHipeFZCJGc69v34=
=QO66
-----END PGP SIGNATURE-----

*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to info at cae.co.za for a copy.
*****************************************************************



More information about the samba mailing list