satoshi.hirabayashi at soliton.co.jp
2014-Apr-02 11:16 UTC
[Samba] Failed to join domain: failed to connect to AD: No logon servers
I am using Samba v4.0.16. Join to the domain controller with two NIC's, it will fail once every two times. Response from the DNS, will succeed in domain join in the case of reachable IP addresses. However, it seems to fail to join domain in the case of unreachable IP addresses. ( V3.5.15 succeed in both cases. ) Please help someone. attach debug log =========Windows Server2008r2 hostname:WIN-1LSRCE1UUM6.SRV2008R2-1.ESXI.SOLITON.LOCAL NIC1:192.168.1.184 NIC2:192.168.11.184 Join client NIC:192.168.6.11 === failer log ==# net ads join '--user=administrator%password' '--workgroup=SRV2008R2-1' -d5 INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 params.c:pm_process() - Processing configuration file "/usr/na/samba/etc/smb.conf" Processing section "[global]" doing parameter workgroup = SRV2008R2-1 doing parameter realm = SRV2008R2-1.ESXI.SOLITON.LOCAL doing parameter idmap uid = 100000-200000 WARNING: The "idmap uid" option is deprecated doing parameter idmap gid = 100000-200000 WARNING: The "idmap gid" option is deprecated doing parameter winbind enum users = no doing parameter winbind enum groups = no doing parameter domain master = no doing parameter local master = no doing parameter preferred master = no doing parameter dos charset = CP932 doing parameter name cache timeout = 0 doing parameter name resolve order = hosts wins bcast doing parameter server string = NetAttest EPS V4 doing parameter log file = /usr/na/samba/var/logs/%m.log doing parameter max log size = 20 doing parameter security = ads doing parameter allow trusted domains = no doing parameter pid directory = /var/run/ pm_process() returned Yes Netbios name list:- my_netbios_names[0]="EPS-DX04-70" added interface eth1 ip=192.168.2.11 bcast=192.168.2.255 netmask=255.255.255.0 added interface eth2 ip=192.168.3.11 bcast=192.168.3.255 netmask=255.255.255.0 added interface eth3 ip=192.168.4.11 bcast=192.168.4.255 netmask=255.255.255.0 added interface eth0 ip=192.168.6.11 bcast=192.168.6.255 netmask=255.255.255.0 Registering messaging pointer for type 2 - private_data=(nil) Registering messaging pointer for type 9 - private_data=(nil) Registered MSG_REQ_POOL_USAGE Registering messaging pointer for type 11 - private_data=(nil) Registering messaging pointer for type 12 - private_data=(nil) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Registering messaging pointer for type 1 - private_data=(nil) Registering messaging pointer for type 5 - private_data=(nil) libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'EPS-DX04-70' domain_name : * domain_name : 'SRV2008R2-1.ESXI.SOLITON.LOCAL' account_ou : NULL admin_account : 'administrator' machine_password : NULL join_flags : 0x00000023 (35) 0: WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS 0: WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME 0: WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT 0: WKSSVC_JOIN_FLAGS_DEFER_SPN 0: WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED 0: WKSSVC_JOIN_FLAGS_JOIN_UNSECURE 1: WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED 0: WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE 0: WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE 1: WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE 1: WKSSVC_JOIN_FLAGS_JOIN_TYPE os_version : NULL os_name : NULL create_upn : 0x00 (0) upn : NULL modify_config : 0x00 (0) ads : NULL debug : 0x01 (1) use_kerberos : 0x00 (0) secure_channel_type : SEC_CHAN_WKSTA (2) Opening cache file at /usr/na/samba/var/cache/gencache.tdb Opening cache file at /usr/na/samba/var/lock/gencache_notrans.tdb sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" ads_dns_lookup_srv: 1 records returned in the answer section. ads_cldap_netlogon: did not get a reply sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.1.184,192.168.11.184 Connecting to 192.168.1.184 at port 445 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_SNDBUF = 16384 SO_RCVBUF = 87380 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 TCP_QUICKACK = 1 TCP_DEFER_ACCEPT = 0 Doing spnego session setup (blob length=120) got OID=1.3.6.1.4.1.311.2.2.30 got OID=1.2.840.48018.1.2.2 got OID=1.2.840.113554.1.2.2 got OID=1.2.840.113554.1.2.2.3 got OID=1.3.6.1.4.1.311.2.2.10 got principal=not_defined_in_RFC4178 at please_ignore Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_TARGET_INFO NTLMSSP_NEGOTIATE_VERSION NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH Bind RPC Pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local auth_type 0, auth_level 1 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 52 check_bind_response: accepted! rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 272 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 saf_fetch[join]: Returning "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local" for "srv2008r2-1.esxi.soliton.local" domain get_dc_list: preferred server list: "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local, *" no entry for srv2008r2-1.esxi.soliton.local#1C found. resolve_ads: Attempting to resolve KDCs for srv2008r2-1.esxi.soliton.local using DNS ads_dns_lookup_srv: 1 records returned in the answer section. sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.1.184,192.168.11.184 get_dc_list: negative entry 192.168.11.184 removed from DC list get_dc_list: returning 2 ip addresses in an ordered list get_dc_list: 192.168.1.184:389 192.168.1.184:88 create_local_private_krb5_conf_for_domain: wrote file /usr/na/samba/var/lock/smb_krb5/krb5.conf.SRV2008R2-1 with realm SRV2008R2-1.ESXI.SOLITON.LOCAL KDC list = kdc = 192.168.1.184 Bind RPC Pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local auth_type 0, auth_level 1 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 52 check_bind_response: accepted! rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 40 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 44 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 12 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 12 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.11.184,192.168.1.184 ads_try_connect: sending CLDAP request to 192.168.11.184 (realm: srv2008r2-1.esxi.soliton.local) ads_cldap_netlogon: did not get a reply ads_try_connect: CLDAP request 192.168.11.184 failed. sitename_fetch: Returning sitename for srv2008r2-1.esxi.soliton.local: "Default-First-Site-Name" ads_dc_name: domain=SRV2008R2-1 sitename_fetch: Returning sitename for srv2008r2-1.esxi.soliton.local: "Default-First-Site-Name" saf_fetch[join]: Returning "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local" for "srv2008r2-1.esxi.soliton.local" domain get_dc_list: preferred server list: "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local, *" no entry for srv2008r2-1.esxi.soliton.local#1C found. sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.1.184,192.168.11.184 get_dc_list: returning 1 ip addresses in an ordered list get_dc_list: 192.168.1.184:389 ads_try_connect: sending CLDAP request to 192.168.1.184 (realm: srv2008r2-1.esxi.soliton.local) Successfully contacted LDAP server 192.168.1.184 sitename_fetch: Returning sitename for srv2008r2-1.esxi.soliton.local: "Default-First-Site-Name" saf_fetch[join]: Returning "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local" for "srv2008r2-1.esxi.soliton.local" domain get_dc_list: preferred server list: "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local, *" no entry for srv2008r2-1.esxi.soliton.local#1C found. resolve_ads: Attempting to resolve KDCs for srv2008r2-1.esxi.soliton.local using DNS ads_dns_lookup_srv: 1 records returned in the answer section. sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.1.184,192.168.11.184 get_dc_list: negative entry 192.168.11.184 removed from DC list get_dc_list: returning 2 ip addresses in an ordered list get_dc_list: 192.168.1.184:389 192.168.1.184:88 saf_fetch[join]: Returning "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local" for "srv2008r2-1.esxi.soliton.local" domain get_dc_list: preferred server list: "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local, *" no entry for srv2008r2-1.esxi.soliton.local#1C found. resolve_ads: Attempting to resolve KDCs for srv2008r2-1.esxi.soliton.local using DNS ads_dns_lookup_srv: 1 records returned in the answer section. sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.1.184,192.168.11.184 get_dc_list: negative entry 192.168.11.184 removed from DC list get_dc_list: returning 2 ip addresses in an ordered list get_dc_list: 192.168.1.184:389 192.168.1.184:88 create_local_private_krb5_conf_for_domain: wrote file /usr/na/samba/var/lock/smb_krb5/krb5.conf.SRV2008R2-1 with realm SRV2008R2-1.ESXI.SOLITON.LOCAL KDC list = kdc = 192.168.1.184 ads_dc_name: using server='WIN-1LSRCE1UUM6.SRV2008R2-1.ESXI.SOLITON.LOCAL' IP=192.168.1.184 sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.SRV2008R2-1.ESXI.SOLITON.LOCAL#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.SRV2008R2-1.ESXI.SOLITON.LOCAL<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.SRV2008R2-1.ESXI.SOLITON.LOCAL#20: 192.168.11.184,192.168.1.184 ads_try_connect: sending CLDAP request to 192.168.11.184 (realm: srv2008r2-1.esxi.soliton.local) ads_cldap_netlogon: did not get a reply ads_try_connect: CLDAP request 192.168.11.184 failed. libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx out: struct libnet_JoinCtx account_name : NULL netbios_domain_name : 'SRV2008R2-1' dns_domain_name : 'srv2008r2-1.esxi.soliton.local' forest_name : 'srv2008r2-1.esxi.soliton.local' dn : NULL domain_sid : * domain_sid : S-1-5-21-3850817387-11036351-1631872947 modified_config : 0x00 (0) error_string : 'failed to connect to AD: No logon servers' domain_is_ad : 0x01 (1) result : WERR_GENERAL_FAILURE Failed to join domain: failed to connect to AD: No logon servers return code = -1 === success log ==# net ads join '--user=administrator%password ' '--workgroup=SRV2008R2-1' -d5 INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 scavenger: 5 dns: 5 ldb: 5 params.c:pm_process() - Processing configuration file "/usr/na/samba/etc/smb.conf" Processing section "[global]" doing parameter workgroup = SRV2008R2-1 doing parameter realm = SRV2008R2-1.ESXI.SOLITON.LOCAL doing parameter idmap uid = 100000-200000 WARNING: The "idmap uid" option is deprecated doing parameter idmap gid = 100000-200000 WARNING: The "idmap gid" option is deprecated doing parameter winbind enum users = no doing parameter winbind enum groups = no doing parameter domain master = no doing parameter local master = no doing parameter preferred master = no doing parameter dos charset = CP932 doing parameter name cache timeout = 0 doing parameter name resolve order = hosts wins bcast doing parameter server string = NetAttest EPS V4 doing parameter log file = /usr/na/samba/var/logs/%m.log doing parameter max log size = 20 doing parameter security = ads doing parameter allow trusted domains = no doing parameter pid directory = /var/run/ pm_process() returned Yes Netbios name list:- my_netbios_names[0]="EPS-DX04-70" added interface eth1 ip=192.168.2.11 bcast=192.168.2.255 netmask=255.255.255.0 added interface eth2 ip=192.168.3.11 bcast=192.168.3.255 netmask=255.255.255.0 added interface eth3 ip=192.168.4.11 bcast=192.168.4.255 netmask=255.255.255.0 added interface eth0 ip=192.168.6.11 bcast=192.168.6.255 netmask=255.255.255.0 Registering messaging pointer for type 2 - private_data=(nil) Registering messaging pointer for type 9 - private_data=(nil) Registered MSG_REQ_POOL_USAGE Registering messaging pointer for type 11 - private_data=(nil) Registering messaging pointer for type 12 - private_data=(nil) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Registering messaging pointer for type 1 - private_data=(nil) Registering messaging pointer for type 5 - private_data=(nil) libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'EPS-DX04-70' domain_name : * domain_name : 'SRV2008R2-1.ESXI.SOLITON.LOCAL' account_ou : NULL admin_account : 'administrator' machine_password : NULL join_flags : 0x00000023 (35) 0: WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS 0: WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME 0: WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT 0: WKSSVC_JOIN_FLAGS_DEFER_SPN 0: WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED 0: WKSSVC_JOIN_FLAGS_JOIN_UNSECURE 1: WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED 0: WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE 0: WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE 1: WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE 1: WKSSVC_JOIN_FLAGS_JOIN_TYPE os_version : NULL os_name : NULL create_upn : 0x00 (0) upn : NULL modify_config : 0x00 (0) ads : NULL debug : 0x01 (1) use_kerberos : 0x00 (0) secure_channel_type : SEC_CHAN_WKSTA (2) Opening cache file at /usr/na/samba/var/cache/gencache.tdb Opening cache file at /usr/na/samba/var/lock/gencache_notrans.tdb sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" ads_dns_lookup_srv: 1 records returned in the answer section. sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.11.184,192.168.1.184 Connecting to 192.168.11.184 at port 445 E2BIG: convert_string(UTF-8,CP932): srclen=47 destlen=16 - 'WIN-1LSRCE1UUM6.SRV2008R2-1.ESXI.SOLITON.LOCAL' Connecting to 192.168.11.184 at port 139 Connecting to 192.168.1.184 at port 445 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_SNDBUF = 16384 SO_RCVBUF = 87380 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 TCP_QUICKACK = 1 TCP_DEFER_ACCEPT = 0 Doing spnego session setup (blob length=120) got OID=1.3.6.1.4.1.311.2.2.30 got OID=1.2.840.48018.1.2.2 got OID=1.2.840.113554.1.2.2 got OID=1.2.840.113554.1.2.2.3 got OID=1.3.6.1.4.1.311.2.2.10 got principal=not_defined_in_RFC4178 at please_ignore Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_TARGET_INFO NTLMSSP_NEGOTIATE_VERSION NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH Bind RPC Pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local auth_type 0, auth_level 1 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 52 check_bind_response: accepted! rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 272 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 saf_fetch[join]: Returning "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local" for "srv2008r2-1.esxi.soliton.local" domain get_dc_list: preferred server list: "WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local, *" no entry for srv2008r2-1.esxi.soliton.local#1C found. resolve_ads: Attempting to resolve KDCs for srv2008r2-1.esxi.soliton.local using DNS ads_dns_lookup_srv: 1 records returned in the answer section. sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.11.184,192.168.1.184 get_dc_list: returning 3 ip addresses in an ordered list get_dc_list: 192.168.11.184:389 192.168.1.184:88 192.168.11.184:88 create_local_private_krb5_conf_for_domain: wrote file /usr/na/samba/var/lock/smb_krb5/krb5.conf.SRV2008R2-1 with realm SRV2008R2-1.ESXI.SOLITON.LOCAL KDC list = kdc = 192.168.1.184 Bind RPC Pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local auth_type 0, auth_level 1 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 52 check_bind_response: accepted! rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 40 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 44 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 12 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 12 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 32 check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.1.184,192.168.11.184 ads_try_connect: sending CLDAP request to 192.168.1.184 (realm: srv2008r2-1.esxi.soliton.local) Successfully contacted LDAP server 192.168.1.184 Connected to LDAP server WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local KDC time offset is 169 seconds Found SASL mechanism GSS-SPNEGO ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.30 ads_sasl_spnego_bind: got OID=1.2.840.48018.1.2.2 ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2 ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2.3 ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.10 ads_sasl_spnego_bind: got server principal name not_defined_in_RFC4178 at please_ignore ads_krb5_mk_req: krb5_cc_get_principal failed (No credentials cache found) ads_krb5_mk_req: Advancing clock by 169 seconds to cope with clock skew ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration Thu, 03 Apr 2014 02:17:33 JST ads_krb5_mk_req: server marked as OK to delegate to, building forwardable TGT ads_domain_func_level: 4 kerberos_secrets_store_des_salt: Storing salt "host/eps-dx04-70.srv2008r2-1.esxi.soliton.local at SRV2008R2-1.ESXI.SOLITON.LOCAL" check lock order 1 for /usr/na/samba/private/secrets.tdb release lock order 1 for /usr/na/samba/private/secrets.tdb Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend NDS_ldapsam Successfully added passdb backend 'NDS_ldapsam' Attempting to register passdb backend IPA_ldapsam Successfully added passdb backend 'IPA_ldapsam' Attempting to register passdb backend smbpasswd Successfully added passdb backend 'smbpasswd' Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Attempting to register passdb backend wbc_sam Successfully added passdb backend 'wbc_sam' Attempting to find a passdb backend to match tdbsam (tdbsam) Found pdb backend tdbsam pdb backend tdbsam has a valid init add_sid_to_builtin S-1-5-21-3850817387-11036351-1631872947-512 is already a member of S-1-5-32-544 tdbsam_open: successfully opened /usr/na/samba/private/passdb.tdb pdb_getsampwnam (TDB): error fetching database. Key: USER_root add_sid_to_builtin S-1-5-21-3850817387-11036351-1631872947-513 is already a member of S-1-5-32-545 sitename_fetch: Returning sitename for SRV2008R2-1.ESXI.SOLITON.LOCAL: "Default-First-Site-Name" no entry for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20 found. resolve_hosts: Attempting host lookup for name WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local<0x20> namecache_store: storing 2 addresses for WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local#20: 192.168.1.184,192.168.11.184 Connecting to 192.168.1.184 at port 445 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_SNDBUF = 16384 SO_RCVBUF = 87380 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 TCP_QUICKACK = 1 TCP_DEFER_ACCEPT = 0 Doing spnego session setup (blob length=120) got OID=1.3.6.1.4.1.311.2.2.30 got OID=1.2.840.48018.1.2.2 got OID=1.2.840.113554.1.2.2 got OID=1.2.840.113554.1.2.2.3 got OID=1.3.6.1.4.1.311.2.2.10 got principal=not_defined_in_RFC4178 at please_ignore Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_TARGET_INFO NTLMSSP_NEGOTIATE_VERSION NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH Bind RPC Pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local auth_type 0, auth_level 1 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 52 check_bind_response: accepted! rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 20 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 24 rpccli_netlogon_setup_creds: server WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local credential chain established. Bind RPC Pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local auth_type 68, auth_level 6 rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 72 check_bind_response: accepted! seed 021ff0a7:20ad9309 seed+time 555ba98d:20ad9309 CLIENT bdc21ab1:7606fb53 seed+time+1 555ba98e:20ad9309 SERVER f667a4c4:b2889dce rpc_api_pipe: host WIN-1LSRCE1UUM6.srv2008r2-1.esxi.soliton.local rpc_read_send: data_to_read: 104 libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx out: struct libnet_JoinCtx account_name : NULL netbios_domain_name : 'SRV2008R2-1' dns_domain_name : 'srv2008r2-1.esxi.soliton.local' forest_name : 'srv2008r2-1.esxi.soliton.local' dn : 'CN=eps-dx04-70,CN=Computers,DC=srv2008r2-1,DC=esxi,DC=soliton,DC=local' domain_sid : * domain_sid : S-1-5-21-3850817387-11036351-1631872947 modified_config : 0x00 (0) error_string : NULL domain_is_ad : 0x01 (1) result : WERR_OK Using short domain name -- SRV2008R2-1 Joined 'EPS-DX04-70' to dns domain 'srv2008r2-1.esxi.soliton.local' return code = 0