Don't you need to provide a username in the project key: project -fstype=smb,username=user,password=kwe12 ://10.10.0.2/project
maybe you smbmount works because it take the $USER as username , or whatever ... ?? and is fstype = smb correct (perhaps under solaris) me for linux it's smbfs !. just give it a try. For me, for automounting windows shares it looks like this under linux RH 7.2 NTmci -fstype=smbfs,username=procacci,credentials=/etc/smb.auth ://atlas/Mci having /etc/smb.auth containing username=user password=password good luck ! On Tue, 19 Mar 2002, Pellegrini Giuliano wrote: > Hi all, > > I use autofs-3.1.4 and running very well. > Now I would like to mount the //10.10.0.2/project that is a shared samba > > directory of the sun server. > I have create the file /etc/auto.net with: > > project -fstype=smb,password=kwe12 ://10.10.0.2/project > > In the /etc/auto.master I have insert this new row: > > //10.10.0.2/project /etc/auto.net --timeout 1 > > When I restar the autofs daemon with /etc/rc.d/init.d/autofs restart, > only floppy and cd > are mounted and in the /var/log/messages I find this error: > > automount[1953]: starting automounter version 3.1.4, > path=//10.10.0.2/project, > maptype= file, mapname = /etc/auto.net > automount[1953]: //10.10.0.2/project: mount failed! > > I have installed the smbclient and with these command I mount the shared > > directory without problem. > mount -t smbfs //10.10.0.2/project /mnt/project -o password=kwe12 OK! > smbmount //10.10.0.2/project /mnt/project -o password=kew12 OK! > > If I change the fstype in the /etc/auto.net from smb to smbfs don't > change nothing. > > Can you help me, please ? > > Thanking in advance and sorry for my english. > > Giuliano. > > -- Jehan Procaccia Institut National des Telecommunications| Email: [EMAIL PROTECTED] MCI, Moyens Communs Informatiques | Tel : +33 (0) 160764436 9 rue Charles Fourier 91011 Evry France | Fax : +33 (0) 160764321
