[Samba] winbind + ADS = NT_STATUS_LOGON_FAILURE
Jason M. Kusar
jkusar at swordofthespirit.org
Fri Mar 9 17:08:19 GMT 2007
Hi all,
I've searched the list archives and found similar issues, but none of
the resolutions I found worked for me. When I try to connect to my
samba share with an Active Directory domain account, I get denied:
$ smbclient -U SOTS+jason //media/tmp xxxxxxxx
session setup failed: NT_STATUS_LOGON_FAILURE
Looking at the log files I found this (complete file is posted below):
--==workstation.log==--
[2007/03/09 09:48:29, 2] auth/auth.c:check_ntlm_password(319)
check_ntlm_password: Authentication for user [SOTS+jason] ->
[SOTS+jason] FAILED with error NT_STATUS_NO_SUCH_USER
However, wbinfo returns the user information fine:
# wbinfo -i SOTS+jason
SOTS+jason:*:10000:10000:Jason M. Kusar:/home/SOTS/jason:/bin/false
I'm running samba 3.0.24 on SunOS 5.11 (Opensolaris 11). It's an AMD64
if that makes a difference. The domain controller is a Windows 2003
server running Active Directory.
Samba is running from inetd
Any help would be greatly appreciated. Thanks!
Here are the different config files:
--==smb.conf==--
[global]
workgroup = SOTS
realm = SWORDOFTHESPIRIT.ORG
server string = media.swordofthespirit.org
security = ADS
password server = 192.168.0.32
log level = 10
log file = /var/log/samba/%m
max log size = 50
printcap name = cups
preferred master = No
local master = No
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = +
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
printing = cups
print command = lpr -P'%p' %s; rm %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
lppause command = lp -i '%p-%j' -H hold
lpresume command = lp -i '%p-%j' -H resume
queuepause command = disable '%p'
queueresume command = enable '%p'
[tmp]
path = /tmp
read list = SOTS+jason
--==krb5.conf==--
[libdefaults]
default_realm = SWORDOFTHESPIRIT.ORG
[realms]
SWORDOFTHESPIRIT.ORG = {
kdc = dc1.swordofthespirit.org
admin_server = dc1.swordofthespirit.org
}
[domain_realm]
.swordofthespirit.org = SWORDOFTHESPIRIT.ORG
--==nsswitch.conf==--
passwd: files winbindd
group: files winbindd
# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns
# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes: files dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
printers: user files
auth_attr: files
prof_attr: files
project: files
tnrhtp: files
tnrhdb: files
--==laptop.log==--
[2007/03/09 09:48:29, 6] param/loadparm.c:lp_file_list_changed(2998)
lp_file_list_changed()
file /usr/lib/smb.conf -> /usr/lib/smb.conf last mod_time: Thu Mar 8
18:33:11 2007
[2007/03/09 09:48:29, 5] smbd/reply.c:reply_special(543)
init msg_type=0x81 msg_flags=0x0
[2007/03/09 09:48:29, 10] smbd/process.c:setup_select_timeout(1284)
change_notify_timeout: 60
[2007/03/09 09:48:29, 10]
lib/util_sock.c:read_smb_length_return_keepalive(623)
got smb length of 179
[2007/03/09 09:48:29, 6] smbd/process.c:process_smb(1109)
got message type 0x0 of len 0xb3
[2007/03/09 09:48:29, 3] smbd/process.c:process_smb(1110)
Transaction 1 of length 183
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(485)
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(495)
size=179
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=55297
smb_tid=0
smb_pid=18985
smb_uid=0
smb_mid=2
smt_wct=0
smb_bcc=144
[2007/03/09 09:48:29, 10] lib/util.c:dump_data(2222)
[000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG
[010] 52 41 4D 20 31 2E 30 00 02 4D 49 43 52 4F 53 4F RAM 1.0. .MICROSO
[020] 46 54 20 4E 45 54 57 4F 52 4B 53 20 31 2E 30 33 FT NETWO RKS 1.03
[030] 00 02 4D 49 43 52 4F 53 4F 46 54 20 4E 45 54 57 ..MICROS OFT NETW
[040] 4F 52 4B 53 20 33 2E 30 00 02 4C 41 4E 4D 41 4E ORKS 3.0 ..LANMAN
[050] 31 2E 30 00 02 4C 4D 31 2E 32 58 30 30 32 00 02 1.0..LM1 .2X002..
[060] 44 4F 53 20 4C 41 4E 4D 41 4E 32 2E 31 00 02 53 DOS LANM AN2.1..S
[070] 61 6D 62 61 00 02 4E 54 20 4C 41 4E 4D 41 4E 20 amba..NT LANMAN
[080] 31 2E 30 00 02 4E 54 20 4C 4D 20 30 2E 31 32 00 1.0..NT LM 0.12.
[2007/03/09 09:48:29, 3] smbd/process.c:switch_message(914)
switch message SMBnegprot (pid 26409) conn 0x0
[2007/03/09 09:48:29, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/03/09 09:48:29, 5] smbd/uid.c:change_to_root_user(275)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(487)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(487)
Requested protocol [MICROSOFT NETWORKS 1.03]
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(487)
Requested protocol [MICROSOFT NETWORKS 3.0]
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(487)
Requested protocol [LANMAN1.0]
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(487)
Requested protocol [LM1.2X002]
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(487)
Requested protocol [DOS LANMAN2.1]
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(487)
Requested protocol [Samba]
[2007/03/09 09:48:29, 10] lib/util.c:set_remote_arch(2197)
set_remote_arch: Client arch is 'Samba'
[2007/03/09 09:48:29, 6] param/loadparm.c:lp_file_list_changed(2998)
lp_file_list_changed()
file /usr/lib/smb.conf -> /usr/lib/smb.conf last mod_time: Thu Mar 8
18:33:11 2007
[2007/03/09 09:48:29, 5] smbd/connection.c:claim_connection(170)
claiming 0
[2007/03/09 09:48:29, 6] param/loadparm.c:lp_file_list_changed(2998)
lp_file_list_changed()
file /usr/lib/smb.conf -> /usr/lib/smb.conf last mod_time: Thu Mar 8
18:33:11 2007
[2007/03/09 09:48:29, 10] lib/util.c:name_to_fqdn(2866)
name_to_fqdn: lookup for MEDIA -> media.swordofthespirit.org.
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_nt1(357)
using SPNEGO
[2007/03/09 09:48:29, 3] smbd/negprot.c:reply_negprot(580)
Selected protocol NT LANMAN 1.0
[2007/03/09 09:48:29, 5] smbd/negprot.c:reply_negprot(586)
negprot index=7
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(485)
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(495)
size=197
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=18985
smb_uid=0
smb_mid=2
smt_wct=17
smb_vwv[ 0]= 7 (0x7)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]= 256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]= 65 (0x41)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 256 (0x100)
smb_vwv[ 7]=10496 (0x2900)
smb_vwv[ 8]= 103 (0x67)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=33011 (0x80F3)
smb_vwv[11]=32896 (0x8080)
smb_vwv[12]= 284 (0x11C)
smb_vwv[13]=23040 (0x5A00)
smb_vwv[14]=51042 (0xC762)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=32769 (0x8001)
smb_bcc=128
[2007/03/09 09:48:29, 10] lib/util.c:dump_data(2222)
[000] 6D 65 64 69 61 00 00 00 00 00 00 00 00 00 00 00 media... ........
[010] 60 6E 06 06 2B 06 01 05 05 02 A0 64 30 62 A0 24 `n..+... ...d0b.$
[020] 30 22 06 09 2A 86 48 86 F7 12 01 02 02 06 09 2A 0"..*.H. .......*
[030] 86 48 82 F7 12 01 02 02 06 0A 2B 06 01 04 01 82 .H...... ..+.....
[040] 37 02 02 0A A3 3A 30 38 A0 36 1B 34 63 69 66 73 7....:08 .6.4cifs
[050] 2F 6D 65 64 69 61 2E 73 77 6F 72 64 6F 66 74 68 /media.s wordofth
[060] 65 73 70 69 72 69 74 2E 6F 72 67 40 53 57 4F 52 espirit. org at SWOR
[070] 44 4F 46 54 48 45 53 50 49 52 49 54 2E 4F 52 47 DOFTHESP IRIT.ORG
[2007/03/09 09:48:29, 10] smbd/process.c:setup_select_timeout(1284)
change_notify_timeout: 60
[2007/03/09 09:48:29, 10]
lib/util_sock.c:read_smb_length_return_keepalive(623)
got smb length of 164
[2007/03/09 09:48:29, 6] smbd/process.c:process_smb(1109)
got message type 0x0 of len 0xa4
[2007/03/09 09:48:29, 3] smbd/process.c:process_smb(1110)
Transaction 2 of length 168
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(485)
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(495)
size=164
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=55297
smb_tid=0
smb_pid=18985
smb_uid=0
smb_mid=3
smt_wct=12
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_vwv[ 2]=65535 (0xFFFF)
smb_vwv[ 3]= 2 (0x2)
smb_vwv[ 4]= 1 (0x1)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 0 (0x0)
smb_vwv[ 7]= 82 (0x52)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]=53340 (0xD05C)
smb_vwv[11]=32768 (0x8000)
smb_bcc=105
[2007/03/09 09:48:29, 10] lib/util.c:dump_data(2222)
[000] 60 50 06 06 2B 06 01 05 05 02 A0 46 30 44 A0 0E `P..+... ...F0D..
[010] 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A A2 32 0...+... ..7....2
[020] 04 30 4E 54 4C 4D 53 53 50 00 01 00 00 00 15 02 .0NTLMSS P.......
[030] 08 60 04 00 04 00 20 00 00 00 0C 00 0C 00 24 00 .`.... . ......$.
[040] 00 00 53 4F 54 53 4A 41 53 4F 4E 2D 4C 41 50 54 ..SOTSJA SON-LAPT
[050] 4F 50 00 55 00 6E 00 69 00 78 00 00 00 53 00 61 OP.U.n.i .x...S.a
[060] 00 6D 00 62 00 61 00 00 00 .m.b.a.. .
[2007/03/09 09:48:29, 3] smbd/process.c:switch_message(914)
switch message SMBsesssetupX (pid 26409) conn 0x0
[2007/03/09 09:48:29, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/03/09 09:48:29, 5] smbd/uid.c:change_to_root_user(275)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
wct=12 flg2=0xd801
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
Doing spnego session setup
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2007/03/09 09:48:29, 10] smbd/password.c:register_vuid(186)
register_vuid: allocated vuid = 100
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_spnego_negotiate(551)
Got OID 1 3 6 1 4 1 311 2 2 10
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_spnego_negotiate(554)
Got secblob of size 48
[2007/03/09 09:48:29, 5] auth/auth.c:make_auth_context_subsystem(505)
Making default auth method list for security=ADS
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend sam
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'sam'
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend sam_ignoredomain
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'sam_ignoredomain'
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend unix
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'unix'
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend winbind
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'winbind'
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend smbserver
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'smbserver'
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend trustdomain
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'trustdomain'
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend ntdomain
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'ntdomain'
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(47)
Attempting to register auth backend guest
[2007/03/09 09:48:29, 5] auth/auth.c:smb_register_auth(59)
Successfully added auth method 'guest'
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(391)
load_auth_module: Attempting to find an auth method to match guest
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(416)
load_auth_module: auth method guest has a valid init
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(391)
load_auth_module: Attempting to find an auth method to match sam
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(416)
load_auth_module: auth method sam has a valid init
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(391)
load_auth_module: Attempting to find an auth method to match
winbind:ntdomain
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(391)
load_auth_module: Attempting to find an auth method to match ntdomain
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(416)
load_auth_module: auth method ntdomain has a valid init
[2007/03/09 09:48:29, 5] auth/auth.c:load_auth_module(416)
load_auth_module: auth method winbind has a valid init
[2007/03/09 09:48:29, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
Got NTLMSSP neg_flags=0x60080215
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_NTLM2
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
[2007/03/09 09:48:29, 5] auth/auth.c:get_ntlm_challenge(97)
auth_get_challenge: module guest did not want to specify a challenge
[2007/03/09 09:48:29, 5] auth/auth.c:get_ntlm_challenge(97)
auth_get_challenge: module sam did not want to specify a challenge
[2007/03/09 09:48:29, 5] auth/auth.c:get_ntlm_challenge(97)
auth_get_challenge: module winbind did not want to specify a challenge
[2007/03/09 09:48:29, 5] auth/auth.c:get_ntlm_challenge(137)
auth_context challenge created by random
[2007/03/09 09:48:29, 5] auth/auth.c:get_ntlm_challenge(138)
challenge is:
[2007/03/09 09:48:29, 5] lib/util.c:dump_data(2222)
[000] BD 80 48 7C ED 87 D5 C2 ..H|....
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(485)
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(495)
size=222
smb_com=0x73
smb_rcls=22
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=18985
smb_uid=100
smb_mid=3
smt_wct=4
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_vwv[ 2]= 0 (0x0)
smb_vwv[ 3]= 132 (0x84)
smb_bcc=179
[2007/03/09 09:48:29, 10] lib/util.c:dump_data(2222)
[000] A1 81 81 30 7F A0 03 0A 01 01 A1 0C 06 0A 2B 06 ...0.... ......+.
[010] 01 04 01 82 37 02 02 0A A2 6A 04 68 4E 54 4C 4D ....7... .j.hNTLM
[020] 53 53 50 00 02 00 00 00 08 00 08 00 30 00 00 00 SSP..... ....0...
[030] 15 02 89 60 BD 80 48 7C ED 87 D5 C2 00 00 00 00 ...`..H| ........
[040] 00 00 00 00 30 00 30 00 38 00 00 00 53 00 4F 00 ....0.0. 8...S.O.
[050] 54 00 53 00 02 00 08 00 53 00 4F 00 54 00 53 00 T.S..... S.O.T.S.
[060] 01 00 0A 00 4D 00 45 00 44 00 49 00 41 00 04 00 ....M.E. D.I.A...
[070] 00 00 03 00 0A 00 6D 00 65 00 64 00 69 00 61 00 ......m. e.d.i.a.
[080] 00 00 00 00 00 55 00 6E 00 69 00 78 00 00 00 53 .....U.n .i.x...S
[090] 00 61 00 6D 00 62 00 61 00 20 00 33 00 2E 00 30 .a.m.b.a . .3...0
[0A0] 00 2E 00 32 00 34 00 00 00 53 00 4F 00 54 00 53 ...2.4.. .S.O.T.S
[0B0] 00 00 00 ...
[2007/03/09 09:48:29, 10] smbd/process.c:setup_select_timeout(1284)
change_notify_timeout: 60
[2007/03/09 09:48:29, 10]
lib/util_sock.c:read_smb_length_return_keepalive(623)
got smb length of 274
[2007/03/09 09:48:29, 6] smbd/process.c:process_smb(1109)
got message type 0x0 of len 0x112
[2007/03/09 09:48:29, 3] smbd/process.c:process_smb(1110)
Transaction 3 of length 278
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(485)
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(495)
size=274
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=55297
smb_tid=0
smb_pid=18985
smb_uid=100
smb_mid=4
smt_wct=12
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 0 (0x0)
smb_vwv[ 2]=65535 (0xFFFF)
smb_vwv[ 3]= 2 (0x2)
smb_vwv[ 4]= 1 (0x1)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 0 (0x0)
smb_vwv[ 7]= 192 (0xC0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]=53340 (0xD05C)
smb_vwv[11]=32768 (0x8000)
smb_bcc=215
[2007/03/09 09:48:29, 10] lib/util.c:dump_data(2222)
[000] A1 81 BD 30 81 BA A2 81 B7 04 81 B4 4E 54 4C 4D ...0.... ....NTLM
[010] 53 53 50 00 03 00 00 00 18 00 18 00 40 00 00 00 SSP..... .... at ...
[020] 18 00 18 00 58 00 00 00 08 00 08 00 70 00 00 00 ....X... ....p...
[030] 14 00 14 00 78 00 00 00 18 00 18 00 8C 00 00 00 ....x... ........
[040] 10 00 10 00 A4 00 00 00 15 02 08 60 65 49 38 9F ........ ...`eI8.
[050] AF 07 1F 7B 00 00 00 00 00 00 00 00 00 00 00 00 ...{.... ........
[060] 00 00 00 00 99 94 53 82 D5 36 69 23 78 06 CF A4 ......S. .6i#x...
[070] 8C E9 F4 3A 3C 7B 16 2D C2 AD 47 A4 53 00 4F 00 ...:<{.- ..G.S.O.
[080] 54 00 53 00 53 00 4F 00 54 00 53 00 2B 00 6A 00 T.S.S.O. T.S.+.j.
[090] 61 00 73 00 6F 00 6E 00 4A 00 41 00 53 00 4F 00 a.s.o.n. J.A.S.O.
[0A0] 4E 00 2D 00 4C 00 41 00 50 00 54 00 4F 00 50 00 N.-.L.A. P.T.O.P.
[0B0] 30 83 D4 42 67 D1 F7 48 0A 0F 35 1A 91 AA 96 71 0..Bg..H ..5....q
[0C0] 00 55 00 6E 00 69 00 78 00 00 00 53 00 61 00 6D .U.n.i.x ...S.a.m
[0D0] 00 62 00 61 00 00 00 .b.a...
[2007/03/09 09:48:29, 3] smbd/process.c:switch_message(914)
switch message SMBsesssetupX (pid 26409) conn 0x0
[2007/03/09 09:48:29, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/03/09 09:48:29, 5] smbd/uid.c:change_to_root_user(275)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
wct=12 flg2=0xd801
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
Doing spnego session setup
[2007/03/09 09:48:29, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
NativeOS=[Unix] NativeLanMan=[Samba] PrimaryDomain=[]
[2007/03/09 09:48:29, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
Got user=[SOTS+jason] domain=[SOTS] workstation=[JASON-LAPTOP] len1=24
len2=24
[2007/03/09 09:48:29, 5] auth/auth_ntlmssp.c:auth_ntlmssp_set_challenge(66)
auth_context challenge set by NTLMSSP callback (NTLM2)
[2007/03/09 09:48:29, 5] auth/auth_ntlmssp.c:auth_ntlmssp_set_challenge(67)
challenge is:
[2007/03/09 09:48:29, 5] lib/util.c:dump_data(2222)
[000] A7 D1 95 94 16 3D E3 46 .....=.F
[2007/03/09 09:48:29, 6] param/loadparm.c:lp_file_list_changed(2998)
lp_file_list_changed()
file /usr/lib/smb.conf -> /usr/lib/smb.conf last mod_time: Thu Mar 8
18:33:11 2007
[2007/03/09 09:48:29, 5] auth/auth_util.c:make_user_info_map(161)
make_user_info_map: Mapping user [SOTS]\[SOTS+jason] from workstation
[JASON-LAPTOP]
[2007/03/09 09:48:29, 5] auth/auth_util.c:make_user_info(75)
attempting to make a user_info for SOTS+jason (SOTS+jason)
[2007/03/09 09:48:29, 5] auth/auth_util.c:make_user_info(85)
making strings for SOTS+jason's user_info struct
[2007/03/09 09:48:29, 5] auth/auth_util.c:make_user_info(117)
making blobs for SOTS+jason's user_info struct
[2007/03/09 09:48:29, 10] auth/auth_util.c:make_user_info(135)
made an encrypted user_info for SOTS+jason (SOTS+jason)
[2007/03/09 09:48:29, 3] auth/auth.c:check_ntlm_password(221)
check_ntlm_password: Checking password for unmapped user
[SOTS]\[SOTS+jason]@[JASON-LAPTOP] with the new password interface
[2007/03/09 09:48:29, 3] auth/auth.c:check_ntlm_password(224)
check_ntlm_password: mapped user is: [SOTS]\[SOTS+jason]@[JASON-LAPTOP]
[2007/03/09 09:48:29, 10] auth/auth.c:check_ntlm_password(233)
check_ntlm_password: auth_context challenge created by NTLMSSP callback
(NTLM2)
[2007/03/09 09:48:29, 10] auth/auth.c:check_ntlm_password(235)
challenge is:
[2007/03/09 09:48:29, 5] lib/util.c:dump_data(2222)
[000] A7 D1 95 94 16 3D E3 46 .....=.F
[2007/03/09 09:48:29, 10] auth/auth.c:check_ntlm_password(261)
check_ntlm_password: guest had nothing to say
[2007/03/09 09:48:29, 8] lib/util.c:is_myname(2043)
is_myname("SOTS") returns 0
[2007/03/09 09:48:29, 6] auth/auth_sam.c:check_samstrict_security(414)
check_samstrict_security: SOTS is not one of my local names
(ROLE_DOMAIN_MEMBER)
[2007/03/09 09:48:29, 10] auth/auth.c:check_ntlm_password(261)
check_ntlm_password: sam had nothing to say
[2007/03/09 09:48:29, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/03/09 09:48:29, 3] smbd/uid.c:push_conn_ctx(345)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/03/09 09:48:29, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/03/09 09:48:29, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/03/09 09:48:29, 5] auth/auth.c:check_ntlm_password(273)
check_ntlm_password: winbind authentication for user [SOTS+jason]
FAILED with error NT_STATUS_NO_SUCH_USER
[2007/03/09 09:48:29, 2] auth/auth.c:check_ntlm_password(319)
check_ntlm_password: Authentication for user [SOTS+jason] ->
[SOTS+jason] FAILED with error NT_STATUS_NO_SUCH_USER
[2007/03/09 09:48:29, 5] auth/auth_util.c:free_user_info(1867)
attempting to free (and zero) a user_info structure
[2007/03/09 09:48:29, 10] auth/auth_util.c:free_user_info(1871)
structure was created for SOTS+jason
[2007/03/09 09:48:29, 3] smbd/error.c:error_packet(146)
error packet at smbd/sesssetup.c(99) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_FAILURE
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(485)
[2007/03/09 09:48:29, 5] lib/util.c:show_msg(495)
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=18985
smb_uid=100
smb_mid=4
smt_wct=0
smb_bcc=0
[2007/03/09 09:48:29, 10] smbd/process.c:setup_select_timeout(1284)
change_notify_timeout: 60
[2007/03/09 09:48:29, 10] lib/util_sock.c:read_data(525)
read_data: read of 4 returned 0. Error = Error 0
[2007/03/09 09:48:29, 10] lib/util_sock.c:receive_smb_raw(672)
receive_smb_raw: length < 0!
[2007/03/09 09:48:29, 3] smbd/process.c:timeout_processing(1359)
timeout_processing: End of file from client (client has disconnected).
[2007/03/09 09:48:29, 5] lib/gencache.c:gencache_shutdown(94)
Closing cache file
[2007/03/09 09:48:29, 5] libsmb/namecache.c:namecache_shutdown(79)
namecache_shutdown: netbios namecache closed successfully.
[2007/03/09 09:48:29, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_nt_user_token(448)
NT user token: (NULL)
[2007/03/09 09:48:29, 5] auth/auth_util.c:debug_unix_user_token(474)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2007/03/09 09:48:29, 5] smbd/uid.c:change_to_root_user(275)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/03/09 09:48:29, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2007/03/09 09:48:29, 3] smbd/server.c:exit_server_common(675)
Server exit (normal exit)
More information about the samba
mailing list