[Samba] Failed mount of Windows share on Linux box

Joel Hammer Joel at HammersHome.com
Thu Jul 4 13:35:02 GMT 2002


I can mount shares on an xp server with:
smbmount //AHAMM002/print$ /mnt/NetWork/AHAMM002/print$
But,
it fails with mount -t smbfs.
Also, make sure you are not getting caught by the special meaning of $ in
the bash script.
Joel




> 
> System: Redhat 7.3
> Kernel 2.4.18-5
> Samba 2.2.5-1
> 
> [root at wptzfileserver root]# mount -t smbfs -o username=administrator,password=password,debug=4 //lnpznc078ph01/D$ /home/LotusNotes/
> INFO: Debug class all level = 2   (pid 17329 from pid 17329)
> mount.smbfs started (version 2.2.5)
> added interface ip=192.168.67.21 bcast=192.168.67.255 nmask=255.255.255.0
> resolve_lmhosts: Attempting lmhosts lookup for name lnpznc078ph01<0x20>
> getlmhostsent: lmhost entry: 127.0.0.1 localhost
> resolve_hosts: Attempting host lookup for name lnpznc078ph01<0x20>
> resolve_wins: Attempting wins lookup for name lnpznc078ph01<0x20>
> resolve_wins: WINS server == <192.168.67.12>
> bind succeeded on port 0
> nmb packet from 192.168.67.12(137) header: id=17897 opcode=Query(0) response=Yes
>     header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
>     header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
>     answers: nmb_name=LNPZNC078PH01<20> rr_type=32 rr_class=1 ttl=0
>     answers   0 char ....C.   hex 0000C0A8430F
> Got a positive name query response from 192.168.67.12 ( 192.168.67.15 )
> Connecting to 192.168.67.15 at port 139
> 17329: session request ok
> 17329: session setup ok
> 17329: tconx ok
> execvp of smbmnt failed. Error was No such file or directory.smbmnt failed: 1
> [root at wptzfileserver root]#
> 
> 
> Those of you familiar with Windows NT 4.0 servers know that I am attempting
> to connect to the D: drive through the hidden admin share.  The username
> and password are correct.  I can connect from a Windows 2000 box.  This
> problem occurrs for every attempt to mount any windows shares.  I am using
> the Linux box as a domain member authentication = DOMAIN.  This problem was
> apparent to me in 2.2.4 and I was hoping to get different results with
> 2.2.5.  Obviously not.  smbclient tells me I have the share name correct.
> 
> Any help would be great.
> Thanks,
> Michael Barber
> WPTZ/WNNE
> Computer Services Administrator
> Plattsburgh, NY USA
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list