LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-05-2005, 11:11 AM   #1
nikd
Member
 
Registered: Sep 2003
Distribution: redhat 9
Posts: 37

Rep: Reputation: 15
samba NT_STATUS_LOGON_FAILURE...Help please


ive been breaking my head over this since the past week, i have a network of 6 pcs at home and im trying to set up a file server in fedora 3. now the problem is i can see the server on all the pcs. but the linux box isnt acccepting the password, my samba conf file is....

[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = Samba Server
obey pam restrictions = no
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.0. 192.168.0. 127.

# This option tells cups that the data has already been rasterized
cups options = raw

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
guest account = pcguest

# Put a capping on the size of the log files (in Kb).
max log size = 50


#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
username map = /etc/samba/smbusers
winbind use default domain = no
[homes]
comment = Home Directories
browseable = yes
writeable = yes


[downloads]
path = /mnt/downloads
valid users = nik
writeable = yes
guest ok = yes

[stuff]
path = /mnt/stuff
valid users = nik
writeable = yes
guest ok = yes

[tempdrive]
path = /mnt/tempdrive
valid users = nik
writeable = yes
guest ok = yes

now the thing is....doing the smbclient -L server doesnt let me log in at all..... using the password for root or for the samba users that i have defined using the.....in the windows boxes....ive used only one password for all users that i have created yet i cant log in.....any help please? thanks for ur time

this is my smbusers file
root = administrator admin
nobody = guest pcguest smbguest
nik = nik
n1k = n1k

Last edited by nikd; 02-05-2005 at 11:15 AM.
 
Old 02-05-2005, 11:22 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
try adding a smbuser by

smbpasswd -a <username>

then set a password and use that for logging on to that samba server

regards
 
Old 02-05-2005, 11:24 AM   #3
nikd
Member
 
Registered: Sep 2003
Distribution: redhat 9
Posts: 37

Original Poster
Rep: Reputation: 15
ok...got it to work...apparently i jus had to update samba and reboot and it jus started working :s.....
 
Old 02-05-2005, 11:40 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by nikd
ok...got it to work...apparently i jus had to update samba and reboot and it jus started working :s.....
why did u need to reboot

did u not restart samba after updating samba???

service samba restart


regards
 
Old 05-06-2009, 11:36 PM   #5
chamarts
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
guys, I am trying to use smbclient to access NT share on (also DC) using the following command

>>smbclient \\\\10.0.1.103\\IPC$ -U TEST\Administrator

but its always giving me a NT_STATUS_LOGON_FAILURE error.

It was working fine till I reset password for the user.

any help greatly appreciated.

thx
Sri
 
Old 01-14-2010, 12:25 AM   #6
sujit2106
LQ Newbie
 
Registered: Aug 2009
Posts: 7
Blog Entries: 3

Rep: Reputation: 0
Wink

Quote:
Originally Posted by chamarts View Post
guys, I am trying to use smbclient to access NT share on (also DC) using the following command

>>smbclient \\\\10.0.1.103\\IPC$ -U TEST\Administrator

but its always giving me a NT_STATUS_LOGON_FAILURE error.

It was working fine till I reset password for the user.

any help greatly appreciated.

thx
Sri

Remove the user from smbpasswd database & try to again adding the user

smbpasswd -a username

iptables service should be off

Thx
Ruburu.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba has NT_STATUS_LOGON_FAILURE dwynter Linux - Networking 22 12-16-2007 02:01 PM
Simple Samba and PAM -> NT_STATUS_LOGON_FAILURE subspawn Linux - Software 1 01-17-2005 07:41 AM
NT_STATUS_LOGON_FAILURE Samba Problem jmvetter Linux - Software 0 10-10-2004 11:18 PM
SAMBA:NT_STATUS_LOGON_FAILURE on linux Tyir Linux - Networking 4 12-22-2003 11:24 PM
SAMBA error: NT_STATUS_LOGON_FAILURE kkempter Linux - Software 0 06-04-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration