xpc:/home/radium # smbd -i -d3 Maximum core file size limits now 16777216(soft) -1(hard) get_current_groups: user is in 1 groups: 0 smbd version 3.0.23d-6-1083-SUSE-SL10.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2006 uid=0 gid=0 euid=0 egid=0 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Processing section "[netlogon]" Processing section "[profiles]" Processing section "[share]" adding IPC service reloading printcap cache reload status: ok reloading printcap cache reload status: ok added interface ip=192.168.0.7 bcast=192.168.0.255 nmask=255.255.255.0 loaded services Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=kiki.GR))] smbldap_open_connection: connection opened ldap_connect_system: succesful connection to the LDAP server push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 init_sam_from_ldap: Entry found for user: root pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 init_group_from_ldap: Entry found for group: 544 store_gid_sid_cache: gid 544 in cache -> S-1-5-32-544 init_group_from_ldap: Entry found for group: 10433 store_gid_sid_cache: gid 10433 in cache -> S-1-5-32-545 get_privileges: No privileges assigned to SID [S-1-5-21-4166108345-1492360945-4061995267-500] get_privileges: No privileges assigned to SID [S-1-5-2] get_privileges: No privileges assigned to SID [S-1-5-11] se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 fetch gid from cache 544 -> S-1-5-32-544 fetch gid from cache 10433 -> S-1-5-32-545 get_privileges: No privileges assigned to SID [S-1-5-21-4166108345-1492360945-4061995267-501] get_privileges: No privileges assigned to SID [S-1-22-2-65533] get_privileges: No privileges assigned to SID [S-1-5-2] get_privileges: No privileges assigned to SID [S-1-5-32-546] get_privileges: No privileges assigned to SID [S-1-22-2-65534] waiting for a connection <----- this is where the winbox trying to join into domain ---------> open_oplock_ipc: initializing messages. Linux kernel oplocks enabled Transaction 0 of length 72 netbios connect: name1=XPC name2=VAIO netbios connect: local=xpc remote=vaio, name type = 0 Transaction 1 of length 137 switch message SMBnegprot (pid 4355) conn 0x0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Requested protocol [PC NETWORK PROGRAM 1.0] Requested protocol [LANMAN1.0] Requested protocol [Windows for Workgroups 3.1a] Requested protocol [LM1.2X002] Requested protocol [LANMAN2.1] Requested protocol [NT LM 0.12] using SPNEGO Selected protocol NT LM 0.12 Transaction 2 of length 240 switch message SMBsesssetupX (pid 4355) conn 0x0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 wct=12 flg2=0xc807 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. Doing spnego session setup NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] Got OID 1 3 6 1 4 1 311 2 2 10 Got secblob of size 40 Got NTLMSSP neg_flags=0xe2088297 Transaction 3 of length 362 switch message SMBsesssetupX (pid 4355) conn 0x0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 wct=12 flg2=0xc807 setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. Doing spnego session setup NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002 5.1] PrimaryDomain=[] Got user=[administrator] domain=[kiki.gr] workstation=[VAIO] len1=24 len2=24 Mapped user administrator to root push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 check_ntlm_password: Checking password for unmapped user [kiki.gr]\[administrator]@[VAIO] with the new passwo rd interface check_ntlm_password: mapped user is: [kiki.gr]\[root]@[VAIO] push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 init_sam_from_ldap: Entry found for user: root push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 push_conn_ctx(0) : conn_ctx_stack_ndx = 1 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 init_group_from_ldap: Entry found for group: 513 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 store_gid_sid_cache: gid 513 in cache -> S-1-5-21-4166108345-1492360945-4061995267-513 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 check_ntlm_password: sam authentication for user [administrator] succeeded push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 request done: ld 0x80446548 msgid 1 request done: ld 0x80446548 msgid 2 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 check_ntlm_password: authentication for user [administrator] -> [root] -> [root] succeeded push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 request done: ld 0x803c1ec8 msgid 22 init_sam_from_ldap: Entry found for user: root request done: ld 0x803c1ec8 msgid 23 fetch gid from cache 513 -> S-1-5-21-4166108345-1492360945-4061995267-513 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 fetch uid from cache 0 -> S-1-5-21-4166108345-1492360945-4061995267-500 fetch gid from cache 513 -> S-1-5-21-4166108345-1492360945-4061995267-513 request done: ld 0x803c1ec8 msgid 24 fetch gid from cache 544 -> S-1-5-32-544 fetch gid from cache 10433 -> S-1-5-32-545 request done: ld 0x803c1ec8 msgid 25 request done: ld 0x803c1ec8 msgid 26 get_privileges: No privileges assigned to SID [S-1-5-21-4166108345-1492360945-4061995267-500] get_privileges: No privileges assigned to SID [S-1-22-2-0] get_privileges: No privileges assigned to SID [S-1-5-2] get_privileges: No privileges assigned to SID [S-1-5-11] request done: ld 0x803c1ec8 msgid 27 request done: ld 0x803c1ec8 msgid 28 request done: ld 0x803c1ec8 msgid 29 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0xe2088215 User name: root Real name: root UNIX uid 0 is UNIX user root, and will be vuid 101 Adding homes service for user 'root' using home directory: '/root' adding home's share [root] for user 'root' at '/root' Transaction 4 of length 76 switch message SMBtconX (pid 4355) conn 0x0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Connect path is '/tmp' for service [IPC$] se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-22-2-0 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 Initialising default vfs hooks se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-22-2-0 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 vaio (192.168.0.1) connect to service IPC$ initially as user root (uid=0, gid=0) (pid 4355) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Serving IPC$ as a Dfs root tconX service=IPC$ Transaction 5 of length 104 switch message SMBntcreateX (pid 4355) conn 0x8044e7a8 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 nt_open_pipe: Known pipe lsarpc opening. Transaction 6 of length 140 switch message SMBwriteX (pid 4355) conn 0x8044e7a8 api_pipe_bind_req: \PIPE\lsarpc -> \PIPE\lsass check_bind_req for \PIPE\lsarpc writeX-IPC pnum=72d7 nwritten=72 Transaction 7 of length 63 switch message SMBreadX (pid 4355) conn 0x8044e7a8 readX-IPC pnum=72d7 min=1024 max=1024 nread=68 Transaction 8 of length 168 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=80 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "lsarpc" (pnum 72d7) free_pipe_context: destroying talloc pool of size 71 api_rpcTNP: rpc command: LSA_OPENPOLICY2 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-22-2-0 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 free_pipe_context: destroying talloc pool of size 812 Transaction 9 of length 134 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=46 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "lsarpc" (pnum 72d7) free_pipe_context: destroying talloc pool of size 0 free_pipe_context: destroying talloc pool of size 0 Transaction 10 of length 134 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=46 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "lsarpc" (pnum 72d7) free_pipe_context: destroying talloc pool of size 0 api_rpcTNP: rpc command: LSA_QUERYINFOPOLICY free_pipe_context: destroying talloc pool of size 16 Transaction 11 of length 104 switch message SMBntcreateX (pid 4355) conn 0x8044e7a8 nt_open_pipe: Known pipe winreg opening. Transaction 12 of length 140 switch message SMBwriteX (pid 4355) conn 0x8044e7a8 api_pipe_bind_req: \PIPE\winreg -> \PIPE\winreg check_bind_req for \PIPE\winreg writeX-IPC pnum=72d8 nwritten=72 Transaction 13 of length 63 switch message SMBreadX (pid 4355) conn 0x8044e7a8 readX-IPC pnum=72d8 min=1024 max=1024 nread=68 Transaction 14 of length 124 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=36 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "winreg" (pnum 72d8) free_pipe_context: destroying talloc pool of size 71 api_rpcTNP: rpc command: REG_OPEN_HKLM push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 push_conn_ctx(101) : conn_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 free_pipe_context: destroying talloc pool of size 510 Transaction 15 of length 272 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=184 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "winreg" (pnum 72d8) free_pipe_context: destroying talloc pool of size 0 api_rpcTNP: rpc command: REG_OPEN_ENTRY se_access_check: user sid is S-1-5-21-4166108345-1492360945-4061995267-500 se_access_check: also S-1-5-32-544 se_access_check: also S-1-1-0 se_access_check: also S-1-5-2 se_access_check: also S-1-5-11 free_pipe_context: destroying talloc pool of size 634 Transaction 16 of length 236 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=148 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "winreg" (pnum 72d8) free_pipe_context: destroying talloc pool of size 0 api_rpcTNP: rpc command: REG_QUERY_VALUE free_pipe_context: destroying talloc pool of size 90 Transaction 17 of length 132 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=44 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "winreg" (pnum 72d8) free_pipe_context: destroying talloc pool of size 0 api_rpcTNP: rpc command: REG_CLOSE Closed policy free_pipe_context: destroying talloc pool of size 0 Transaction 18 of length 132 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=44 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "winreg" (pnum 72d8) free_pipe_context: destroying talloc pool of size 0 api_rpcTNP: rpc command: REG_CLOSE Closed policy free_pipe_context: destroying talloc pool of size 0 Transaction 19 of length 45 switch message SMBclose (pid 4355) conn 0x8044e7a8 Transaction 20 of length 108 switch message SMBntcreateX (pid 4355) conn 0x8044e7a8 nt_open_pipe: Known pipe NETLOGON opening. Transaction 21 of length 140 switch message SMBwriteX (pid 4355) conn 0x8044e7a8 api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass check_bind_req for \PIPE\NETLOGON writeX-IPC pnum=72d9 nwritten=72 Transaction 22 of length 63 switch message SMBreadX (pid 4355) conn 0x8044e7a8 readX-IPC pnum=72d9 min=1024 max=1024 nread=68 Transaction 23 of length 170 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=82 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "NETLOGON" (pnum 72d9) free_pipe_context: destroying talloc pool of size 73 api_rpcTNP: rpc command: NET_REQCHAL free_pipe_context: destroying talloc pool of size 22 Transaction 24 of length 45 switch message SMBclose (pid 4355) conn 0x8044e7a8 Transaction 25 of length 108 switch message SMBntcreateX (pid 4355) conn 0x8044e7a8 nt_open_pipe: Known pipe NETLOGON opening. Transaction 26 of length 140 switch message SMBwriteX (pid 4355) conn 0x8044e7a8 api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass check_bind_req for \PIPE\NETLOGON writeX-IPC pnum=72da nwritten=72 Transaction 27 of length 63 switch message SMBreadX (pid 4355) conn 0x8044e7a8 readX-IPC pnum=72da min=1024 max=1024 nread=68 Transaction 28 of length 198 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=110 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "NETLOGON" (pnum 72da) free_pipe_context: destroying talloc pool of size 73 api_rpcTNP: rpc command: NET_AUTH free_pipe_context: destroying talloc pool of size 34 Transaction 29 of length 45 switch message SMBclose (pid 4355) conn 0x8044e7a8 Transaction 30 of length 132 switch message SMBtrans (pid 4355) conn 0x8044e7a8 trans <\PIPE\> data=44 params=0 setup=2 named pipe command on <> name Got API command 0x26 on pipe "lsarpc" (pnum 72d7) free_pipe_context: destroying talloc pool of size 0 api_rpcTNP: rpc command: LSA_CLOSE Closed policy free_pipe_context: destroying talloc pool of size 0 Transaction 31 of length 45 switch message SMBclose (pid 4355) conn 0x8044e7a8 Transaction 32 of length 43 switch message SMBulogoffX (pid 4355) conn 0x0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 ulogoffX vuid=101 Transaction 33 of length 39 switch message SMBtdis (pid 4355) conn 0x8044e7a8 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 vaio (192.168.0.1) closed connection to service IPC$ Yielding connection to IPC$ setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 timeout_processing: End of file from client (client has disconnected). setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Yielding connection to Server exit (normal exit)