Ez hosszú lesz, elnézést!
Na, pici hosts editálás (valamitől eltűnt a 192.168.0.25 szerver.domain.ad szerver sor... talán egy frissítéstől?) után ez történt:
(ha nem hívod fel a figyelmem, az életben észre nem veszem...)
\\szerver nem megy.
\\domain.ad\ megy.
\\szerver.domain.ad\ nem megy.
(azaz nem enged bejelentkezni, de IP címmel működik - sem smbclienttel, sem a domainbe beléptetett gépről, viszont bármely más gépről megy a \\szerver is.)
Már nincs több ötletem, lassan feladom és jön a domain provision...
nslookup -type A szerver.ad:
Server: szerver.domain.ad
Address: 192.168.0.250
*** szerver.domain.ad can't find A: Non-existent domain
samba-tool dns zonelist szerver.domain.ad kimenete (a pontozott részek között OpenVPN interfészek vannak, hiba nélkül):
pm_process() returned Yes
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
Using binding ncacn_ip_tcp:szerver.domain.ad[,sign]
Mapped to DCERPC endpoint 135
not adding non-broadcast interface as0t0
not adding non-broadcast interface as0t1
...
added interface em1 ip=192.168.0.250 bcast=192.168.255.255 netmask=255.255.0.0
...
added interface em1 ip=192.168.0.250 bcast=192.168.255.255 netmask=255.255.0.0
resolve_lmhosts: Attempting lmhosts lookup for name szerver.domain.ad<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/etc/lmhosts. Error was No such file or directory
Mapped to DCERPC endpoint 49152
...
added interface em1 ip=192.168.0.250 bcast=192.168.255.255 netmask=255.255.0.0
resolve_lmhosts: Attempting lmhosts lookup for name szerver.domain.ad<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/etc/lmhosts. Error was No such file or directory
Starting GENSEC mechanism spnego
Starting GENSEC submechanism gssapi_krb5
Ticket in credentials cache for administrator@DOMAIN.AD will expire in 32912 secs
dcerpc: bind_nak reason 0 - NT_STATUS_UNSUCCESSFUL
Starting GENSEC mechanism spnego
Starting GENSEC submechanism gssapi_krb5
GSSAPI credentials for administrator@DOMAIN.AD will expire in 32912 secs
dcerpc: bind_nak reason 0 - NT_STATUS_UNSUCCESSFUL
Failed to bind to uuid 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for ncacn_ip_tcp:192.168.0.250[49152,sign,target_hostname=szerver.domain.ad,abstract_syntax=50abc2a4-574d-40b3-9d66-ee4fd5fba076/0x00000005,localaddress=192.168.0.250] NT_STATUS_UNSUCCESSFUL
ERROR: Connecting to DNS RPC server szerver.domain.ad failed with (-1073741823, '{Operation Failed} The requested operation was unsuccessful.')
File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dns.py", line 44, in dns_connect
dns_conn = dnsserver.dnsserver(binding_str, lp, creds)
======================
Nincs ötletem :(
Kerestem, de nem találtam megoldást.
Most ez a Samba log csatlakozáskor:
[2018/02/14 19:23:36.003439, 3] ../source3/smbd/oplock.c:1329(init_oplocks)
init_oplocks: initializing messages.
[2018/02/14 19:23:36.003453, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 774 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003466, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 778 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003474, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 770 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003482, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 787 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003491, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 779 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003499, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 15 - private_data=(nil)
[2018/02/14 19:23:36.003505, 5] ../source3/lib/messages.c:465(messaging_register)
Overriding messaging pointer for type 15 - private_data=(nil)
[2018/02/14 19:23:36.003513, 5] ../source3/lib/messages.c:497(messaging_deregister)
Deregistering messaging pointer for type 16 - private_data=(nil)
[2018/02/14 19:23:36.003524, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 16 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003536, 5] ../source3/lib/messages.c:497(messaging_deregister)
Deregistering messaging pointer for type 33 - private_data=0x56138841fee0
[2018/02/14 19:23:36.003548, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 33 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003557, 5] ../source3/lib/messages.c:497(messaging_deregister)
Deregistering messaging pointer for type 790 - private_data=(nil)
[2018/02/14 19:23:36.003569, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 790 - private_data=0x56138957ff50
[2018/02/14 19:23:36.003579, 5] ../source3/lib/messages.c:497(messaging_deregister)
Deregistering messaging pointer for type 791 - private_data=(nil)
[2018/02/14 19:23:36.003585, 5] ../source3/lib/messages.c:497(messaging_deregister)
Deregistering messaging pointer for type 1 - private_data=(nil)
[2018/02/14 19:23:36.003590, 5] ../source3/lib/messages.c:450(messaging_register)
Registering messaging pointer for type 1 - private_data=(nil)
[2018/02/14 19:23:36.003699, 3] ../source3/smbd/process.c:1959(process_smb)
Transaction 0 of length 216 (0 toread)
[2018/02/14 19:23:36.003715, 5] ../source3/lib/util.c:173(show_msg)
[2018/02/14 19:23:36.003720, 5] ../source3/lib/util.c:183(show_msg)
size=212
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51267
smb_tid=0
smb_pid=65534
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=177
[2018/02/14 19:23:36.003753, 3] ../source3/smbd/process.c:1539(switch_message)
switch message SMBnegprot (pid 4945) conn 0x0
[2018/02/14 19:23:36.003782, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:36.003793, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:36.003804, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:36.003824, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:36.004477, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2018/02/14 19:23:36.004493, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [MICROSOFT NETWORKS 1.03]
[2018/02/14 19:23:36.004499, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [MICROSOFT NETWORKS 3.0]
[2018/02/14 19:23:36.004504, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [LANMAN1.0]
[2018/02/14 19:23:36.004511, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [LM1.2X002]
[2018/02/14 19:23:36.004516, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [DOS LANMAN2.1]
[2018/02/14 19:23:36.004527, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [LANMAN2.1]
[2018/02/14 19:23:36.004532, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [Samba]
[2018/02/14 19:23:36.004569, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [NT LANMAN 1.0]
[2018/02/14 19:23:36.004601, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [NT LM 0.12]
[2018/02/14 19:23:36.004628, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [SMB 2.002]
[2018/02/14 19:23:36.004638, 3] ../source3/smbd/negprot.c:612(reply_negprot)
Requested protocol [SMB 2.???]
[2018/02/14 19:23:36.004669, 5] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
check lock order 2 for /usr/local/samba/var/lock/serverid.tdb
[2018/02/14 19:23:36.004681, 5] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
release lock order 2 for /usr/local/samba/var/lock/serverid.tdb
[2018/02/14 19:23:36.004722, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:36.004733, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:36.004741, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:36.004779, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:36.004812, 3] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
Selected protocol SMB2_FF
[2018/02/14 19:23:36.004825, 5] ../source3/auth/auth.c:512(make_auth3_context_for_ntlm)
Making default auth method list for server role = 'active directory domain controller'
[2018/02/14 19:23:36.004837, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend trustdomain
[2018/02/14 19:23:36.004847, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'trustdomain'
[2018/02/14 19:23:36.004852, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend ntdomain
[2018/02/14 19:23:36.004863, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'ntdomain'
[2018/02/14 19:23:36.004870, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend guest
[2018/02/14 19:23:36.004879, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'guest'
[2018/02/14 19:23:36.004887, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam
[2018/02/14 19:23:36.004892, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam'
[2018/02/14 19:23:36.004900, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam_ignoredomain
[2018/02/14 19:23:36.004905, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam_ignoredomain'
[2018/02/14 19:23:36.004910, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend sam_netlogon3
[2018/02/14 19:23:36.004915, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'sam_netlogon3'
[2018/02/14 19:23:36.004925, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend winbind
[2018/02/14 19:23:36.004931, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'winbind'
[2018/02/14 19:23:36.004939, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend unix
[2018/02/14 19:23:36.004947, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'unix'
[2018/02/14 19:23:36.004959, 5] ../source3/auth/auth.c:48(smb_register_auth)
Attempting to register auth backend samba4
[2018/02/14 19:23:36.004968, 5] ../source3/auth/auth.c:60(smb_register_auth)
Successfully added auth method 'samba4'
[2018/02/14 19:23:36.004976, 5] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match samba4
[2018/02/14 19:23:36.005821, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_spnego' registered
[2018/02/14 19:23:36.005842, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_krb5' registered
[2018/02/14 19:23:36.005849, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'gssapi_krb5_sasl' registered
[2018/02/14 19:23:36.005863, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'spnego' registered
[2018/02/14 19:23:36.005878, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'schannel' registered
[2018/02/14 19:23:36.005888, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'naclrpc_as_system' registered
[2018/02/14 19:23:36.005897, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'sasl-EXTERNAL' registered
[2018/02/14 19:23:36.005906, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'ntlmssp' registered
[2018/02/14 19:23:36.005917, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'ntlmssp_resume_ccache' registered
[2018/02/14 19:23:36.005932, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'http_basic' registered
[2018/02/14 19:23:36.005944, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'http_ntlm' registered
[2018/02/14 19:23:36.005954, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'krb5' registered
[2018/02/14 19:23:36.005964, 3] ../auth/gensec/gensec_start.c:977(gensec_register)
GENSEC backend 'fake_gssapi_krb5' registered
[2018/02/14 19:23:36.005973, 5] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method samba4 has a valid init
[2018/02/14 19:23:36.006775, 3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
ldb_wrap open of secrets.ldb
[2018/02/14 19:23:36.007022, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'sam' registered
[2018/02/14 19:23:36.007036, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'sam_ignoredomain' registered
[2018/02/14 19:23:36.007045, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'sam_failtrusts' registered
[2018/02/14 19:23:36.007053, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'anonymous' registered
[2018/02/14 19:23:36.007062, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'winbind' registered
[2018/02/14 19:23:36.007069, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'winbind_rodc' registered
[2018/02/14 19:23:36.007076, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'winbind_wbclient' registered
[2018/02/14 19:23:36.007084, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'name_to_ntstatus' registered
[2018/02/14 19:23:36.007093, 3] ../source4/auth/ntlm/auth.c:840(auth_register)
AUTH backend 'unix' registered
[2018/02/14 19:23:36.008845, 5] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC mechanism spnego
[2018/02/14 19:23:36.008918, 5] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC submechanism gssapi_krb5
[2018/02/14 19:23:36.009592, 5] ../source4/auth/kerberos/srv_keytab.c:259(smb_krb5_update_keytab)
Opened keytab MEMORY:ZfyBy_p4fgh7g9sz
[2018/02/14 19:23:36.009759, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 1)
[2018/02/14 19:23:36.009797, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 3)
[2018/02/14 19:23:36.009832, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 23)
[2018/02/14 19:23:36.061194, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 17)
[2018/02/14 19:23:36.159744, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 18)
[2018/02/14 19:23:36.160347, 3] ../source3/smbd/negprot.c:753(reply_negprot)
Selected protocol SMB 2.???
[2018/02/14 19:23:36.160388, 5] ../source3/smbd/negprot.c:755(reply_negprot)
negprot index=11
[2018/02/14 19:23:36.160509, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:36.160517, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:36.160522, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:36.160534, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:36.160544, 4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/02/14 19:23:36.160554, 4] ../source3/smbd/uid.c:491(push_conn_ctx)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/02/14 19:23:36.160559, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/14 19:23:36.160581, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:36.160622, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:36.160763, 4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:36.160806, 3] ../source3/smbd/smb2_negprot.c:290(smbd_smb2_request_process_negprot)
Selected protocol SMB3_11
[2018/02/14 19:23:36.160827, 5] ../source3/auth/auth.c:512(make_auth3_context_for_ntlm)
Making default auth method list for server role = 'active directory domain controller'
[2018/02/14 19:23:36.160834, 5] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match samba4
[2018/02/14 19:23:36.160853, 5] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method samba4 has a valid init
[2018/02/14 19:23:36.161184, 3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
ldb_wrap open of secrets.ldb
[2018/02/14 19:23:36.162492, 5] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC mechanism spnego
[2018/02/14 19:23:36.162540, 5] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC submechanism gssapi_krb5
[2018/02/14 19:23:36.162770, 5] ../source4/auth/kerberos/srv_keytab.c:259(smb_krb5_update_keytab)
Opened keytab MEMORY:otRFtfrKQUmE4cEZ
[2018/02/14 19:23:36.162829, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 1)
[2018/02/14 19:23:36.162903, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 3)
[2018/02/14 19:23:36.162921, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 23)
[2018/02/14 19:23:36.211428, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 17)
[2018/02/14 19:23:36.307528, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 18)
[2018/02/14 19:23:42.289669, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:42.289687, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:42.289692, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:42.289705, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:42.289726, 5] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
check lock order 1 for /usr/local/samba/var/lock/smbXsrv_session_global.tdb
[2018/02/14 19:23:42.289841, 5] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
release lock order 1 for /usr/local/samba/var/lock/smbXsrv_session_global.tdb
[2018/02/14 19:23:42.289866, 5] ../source3/auth/auth.c:512(make_auth3_context_for_ntlm)
Making default auth method list for server role = 'active directory domain controller'
[2018/02/14 19:23:42.289888, 5] ../source3/auth/auth.c:400(load_auth_module)
load_auth_module: Attempting to find an auth method to match samba4
[2018/02/14 19:23:42.289900, 5] ../source3/auth/auth.c:425(load_auth_module)
load_auth_module: auth method samba4 has a valid init
[2018/02/14 19:23:42.290224, 3] ../lib/ldb-samba/ldb_wrap.c:326(ldb_wrap_connect)
ldb_wrap open of secrets.ldb
[2018/02/14 19:23:42.291415, 5] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC mechanism spnego
[2018/02/14 19:23:42.291429, 5] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
check lock order 1 for /usr/local/samba/var/lock/smbXsrv_session_global.tdb
[2018/02/14 19:23:42.291446, 5] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
release lock order 1 for /usr/local/samba/var/lock/smbXsrv_session_global.tdb
[2018/02/14 19:23:42.291457, 4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/02/14 19:23:42.291463, 4] ../source3/smbd/uid.c:491(push_conn_ctx)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/02/14 19:23:42.291515, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/14 19:23:42.291534, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:42.291538, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:42.291663, 5] ../auth/gensec/gensec_start.c:739(gensec_start_mech)
Starting GENSEC submechanism gssapi_krb5
[2018/02/14 19:23:42.291892, 5] ../source4/auth/kerberos/srv_keytab.c:259(smb_krb5_update_keytab)
Opened keytab MEMORY:vy8mfAHhKL-oPKFh
[2018/02/14 19:23:42.291963, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 1)
[2018/02/14 19:23:42.291997, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 3)
[2018/02/14 19:23:42.292020, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 23)
[2018/02/14 19:23:42.341139, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 17)
[2018/02/14 19:23:42.439560, 5] ../source4/auth/kerberos/srv_keytab.c:110(keytab_add_keys)
Added key (kvno 0) to keytab (enctype 18)
[2018/02/14 19:23:42.440050, 1] ../source4/auth/gensec/gensec_gssapi.c:790(gensec_gssapi_update_internal)
GSS server Update(krb5)(1) Update failed: Miscellaneous failure (see text): Failed to find cifs/szerver@domain.ad(kvno 3) in keytab MEMORY:vy8mfAHhKL-oPKFh (aes256-cts-hmac-sha1-96)
[2018/02/14 19:23:42.440071, 1] ../auth/gensec/spnego.c:411(gensec_spnego_parse_negTokenInit)
SPNEGO(gssapi_krb5) NEG_TOKEN_INIT failed: NT_STATUS_LOGON_FAILURE
[2018/02/14 19:23:42.440090, 2] ../auth/gensec/spnego.c:605(gensec_spnego_server_negTokenTarg)
SPNEGO login failed: NT_STATUS_LOGON_FAILURE
[2018/02/14 19:23:42.440109, 4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:42.440144, 4] ../source3/smbd/sec_ctx.c:216(push_sec_ctx)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2018/02/14 19:23:42.440168, 4] ../source3/smbd/uid.c:491(push_conn_ctx)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2018/02/14 19:23:42.440187, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2018/02/14 19:23:42.440192, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:42.440198, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:42.440209, 4] ../source3/smbd/sec_ctx.c:438(pop_sec_ctx)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:42.440250, 3] ../source3/smbd/smb2_server.c:3139(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_LOGON_FAILURE] || at ../source3/smbd/smb2_sesssetup.c:134
[2018/02/14 19:23:42.440328, 5] ../lib/dbwrap/dbwrap.c:160(dbwrap_check_lock_order)
check lock order 1 for /usr/local/samba/var/lock/smbXsrv_session_global.tdb
[2018/02/14 19:23:42.440362, 5] ../lib/dbwrap/dbwrap.c:128(dbwrap_lock_order_state_destructor)
release lock order 1 for /usr/local/samba/var/lock/smbXsrv_session_global.tdb
[2018/02/14 19:23:42.440494, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:42.440502, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:42.440509, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:42.440526, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:42.440540, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:42.440544, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:42.440549, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:42.440558, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:42.440565, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:42.440571, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:42.440578, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:42.440592, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:42.440605, 4] ../source3/smbd/sec_ctx.c:320(set_sec_ctx_internal)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2018/02/14 19:23:42.440615, 5] ../libcli/security/security_token.c:53(security_token_debug)
Security token: (NULL)
[2018/02/14 19:23:42.440620, 5] ../source3/auth/token_util.c:651(debug_unix_user_token)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2018/02/14 19:23:42.440629, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2018/02/14 19:23:42.440768, 3] ../source3/smbd/server_exit.c:248(exit_server_common)
Server exit (NT_STATUS_END_OF_FILE)