Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-05-2005, 11:11 AM
|
#1
|
|
Member
Registered: Sep 2003
Distribution: redhat 9
Posts: 37
Rep:
|
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.
|
|
|
|
02-05-2005, 11:22 AM
|
#2
|
|
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
try adding a smbuser by
smbpasswd -a <username>
then set a password and use that for logging on to that samba server
regards
|
|
|
|
02-05-2005, 11:24 AM
|
#3
|
|
Member
Registered: Sep 2003
Distribution: redhat 9
Posts: 37
Original Poster
Rep:
|
ok...got it to work...apparently i jus had to update samba and reboot and it jus started working :s.....
|
|
|
|
02-05-2005, 11:40 AM
|
#4
|
|
Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
|
05-06-2009, 11:36 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2003
Posts: 3
Rep:
|
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
|
|
|
|
01-14-2010, 12:25 AM
|
#6
|
|
LQ Newbie
Registered: Aug 2009
Posts: 7
Rep:
|
Quote:
Originally Posted by chamarts
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|