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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trouble login in to server

Status
Not open for further replies.

drist

Technical User
Apr 2, 2003
1
US
Hello all, I have just installed a Redhat 8.0 version of linux, and I'm trying to get samba2.2.8 to run as a server on this machine. I have done all the diagnosis (in the html book that came with this distribution of samba) up to the part where I run a command like

# smbclient //server/tmp -Ufred

(section 9.2.5.3)

I get prompted with a password, and no matter what I type in, ie. the correct password or an incorrect one for fred I get the error message

# session setup failed: NT_STATUS_LOGON_FAILURE

Now, I'm running this as root, in the same terminal where I started smbd and nmbd. the user fred is a registered user on this machine, which I then used

# smbpasswd -a fred

to set the password for samba. the section for tmp in the smb.conf file is as follows without the quoted comments:

[tmp]
path = home/tmp "correct dirctory path"
public = yes "guests can access it"

The thing is I can get in with an anonymous account:

# smbclient //server/tmp

and just press enter for the password, and I can get in. But if I type in the root password suggested by the book I get the same error. So I'm thinking it's the password that's the problem? or am I missing something critical here.

testparm shows that my smb.conf file is correct, and the log files show that both smbd and nmbd are running, so what am I missing?
 
I would like to see you complete smb.conf file if possible because without seeing the who thing it is difficult to diagnose. I assume that you have don't mksmbpasswd.sh?

Lee.
 
I would like to see you complete smb.conf file if possible because without seeing the who thing it is difficult to diagnose. I assume that you have don't mksmbpasswd.sh?

Lee.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top