Hello Samba Gurus, I am new to samba. I configured samba in an HPUX machine. And when i run smbclient program i got the following error message. # smbclient -U% -L localhost added interface ip=3.209.112.223 bcast=3.209.115.255 nmask=255.255.252.0 Domain=[CADCAM] OS=[Unix] Server=[Samba 2.0.7] tree connect failed: code 0 Can anyone guide me? Thanks in advance, Malar
On Wed, 21 Mar 2001, Malar wrote:> I am new to samba. I configured samba in an HPUX machine. And when i run > smbclient program i got the following error message. > > # smbclient -U% -L localhostTry: # smbclient -L localhost -N -N, also called "guest" says that you don't want a pasword. I don't know if -U% is the same or not. If -N doesn't work, check the logs on the server and see what it is complaining about (possibly after raising the debug level). /Urban
At 05:43 p 21/03/01, you wrote:>Hello Samba Gurus, > >I am new to samba. I configured samba in an HPUX machine. And when i run >smbclient program i got the following error message. > ># smbclient -U% -L localhost >added interface ip=3.209.112.223 bcast=3.209.115.255 nmask=255.255.252.0 > >Domain=[CADCAM] OS=[Unix] Server=[Samba 2.0.7] >tree connect failed: code 0 > >Can anyone guide me? > >Thanks in advance, > >MalarOK I'm no guru, but isn't this line a little odd:>added interface ip=3.209.112.223 bcast=3.209.115.255 nmask=255.255.252.0Shouldn't the broadcast be 3.209.112.255?? Just a thought. :) ---------------------------- Anthony (aslan@ispdr.net.au) ----------------------------
Hi Malar, Unless you are using the CIFS/9000 SERVER (samba) version that ships with HP-UX 11.0, Samba defaults the guest account to the unix user nobody, and unix group nogroup; these are set to negative numbers on an HP-UX system, and Samba will choke on these. So it is possible (guessing without seeing a debug log) that this is your issue; try creating a dummy user in your /etc/passwd file (we use smbnull) and setting "guest account=smbnull" in your global section of smb.conf. Probably a long shot, but easy to try. Don -----Original Message----- From: Malar [mailto:malarsta@chennai.tcs.co.in] Sent: Wednesday, March 21, 2001 1:44 AM To: samba Subject: smbclient error message Hello Samba Gurus, I am new to samba. I configured samba in an HPUX machine. And when i run smbclient program i got the following error message. # smbclient -U% -L localhost added interface ip=3.209.112.223 bcast=3.209.115.255 nmask=255.255.252.0 Domain=[CADCAM] OS=[Unix] Server=[Samba 2.0.7] tree connect failed: code 0 Can anyone guide me? Thanks in advance, Malar -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
I am having trouble with on of my Samba Servers. The daemons don't seem to be responding. I know they are running. I can even see them listing when I do a netstat -a on my server. However, when I do the following smbclient command I get the following error message. ./smbclient -U username -L servername ( I get the same error if I use a name,IP address, or local ) The username does exist created with smbpasswd -a I get this error message. session request to "Server name" failed (Call returned zero bytes (EOF) ) session request to *SMBSERVER failed (Call returned zero bytes (EOF)