LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Joining XP Pro SP2 to Samba domain PDC (https://www.linuxquestions.org/questions/linux-networking-3/joining-xp-pro-sp2-to-samba-domain-pdc-369822/)

Les62 10-04-2005 08:22 PM

Joining XP Pro SP2 to Samba domain PDC
 
I am having a permanent problem joining freshly installed WinXP SP2 Pro workstations to an otherwise properly functioning office LAN with a Mandrake 9.2-based Samba 3.0.4 PDC.

At the moment, there are only Win98SE workstations that can access Samba shares in workgroup mode and the same is also possible using the WinXP boxes.

However, when I try to join the domain in WinXP, it all goes through the steps (new user name+pw+domain, machine name+domain, Samba root+pw+domain), then proceeds to allow to add user and specify type, but when it would actually get executed, it produces the following error:

The trust relationship between this workstation and the primary domain failed.

I have been searching the net for that error linked to Samba and ended up with the recent Samba release note (v3.0.20) where it says that version 3.0.12 fixed this type of error. Could you pls confirm that, so that the upgrade would really eliminate the above problem.

In addition, could you suggest any site/doc/manual to allow a systematic, step-by-step investigation on how to fix problems related to joining XP to a Samba domain? (Unfortunately, I have been fighting with it for several months and checked out various forums and several sites, including Samba's to find anything that could help.)

Thanks,

Les

ocavid 10-05-2005 01:48 AM

Re: Joining XP Pro SP2 to Samba domain PDC
 
Quote:

Originally posted by Les62
I am having a permanent problem joining freshly installed WinXP SP2 Pro workstations to an otherwise properly functioning office LAN with a Mandrake 9.2-based Samba 3.0.4 PDC.

At the moment, there are only Win98SE workstations that can access Samba shares in workgroup mode and the same is also possible using the WinXP boxes.

However, when I try to join the domain in WinXP, it all goes through the steps (new user name+pw+domain, machine name+domain, Samba root+pw+domain), then proceeds to allow to add user and specify type, but when it would actually get executed, it produces the following error:

The trust relationship between this workstation and the primary domain failed.

I have been searching the net for that error linked to Samba and ended up with the recent Samba release note (v3.0.20) where it says that version 3.0.12 fixed this type of error. Could you pls confirm that, so that the upgrade would really eliminate the above problem.

In addition, could you suggest any site/doc/manual to allow a systematic, step-by-step investigation on how to fix problems related to joining XP to a Samba domain? (Unfortunately, I have been fighting with it for several months and checked out various forums and several sites, including Samba's to find anything that could help.)

Thanks,

Les

i am sorry i cannot help much but we are using samba v3.0.14, and it is working as expected with Windows XP Pro with SP2.

can you show the log?

regards,
oscar

Les62 10-05-2005 05:00 AM

Hi Oscar,

you can find 3 log files below (GBMK-01.LOG, 192.168.3.25.LOG and NMBD.LOG). Due to the size of GBMK-01.LOG being about 38k, I had to split my post.)

Domain name is GBMK, PC name with XP SP2 to join is GBMK-01 with IP address 192.168.3.25. Samba's NetBios name is PDCOFGBMK with IP address 192.168.3.2. Test period is between 10:39-10:48 today with the steps outlined in my original message.

GBMK-01.LOG:

[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: LSA_OPENPOLICY2
[2005/10/05 10:41:14, 3] lib/util_seaccess.c:se_access_check(251)
[2005/10/05 10:41:14, 3] lib/util_seaccess.c:se_access_check(252)
se_access_check: user sid is S-1-5-21-2482455821-778388354-655563552-1000
se_access_check: also S-1-5-21-2482455821-778388354-655563552-1001
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 824
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 72 of length 134
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBtrans (pid 7135)
[2005/10/05 10:41:14, 3] smbd/ipc.c:reply_trans(538)
trans <\PIPE\> data=46 params=0 setup=2
[2005/10/05 10:41:14, 3] smbd/ipc.c:named_pipe(334)
named pipe command on <> name
[2005/10/05 10:41:14, 3] smbd/ipc.c:api_fd_reply(296)
Got API command 0x26 on pipe "lsarpc" (pnum 7277)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: LSA_QUERYINFOPOLICY
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 512
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 73 of length 132
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBtrans (pid 7135)
[2005/10/05 10:41:14, 3] smbd/ipc.c:reply_trans(538)
trans <\PIPE\> data=44 params=0 setup=2
[2005/10/05 10:41:14, 3] smbd/ipc.c:named_pipe(334)
named pipe command on <> name
[2005/10/05 10:41:14, 3] smbd/ipc.c:api_fd_reply(296)
Got API command 0x26 on pipe "lsarpc" (pnum 7277)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: LSA_CLOSE
[2005/10/05 10:41:14, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(200)
Closed policy
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 74 of length 242
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Servicepack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(438)
Got OID 1 3 6 1 4 1 311 2 2 10
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_spnego_negotiate(441)
Got secblob of size 40
[2005/10/05 10:41:14, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0xe2088297
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 75 of length 278
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2005/10/05 10:41:14, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Servicepack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2005/10/05 10:41:14, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
Got user=[] domain=[] workstation=[GBMK-01] len1=1 len2=0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: Checking password for unmapped user []\[]@[GBMK-01] with the new password interface
[2005/10/05 10:41:14, 3] auth/auth.c:check_ntlm_password(222)
check_ntlm_password: mapped user is: [GBMK]\[]@[GBMK-01]
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] auth/auth.c:check_ntlm_password(268)
check_ntlm_password: guest authentication for user [] succeeded
[2005/10/05 10:41:14, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
NTLMSSP Sign/Seal - Initialising with flags:
[2005/10/05 10:41:14, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0x60088215
[2005/10/05 10:41:14, 3] smbd/password.c:register_vuid(222)
User name: nobody Real name: Nobody
[2005/10/05 10:41:14, 3] smbd/password.c:register_vuid(241)
UNIX uid 65534 is UNIX user nobody, and will be vuid 101
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 76 of length 88
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBtconX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2005/10/05 10:41:14, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.3.25)
[2005/10/05 10:41:14, 3] smbd/service.c:make_connection_snum(457)
Connect path is '/var/tmp' for service [IPC$]
[2005/10/05 10:41:14, 3] lib/util_seaccess.c:se_access_check(251)
[2005/10/05 10:41:14, 3] lib/util_seaccess.c:se_access_check(252)
se_access_check: user sid is S-1-5-21-2482455821-778388354-655563552-501
se_access_check: also S-1-5-21-2482455821-778388354-655563552-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-2482455821-778388354-655563552-132069
[2005/10/05 10:41:14, 3] smbd/vfs.c:vfs_init_default(203)
Initialising default vfs hooks
[2005/10/05 10:41:14, 3] lib/util_seaccess.c:se_access_check(251)
[2005/10/05 10:41:14, 3] lib/util_seaccess.c:se_access_check(252)
se_access_check: user sid is S-1-5-21-2482455821-778388354-655563552-501
se_access_check: also S-1-5-21-2482455821-778388354-655563552-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-2482455821-778388354-655563552-132069
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/service.c:make_connection_snum(619)
GBMK-01 (192.168.3.25) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/reply.c:reply_tcon_and_X(429)
tconX service=IPC$
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 77 of length 108
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBntcreateX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/nttrans.c:nt_open_pipe(516)
nt_open_pipe: Known pipe NETLOGON opening.
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 78 of length 140
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7135)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(887)
api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:check_bind_req(759)
check_bind_req for \PIPE\NETLOGON
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=7280 nwritten=72
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 79 of length 63
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=7280 min=1024 max=1024 nread=68
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 80 of length 168
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7135)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_REQCHAL
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 40
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=7280 nwritten=100
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 81 of length 63
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=7280 min=1024 max=1024 nread=36
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 82 of length 204
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7135)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=7280 nwritten=136
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 83 of length 63
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=7280 min=1024 max=1024 nread=32
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 84 of length 204
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7135)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_AUTH2
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(101) : conn_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(101) : conn_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 0] rpc_server/srv_netlog_nt.c:get_md4pw(218)
get_md4pw: Workstation GBMK-01$: no account in domain
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 58
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=7280 nwritten=136
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 85 of length 63
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=7280 min=1024 max=1024 nread=40
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 86 of length 168
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7135)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_REQCHAL
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 40
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=7280 nwritten=100
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 87 of length 63
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=7280 min=1024 max=1024 nread=36
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 88 of length 204
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7135)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0

{see second part of the log files in next post}

Les62 10-05-2005 05:05 AM

{continuing from previous post}

[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=7280 nwritten=136
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 89 of length 63
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=7280 min=1024 max=1024 nread=32
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 90 of length 204
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7135)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_AUTH2
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(101) : conn_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/10/05 10:41:14, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(101) : conn_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 0] rpc_server/srv_netlog_nt.c:get_md4pw(218)
get_md4pw: Workstation GBMK-01$: no account in domain
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 58
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=7280 nwritten=136
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 91 of length 63
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=7280 min=1024 max=1024 nread=40
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 92 of length 45
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBclose (pid 7135)
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 93 of length 132
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBtrans (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/ipc.c:reply_trans(538)
trans <\PIPE\> data=44 params=0 setup=2
[2005/10/05 10:41:14, 3] smbd/ipc.c:named_pipe(334)
named pipe command on <> name
[2005/10/05 10:41:14, 3] smbd/ipc.c:api_fd_reply(296)
Got API command 0x26 on pipe "lsarpc" (pnum 7277)
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: LSA_CLOSE
[2005/10/05 10:41:14, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(200)
Closed policy
[2005/10/05 10:41:14, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 94 of length 45
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBclose (pid 7135)
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 95 of length 43
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBulogoffX (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/reply.c:reply_ulogoffX(1207)
ulogoffX vuid=100
[2005/10/05 10:41:14, 3] smbd/process.c:process_smb(890)
Transaction 96 of length 39
[2005/10/05 10:41:14, 3] smbd/process.c:switch_message(685)
switch message SMBtdis (pid 7135)
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:14, 3] smbd/service.c:close_cnum(801)
GBMK-01 (192.168.3.25) closed connection to service IPC$
[2005/10/05 10:41:14, 3] smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2005/10/05 10:41:14, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:25, 3] smbd/process.c:process_smb(890)
Transaction 97 of length 43
[2005/10/05 10:41:25, 3] smbd/process.c:switch_message(685)
switch message SMBulogoffX (pid 7135)
[2005/10/05 10:41:25, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:25, 3] smbd/reply.c:reply_ulogoffX(1207)
ulogoffX vuid=101
[2005/10/05 10:41:25, 3] smbd/process.c:process_smb(890)
Transaction 98 of length 39
[2005/10/05 10:41:25, 3] smbd/process.c:switch_message(685)
switch message SMBtdis (pid 7135)
[2005/10/05 10:41:25, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:25, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:25, 3] smbd/service.c:close_cnum(801)
GBMK-01 (192.168.3.25) closed connection to service IPC$
[2005/10/05 10:41:25, 3] smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2005/10/05 10:41:25, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:25, 3] smbd/process.c:timeout_processing(1104)
timeout_processing: End of file from client (client has disconnected).
[2005/10/05 10:41:25, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:41:25, 2] smbd/server.c:exit_server(568)
Closing connections
[2005/10/05 10:41:25, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2005/10/05 10:41:25, 3] smbd/server.c:exit_server(611)
Server exit (normal exit)
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 1 of length 137
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBnegprot (pid 7143)
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [LANMAN1.0]
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [Windows for Workgroups 3.1a]
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [LM1.2X002]
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [LANMAN2.1]
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_negprot(455)
Requested protocol [NT LM 0.12]
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_nt1(329)
using SPNEGO
[2005/10/05 10:42:20, 3] smbd/negprot.c:reply_negprot(532)
Selected protocol NT LM 0.12
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 2 of length 242
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2005/10/05 10:42:20, 2] smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Servicepack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_spnego_negotiate(438)
Got OID 1 3 6 1 4 1 311 2 2 10
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_spnego_negotiate(441)
Got secblob of size 40
[2005/10/05 10:42:20, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0xe2088297
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 3 of length 278
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBsesssetupX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X(649)
wct=12 flg2=0xc807
[2005/10/05 10:42:20, 2] smbd/sesssetup.c:setup_new_vc_session(602)
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(529)
Doing spnego session setup
[2005/10/05 10:42:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(560)
NativeOS=[Windows 2002 Servicepack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[]
[2005/10/05 10:42:20, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
Got user=[] domain=[] workstation=[GBMK-01] len1=1 len2=0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: Checking password for unmapped user []\[]@[GBMK-01] with the new password interface
[2005/10/05 10:42:20, 3] auth/auth.c:check_ntlm_password(222)
check_ntlm_password: mapped user is: [GBMK]\[]@[GBMK-01]
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] auth/auth.c:check_ntlm_password(268)
check_ntlm_password: guest authentication for user [] succeeded
[2005/10/05 10:42:20, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319)
NTLMSSP Sign/Seal - Initialising with flags:
[2005/10/05 10:42:20, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
Got NTLMSSP neg_flags=0x60088215
[2005/10/05 10:42:20, 3] smbd/password.c:register_vuid(222)
User name: nobody Real name: Nobody
[2005/10/05 10:42:20, 3] smbd/password.c:register_vuid(241)
UNIX uid 65534 is UNIX user nobody, and will be vuid 100
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 4 of length 88
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBtconX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2005/10/05 10:42:20, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.3.25)
[2005/10/05 10:42:20, 3] smbd/service.c:make_connection_snum(457)
Connect path is '/var/tmp' for service [IPC$]
[2005/10/05 10:42:20, 3] lib/util_seaccess.c:se_access_check(251)
[2005/10/05 10:42:20, 3] lib/util_seaccess.c:se_access_check(252)
se_access_check: user sid is S-1-5-21-2482455821-778388354-655563552-501
se_access_check: also S-1-5-21-2482455821-778388354-655563552-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-2482455821-778388354-655563552-132069
[2005/10/05 10:42:20, 3] smbd/vfs.c:vfs_init_default(203)
Initialising default vfs hooks
[2005/10/05 10:42:20, 3] lib/util_seaccess.c:se_access_check(251)
[2005/10/05 10:42:20, 3] lib/util_seaccess.c:se_access_check(252)
se_access_check: user sid is S-1-5-21-2482455821-778388354-655563552-501
se_access_check: also S-1-5-21-2482455821-778388354-655563552-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-2482455821-778388354-655563552-132069
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/service.c:make_connection_snum(619)
GBMK-01 (192.168.3.25) connect to service IPC$ initially as user nobody (uid=65534, gid=65534) (pid 7143)
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/reply.c:reply_tcon_and_X(429)
tconX service=IPC$
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 5 of length 108
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBntcreateX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/nttrans.c:nt_open_pipe(516)
nt_open_pipe: Known pipe NETLOGON opening.
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 6 of length 140
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7143)
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(887)
api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe.c:check_bind_req(759)
check_bind_req for \PIPE\NETLOGON
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=720b nwritten=72
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 7 of length 63
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=720b min=1024 max=1024 nread=68
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 8 of length 168
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7143)
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_REQCHAL
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 40
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=720b nwritten=100
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 9 of length 63
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=720b min=1024 max=1024 nread=36
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 10 of length 204
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7143)
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=720b nwritten=136
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 11 of length 63
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=720b min=1024 max=1024 nread=32
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 12 of length 204
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7143)
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_AUTH2
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 0] rpc_server/srv_netlog_nt.c:get_md4pw(218)
get_md4pw: Workstation GBMK-01$: no account in domain
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 58
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=720b nwritten=136
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 13 of length 63
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=720b min=1024 max=1024 nread=40
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 14 of length 168
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7143)
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_REQCHAL
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 40
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=720b nwritten=100
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 15 of length 63
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=720b min=1024 max=1024 nread=36
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 16 of length 204
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7143)
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=720b nwritten=136
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 17 of length 63
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=720b min=1024 max=1024 nread=32
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 18 of length 204
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBwriteX (pid 7143)
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 0
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe.c:api_rpcTNP(1538)
api_rpcTNP: rpc command: NET_AUTH2
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(65534, 65534) : sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/10/05 10:42:20, 3] smbd/uid.c:push_conn_ctx(351)
push_conn_ctx(100) : conn_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/10/05 10:42:20, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (65534, 65534) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:20, 0] rpc_server/srv_netlog_nt.c:get_md4pw(218)
get_md4pw: Workstation GBMK-01$: no account in domain
[2005/10/05 10:42:20, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 58
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_write_and_X(199)
writeX-IPC pnum=720b nwritten=136
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 19 of length 63
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBreadX (pid 7143)
[2005/10/05 10:42:20, 3] smbd/pipes.c:reply_pipe_read_and_X(242)
readX-IPC pnum=720b min=1024 max=1024 nread=40
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 20 of length 45
[2005/10/05 10:42:20, 3] smbd/process.c:switch_message(685)
switch message SMBclose (pid 7143)
[2005/10/05 10:42:31, 3] smbd/process.c:process_smb(890)
Transaction 21 of length 43
[2005/10/05 10:42:31, 3] smbd/process.c:switch_message(685)
switch message SMBulogoffX (pid 7143)
[2005/10/05 10:42:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:31, 3] smbd/reply.c:reply_ulogoffX(1207)
ulogoffX vuid=100
[2005/10/05 10:42:31, 3] smbd/process.c:process_smb(890)
Transaction 22 of length 39
[2005/10/05 10:42:31, 3] smbd/process.c:switch_message(685)
switch message SMBtdis (pid 7143)
[2005/10/05 10:42:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:31, 3] smbd/service.c:close_cnum(801)
GBMK-01 (192.168.3.25) closed connection to service IPC$
[2005/10/05 10:42:31, 3] smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2005/10/05 10:42:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:31, 3] smbd/process.c:timeout_processing(1104)
timeout_processing: End of file from client (client has disconnected).
[2005/10/05 10:42:31, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/10/05 10:42:31, 2] smbd/server.c:exit_server(568)
Closing connections
[2005/10/05 10:42:31, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2005/10/05 10:42:31, 3] smbd/server.c:exit_server(611)
Server exit (normal exit)

{end of first log file, splitting rest to next post}

Les62 10-05-2005 05:07 AM

{continuing from previous post}


192.168.3.25.LOG:

[2005/10/05 10:41:12, 3] smbd/oplock.c:init_oplocks(1226)
open_oplock_ipc: opening loopback UDP socket.
[2005/10/05 10:41:12, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
Linux kernel oplocks enabled
[2005/10/05 10:41:12, 3] smbd/oplock.c:init_oplocks(1257)
open_oplock ipc: pid = 7135, global_oplock_port = 32851
[2005/10/05 10:41:12, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2005/10/05 10:41:12, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.3.25)
[2005/10/05 10:41:12, 3] smbd/process.c:process_smb(890)
Transaction 0 of length 72
[2005/10/05 10:41:12, 2] smbd/reply.c:reply_special(208)
netbios connect: name1=PDCOFGBMK name2=GBMK-01
[2005/10/05 10:41:12, 2] smbd/reply.c:reply_special(215)
netbios connect: local=pdcofGBMK remote=GBMK-01, name type = 0
[2005/10/05 10:42:20, 3] smbd/oplock.c:init_oplocks(1226)
open_oplock_ipc: opening loopback UDP socket.
[2005/10/05 10:42:20, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
Linux kernel oplocks enabled
[2005/10/05 10:42:20, 3] smbd/oplock.c:init_oplocks(1257)
open_oplock ipc: pid = 7143, global_oplock_port = 32851
[2005/10/05 10:42:20, 3] lib/access.c:check_access(313)
check_access: no hostnames in host allow/deny list.
[2005/10/05 10:42:20, 2] lib/access.c:check_access(324)
Allowed connection from (192.168.3.25)
[2005/10/05 10:42:20, 3] smbd/process.c:process_smb(890)
Transaction 0 of length 72
[2005/10/05 10:42:20, 2] smbd/reply.c:reply_special(208)
netbios connect: name1=PDCOFGBMK name2=GBMK-01
[2005/10/05 10:42:20, 2] smbd/reply.c:reply_special(215)
netbios connect: local=pdcofGBMK remote=GBMK-01, name type = 0

NMBD.LOG:

wins_process_name_query: name query for name GBMK<1c> returning first IP 192.168.3.2.
[2005/10/05 10:42:19, 3] nmbd/nmbd_processlogon.c:process_logon_packet(278)
process_logon_packet: SAMLOGON sidsize 24 ntv 11
[2005/10/05 10:42:19, 3] nmbd/nmbd_processlogon.c:process_logon_packet(278)
process_logon_packet: SAMLOGON sidsize 24 ntv 11

Thanks for your help in advance,

Les

PS: Is there any way to attach files, instead of pasting here? As I see it is disabled (at least for me).

archtoad6 10-05-2005 06:31 AM

I think you would have to put it on an independent server. Even if "Attachments" were allowed, they would appear in the body of the post.

ocavid 10-05-2005 09:02 AM

LES,

Here's our working smb.conf this might help troubleshoot yours...

# Global parameters
[global]
log file = /var/log/samba/log.%I
load printers = No
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
logon drive = P:
username map = /et/c/samba/smbusers
delete user from group script = /usr/sbin/deluser %u %g
interfaces = 192.168.1.0/255.255.255.0 127.0.0.1/255.255.255.0
domain master = Yes
wins proxy = Yes
passdb backend = tdbsam
wins support = true
netbios name = bigone
netbios aliases = ourlabsvr1
server string = OURLAB.NET Authentication Server
logon script = netlogon.bat
logon path = /home/samba/netlogon
workgroup = OURLAB.NET
os level = 65
add user script = /usr/sbin/useradd %u
security = user
add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %u
max log size = 50
delete user script = /usr/sbin/userdel %u
domain logons = Yes

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0600
directory mask = 0700
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
share modes = No

[Profiles]
path = /usr/local/samba/profiles
browseable = No
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

-----------
Notes: When we first try to join in the domain we were not able to join at first, here are the things that we found.

1. in the line:
add machine script = usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %u
take note of -g <--- it's a small g. we corrected from it was G.
2. We created a group called machines

after we made those corrections, everything works.

have a nice day,

Oscar

archtoad6 10-05-2005 10:02 AM

Les,

"Dieing" to know if it worked.


Oscar,

Is there a typo in "username map = /et/c/samba/smbusers"?
Shouldn't that be "username map = /etc/samba/smbusers"?

Is ourlab.net (65.105.181.66) really your domain name / IP address?


Both,

I wonder if the split post -- cluttered thread problem could be fixed by putting long files in the wiki? Would it be allowed, could they be protected from tampering?

I have been following this w/ interest, hope this isn't too off topic.

ocavid 10-05-2005 10:22 AM

Rick,

sorry for that typo...

but i reviewed it, its all the same with our config here.

thanks,
oscar

ocavid 10-05-2005 10:49 AM

by the way we are using a local domain name OURLAB.NET and i am not aware that there is public OURLAB.NET, we might change it thanks!

Les62 10-05-2005 10:55 AM

Hi Oscar (and Rick),

Thanks for the contributions. Maybe I give some more background details in order to see why I am so puzzled.

Since the office LAN is a production environment, when I first ran into an earlier problem back in June (XP could not find the domain, saying 'domain does not exist or cannot be connected'), I put together a test environment with the same Mandrake 9.2 and the included Samba 2.x on the CD that I immediately upgraded to the then downloadable v3.0.10. After a few attempts I could successfully join all types of Windows clients (win2k, xp) to the test Samba server, so I thought it will be straightforward to apply the same changes to 'smb.conf' on the production site and the problem will get solved. I also reached the conclusion of having to create the 'machine' account if it did not exist (also learnt from several, otherwise very useful guides on Samba), and that the Unix user must exist prior to joining the domain with him. In fact, during the join procedure, Samba creates the XP machine account if it was missing, i.e. XP and Samba effectively communicate.

So you can imagine my surprise when the original Samba server (with the changes applied) refused XP to join and produced the error of failed trust relationship. Therefore, I do think that I have a working 'smb.conf', but I miss the tools to investigate the root cause of the difference in the behavior between the production and test sites. When I saw the Samba release note yesterday, I thought maybe this could account for it (production site, Samba v3.0.4 vs test site v3.0.10) and hence my primary question.

Have a nice day,

Les

archtoad6 10-06-2005 10:29 AM

Oscar,

This points out the need for official reserved local domain names.

I use ".lan" and I think that ".*an" should be officially reserved for local use, same as "10." etc.

Now back to Samba, I doubt I can contribute to the solution; but I will follow w/ interest.

ocavid 10-07-2005 03:35 AM

Quote:

Originally posted by archtoad6
Oscar,

This points out the need for official reserved local domain names.

I use ".lan" and I think that ".*an" should be officially reserved for local use, same as "10." etc.

Now back to Samba, I doubt I can contribute to the solution; but I will follow w/ interest.

hehe that would be a good idea!

to Les:

i tried googling about the problem it seems i could not find any solution for your problem. :(

have you tried turning on or off the client ntlmv2 auth = no/yes?

how i wish i could help but i am out of idea, anyway i will still take note this problem cause i will be installing more samba servers, i might encounter one.

have a nice day.

Oscar

archtoad6 10-09-2005 08:00 AM

dot LAN, dot WAN, dot MAN, etc.
 
Quote:

hehe that would be a good idea!
Just remember you heard it here first.

When IANA or whoever implements this, I want credit for originating the idea.

BTW, is this worth a slashdot post?


All times are GMT -5. The time now is 10:03 PM.