Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-26-2010, 09:44 AM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 13
Rep:
|
strange when accessing Samba
Two PCs with winxp (computer names are p01056a and p01056e) needs to access a samba on FC9. The three are all in the same subnet. The two winxp are both in the windows domain AAA, and both using the domain account 'p01056' to logged in. When accessing the Linux samba server using samba account 'p01056', p01056a succeeded, but p01056e failed.
1. smb.conf
Code:
[global]
workgroup = s3620
server string = Samba Server Version %v
netbios name = S3620Linux
hosts allow = 10.153.96.
log file = /var/log/samba/log.%m
max log size = 200
log level = 3
security = user
passdb backend = tdbsam
cups options = raw
username map = /etc/samba/smbusers
[homes]
comment = Home Directories
writable = yes
[p01056]
path = /home/p01056
writeable = yes
valid users = p01056
2. smbusers
Code:
root = administrator admin
nobody = guest pcguest smbguest
p01056 = p01056
3. samba log when fail
Code:
[2010/10/22 10:12:20, 3] auth/auth.c:check_ntlm_password(220)
check_ntlm_password: Checking password for unmapped user [AAA]\[p01056]@[P01056E] with the new password interface
[2010/10/22 10:12:20, 3] auth/auth.c:check_ntlm_password(223)
check_ntlm_password: mapped user is: [S3620LINUX]\[p01056]@[P01056E]
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:push_sec_ctx(224)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/uid.c:push_conn_ctx(357)
push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/10/22 10:12:20, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/10/22 10:12:20, 3] libsmb/ntlm_check.c:ntlm_password_check(346)
ntlm_password_check: NT MD4 password check failed for user p01056
[2010/10/22 10:12:20, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [p01056] -> [p01056] FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/10/22 10:12:20, 3] smbd/error.c:error_packet_set(61)
error packet at smbd/sesssetup.c(127) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
Any advice?
|
|
|
10-26-2010, 11:41 PM
|
#2
|
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Rep: 
|
Use the smbclient //samba-server/tmp command to attempt a command-line login to the Samba server.
Last edited by prayag_pjs; 10-26-2010 at 11:45 PM.
|
|
|
All times are GMT -5. The time now is 04:44 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
|
|