Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

smbclient -U% -L localhost gives me error ???

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Hi, I just installed SAMBA on a SCO 5.0.5 box.

This is my very first install ever and I am following a
book but there is no assistance with potential problems
such as this.

I have but a simple smb.conf file:

[global]
workgroup = HGS
[test]
comment = For testing only, please
path = /appl/samba/test
read only = no
guest ok = yes

My PCs are set under workgroup HGS so I figure I tried
it in SAMBA as well, anticipating it to be an issue later.


As per the book, I tried smbclient -U% -L localhost
and I get:

--
added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0
session setup failed: NT_STATUS_LOGON_FAILURE
--

What does this mean? I checked /usr/local/samba/var
log.nmbd and it appears to be OK. Hoever, log.smbd
has

--
[2003/06/02 08:22:28, 0] smbd/server.c:main(791)
smbd version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/06/02 08:28:37, 0] smbd/server.c:main(791)
smbd version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
--

over and over again ... It appears to add a line every
while and at this rate, I am afraid this file is going
to grow out of control.

Further, if I search through `ps -ef`, I can't find any
process running for <smbd> while <nmbd> is there.

What can you suggest I do?

Thanks;


Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Did you add the users to the server?

useradd & smbpasswd to do that

The log is fine...each time you try to connect, a new session will be started.

if you added and enabled root with smbpasswd -a and -e then try
smbclient -U root%password -L localhost
 
Headmaster,

Isn't `useradd` an UNIX binary used to add users and
it does not, necessarily, have much to do with SAMBA?

I tried smbdpasswd and I got error:

dynamic linker: smbpasswd: invalid relocation type
3 at 0x48537c Killed

Does this mean I have a problem and may need to 're-make'
the binaries?

Regards;

Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top