<div dir="ltr">Yes DNS is working fine and is able to return the IP address of the AD server.<div><br></div><div><div>[root@master samba]# dig SRV _ldap._<a href="http://tcp.ad.idm.example.com" target="_blank">tcp.ad.idm.example.com</a></div>
<div><br></div><div>; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> SRV _ldap._<a href="http://tcp.ad.idm.example.com" target="_blank">tcp.ad.idm.example.com</a></div><div>;; global options: +cmd</div>
<div>
;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29147</div><div>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1</div><div><br></div><div>;; QUESTION SECTION:</div>
<div>;_ldap._<a href="http://tcp.ad.idm.example.com" target="_blank">tcp.ad.idm.example.com</a>.<span style="white-space:pre-wrap"> </span>IN<span style="white-space:pre-wrap"> </span>SRV</div><div><br></div><div>;; ANSWER SECTION:</div>
<div>_ldap._<a href="http://tcp.ad.idm.example.com" target="_blank">tcp.ad.idm.example.com</a>. 600 IN<span style="white-space:pre-wrap"> </span>SRV<span style="white-space:pre-wrap"> </span>0 100 389 <a href="http://master.ad.idm.example.com" target="_blank">master.ad.idm.example.com</a>.</div>
<div><br></div><div>;; ADDITIONAL SECTION:</div><div><a href="http://master.ad.idm.example.com" target="_blank">master.ad.idm.example.com</a>. 3600<span style="white-space:pre-wrap"> </span>IN<span style="white-space:pre-wrap"> </span>A<span style="white-space:pre-wrap"> </span>10.255.0.4</div>
<div><br></div><div>;; Query time: 1 msec</div><div>;; SERVER: 10.255.0.4#53(10.255.0.4)</div><div>;; WHEN: Fri May 16 10:46:23 2014</div><div>;; MSG SIZE rcvd: 106</div></div><div><br></div><div><br></div><div><br></div>
<div>In my case AD is the netbios name of the AD domain. Please find the log message from the file log.wb-AD.</div><div><br></div><div><br></div><div><div>[2014/05/16 10:50:37.542420, 5, pid=3305, effective(0, 0), real(0, 0)] ../lib/util/debug.c:331(debug_dump_status)</div>
<div> INFO: Current debug levels:</div><div> all: 10</div><div> tdb: 10</div><div> printdrivers: 10</div><div> lanman: 10</div><div> smb: 10</div><div> rpc_parse: 10</div><div> rpc_srv: 10</div><div>
rpc_cli: 10</div><div> passdb: 10</div><div> sam: 10</div><div> auth: 10</div><div> winbind: 10</div><div> vfs: 10</div><div> idmap: 10</div><div> quota: 10</div><div> acls: 10</div><div> locking: 10</div>
<div> msdfs: 10</div><div> dmapi: 10</div><div> registry: 10</div><div>[2014/05/16 10:50:37.543303, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:306(get_timed_events_timeout)</div><div> timed_events_timeout: 4/879652</div>
<div>[2014/05/16 10:50:37.543423, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:306(get_timed_events_timeout)</div><div> timed_events_timeout: 4/879521</div><div>[2014/05/16 10:50:42.428450, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div>
<div> Running timed event "check_domain_online_handler" 0x1753150</div><div>[2014/05/16 10:50:42.428642, 10, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cm.c:299(check_domain_online_handler)</div>
<div> check_domain_online_handler: called for domain AD (online = False)</div><div>[2014/05/16 10:50:42.430896, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)</div><div> Registering messaging pointer for type 1030 - private_data=(nil)</div>
<div>[2014/05/16 10:50:42.431077, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:308(messaging_register)</div><div> Overriding messaging pointer for type 1030 - private_data=(nil)</div><div>[2014/05/16 10:50:42.431167, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)</div>
<div> Registering messaging pointer for type 1031 - private_data=(nil)</div><div>[2014/05/16 10:50:42.431253, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:308(messaging_register)</div><div> Overriding messaging pointer for type 1031 - private_data=(nil)</div>
<div>[2014/05/16 10:50:43.442198, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages_local.c:75(messaging_tdb_signal_handler)</div><div> messaging_tdb_signal_handler: sig[10] count[1] msgs[1]</div><div>[2014/05/16 10:50:43.442306, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages_local.c:496(message_dispatch)</div>
<div> message_dispatch: received_messages = 1</div><div>[2014/05/16 10:50:43.442460, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages_local.c:242(messaging_tdb_fetch)</div><div> messaging_tdb_fetch:</div>
<div>[2014/05/16 10:50:43.442575, 1, pid=3305, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:245(ndr_print_debug)</div><div> result: struct messaging_array</div><div> num_messages : 0x00000001 (1)</div>
<div> messages: ARRAY(1)</div><div> messages: struct messaging_rec</div><div> msg_version : 0x00000002 (2)</div><div> msg_type : MSG_WINBIND_TRY_TO_GO_ONLINE (1030)</div>
<div> dest: struct server_id</div><div> pid : 0x0000000000000ce9 (3305)</div><div> task_id : 0x00000000 (0)</div><div> vnn : 0xffffffff (4294967295)</div>
<div> unique_id : 0x0000000000000000 (0)</div><div> src: struct server_id</div><div> pid : 0x0000000000000f4a (3914)</div><div>
task_id : 0x00000000 (0)</div><div> vnn : 0xffffffff (4294967295)</div><div> unique_id : 0x0000000000000000 (0)</div>
<div> buf : DATA_BLOB length=3</div><div> [0000] 41 44 00 AD. </div><div>[2014/05/16 10:50:43.443463, 5, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cm.c:155(msg_try_to_go_online)</div>
<div> msg_try_to_go_online: received for domain AD.</div><div>[2014/05/16 10:50:43.443556, 3, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cm.c:1730(connection_ok)</div><div> connection_ok: Connection to for domain AD is not connected</div>
<div>[2014/05/16 10:50:43.443692, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:208(saf_fetch)</div><div> saf_fetch: failed to find server for "AD" domain</div><div>[2014/05/16 10:50:43.443792, 10, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cm.c:1560(cm_open_connection)</div>
<div> cm_open_connection: dcname is '' for domain AD</div><div>[2014/05/16 10:50:43.443912, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3289(get_sorted_dc_list)</div><div> get_sorted_dc_list: attempting lookup for name AD (sitename NULL)</div>
<div>[2014/05/16 10:50:43.444041, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:208(saf_fetch)</div><div> saf_fetch: failed to find server for "AD" domain</div><div>[2014/05/16 10:50:43.444136, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3102(get_dc_list)</div>
<div> get_dc_list: preferred server list: ", *"</div><div>[2014/05/16 10:50:43.444224, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2598(internal_resolve_name)</div><div> internal_resolve_name: looking up AD#1c (sitename (null))</div>
<div>[2014/05/16 10:50:43.444332, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namecache.c:160(namecache_fetch)</div><div> no entry for AD#1C found.</div><div>[2014/05/16 10:50:43.444426, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2266(resolve_lmhosts)</div>
<div> resolve_lmhosts: Attempting lmhosts lookup for name AD<0x1c></div><div>[2014/05/16 10:50:43.444525, 3, pid=3305, effective(0, 0), real(0, 0)] ../libcli/nbt/lmhosts.c:185(resolve_lmhosts_file_as_sockaddr)</div>
<div> resolve_lmhosts: Attempting lmhosts lookup for name AD<0x1c></div><div>[2014/05/16 10:50:43.444653, 4, pid=3305, effective(0, 0), real(0, 0)] ../libcli/nbt/lmhosts.c:111(getlmhostsent)</div><div> getlmhostsent: lmhost entry: 127.0.0.1 localhost </div>
<div>[2014/05/16 10:50:43.444854, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2068(resolve_wins_send)</div><div> resolve_wins: WINS server resolution selected and no WINS servers listed.</div>
<div>[2014/05/16 10:50:43.444959, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2315(resolve_hosts)</div><div> resolve_hosts: not appropriate for name type <0x1c></div><div>[2014/05/16 10:50:43.445052, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:1806(name_resolve_bcast_send)</div>
<div> name_resolve_bcast: Attempting broadcast lookup for name AD<0x1c></div><div>[2014/05/16 10:50:43.445243, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:499(open_socket_in)</div><div> bind succeeded on port 0</div>
<div>[2014/05/16 10:50:43.445352, 5, pid=3305, effective(0, 0), real(0, 0)] ../lib/util/util_net.c:848(print_socket_options)</div><div> Socket options:</div><div> <span style="white-space:pre-wrap"> </span>SO_KEEPALIVE = 0</div>
<div> <span style="white-space:pre-wrap"> </span>SO_REUSEADDR = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_BROADCAST = 1</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_NODELAY.</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPCNT.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPIDLE.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPINTVL.</div>
<div> <span style="white-space:pre-wrap"> </span>IPTOS_LOWDELAY = 0</div><div> <span style="white-space:pre-wrap"> </span>IPTOS_THROUGHPUT = 0</div><div> <span style="white-space:pre-wrap"> </span>SO_REUSEPORT = 1</div>
<div> <span style="white-space:pre-wrap"> </span>SO_SNDBUF = 124928</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVBUF = 124928</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDLOWAT = 1</div>
<div> <span style="white-space:pre-wrap"> </span>SO_RCVLOWAT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDTIMEO = 0</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVTIMEO = 0</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_QUICKACK.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_DEFER_ACCEPT.</div><div>[2014/05/16 10:50:43.447711, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/unexpected.c:546(nb_packet_reader_connected)</div>
<div> async_connect failed: No such file or directory</div><div>[2014/05/16 10:50:43.448042, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:600(nb_trans_got_reader)</div><div> nmbd not around</div>
<div>[2014/05/16 10:50:43.448178, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x17515b0</div><div>[2014/05/16 10:50:43.448403, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:499(open_socket_in)</div>
<div> bind succeeded on port 0</div><div>[2014/05/16 10:50:43.448513, 5, pid=3305, effective(0, 0), real(0, 0)] ../lib/util/util_net.c:848(print_socket_options)</div><div> Socket options:</div><div> <span style="white-space:pre-wrap"> </span>SO_KEEPALIVE = 0</div>
<div> <span style="white-space:pre-wrap"> </span>SO_REUSEADDR = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_BROADCAST = 1</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_NODELAY.</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPCNT.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPIDLE.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPINTVL.</div>
<div> <span style="white-space:pre-wrap"> </span>IPTOS_LOWDELAY = 0</div><div> <span style="white-space:pre-wrap"> </span>IPTOS_THROUGHPUT = 0</div><div> <span style="white-space:pre-wrap"> </span>SO_REUSEPORT = 1</div>
<div> <span style="white-space:pre-wrap"> </span>SO_SNDBUF = 124928</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVBUF = 124928</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDLOWAT = 1</div>
<div> <span style="white-space:pre-wrap"> </span>SO_RCVLOWAT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDTIMEO = 0</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVTIMEO = 0</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_QUICKACK.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_DEFER_ACCEPT.</div><div>[2014/05/16 10:50:43.449329, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/unexpected.c:546(nb_packet_reader_connected)</div>
<div> async_connect failed: No such file or directory</div><div>[2014/05/16 10:50:43.449442, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:600(nb_trans_got_reader)</div><div> nmbd not around</div>
<div>[2014/05/16 10:50:44.449727, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750c10</div><div>[2014/05/16 10:50:44.449994, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div>
<div> Running timed event "tevent_req_timedout" 0x1753b90</div><div>[2014/05/16 10:50:44.450115, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3123(get_dc_list)</div><div> Adding 0 DC's from auto lookup</div>
<div>[2014/05/16 10:50:44.450208, 4, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3134(get_dc_list)</div><div> get_dc_list: no servers found</div><div>[2014/05/16 10:50:44.450294, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3289(get_sorted_dc_list)</div>
<div> get_sorted_dc_list: attempting lookup for name <a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a> (sitename NULL)</div><div>[2014/05/16 10:50:44.450435, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:208(saf_fetch)</div>
<div> saf_fetch: failed to find server for "<a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a>" domain</div><div>[2014/05/16 10:50:44.450531, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3102(get_dc_list)</div>
<div> get_dc_list: preferred server list: ", *"</div><div>[2014/05/16 10:50:44.450620, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2598(internal_resolve_name)</div><div> internal_resolve_name: looking up <a href="http://ad.idm.example.com#1c" target="_blank">ad.idm.example.com#1c</a> (sitename (null))</div>
<div>[2014/05/16 10:50:44.450733, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namecache.c:165(namecache_fetch)</div><div> name <a href="http://ad.idm.example.com#1C" target="_blank">ad.idm.example.com#1C</a> found.</div>
<div>[2014/05/16 10:50:44.450946, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:1110(remove_duplicate_addrs2)</div><div> remove_duplicate_addrs2: looking for duplicate address/port pairs</div>
<div>
[2014/05/16 10:50:44.451046, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3123(get_dc_list)</div><div> Adding 1 DC's from auto lookup</div><div>[2014/05/16 10:50:44.451155, 9, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/conncache.c:150(check_negative_conn_cache)</div>
<div> check_negative_conn_cache returning result 0 for domain <a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a> server 10.255.0.4</div><div>[2014/05/16 10:50:44.451254, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:1110(remove_duplicate_addrs2)</div>
<div> remove_duplicate_addrs2: looking for duplicate address/port pairs</div><div>[2014/05/16 10:50:44.451342, 4, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3239(get_dc_list)</div><div> get_dc_list: returning 1 ip addresses in an ordered list</div>
<div>[2014/05/16 10:50:44.451427, 4, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3240(get_dc_list)</div><div> get_dc_list: <a href="http://10.255.0.4:389" target="_blank">10.255.0.4:389</a> </div>
<div>[2014/05/16 10:50:44.451530, 9, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/conncache.c:150(check_negative_conn_cache)</div>
<div> check_negative_conn_cache returning result 0 for domain AD server 10.255.0.4</div><div>[2014/05/16 10:50:44.451669, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:585(open_socket_out_send)</div>
<div> Connecting to 10.255.0.4 at port 445</div><div>[2014/05/16 10:50:44.452793, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/clidgram.c:333(nbt_getdc_send)</div><div> No nmbd found</div><div>[2014/05/16 10:50:44.452930, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:916(name_status_find)</div>
<div> name_status_find: looking up AD#1c at 10.255.0.4</div><div>[2014/05/16 10:50:44.453044, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namecache.c:299(namecache_status_fetch)</div><div> namecache_status_fetch: no entry for NBT/AD#1C.20.10.255.0.4 found.</div>
<div>[2014/05/16 10:50:44.453279, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:499(open_socket_in)</div><div> bind succeeded on port 0</div><div>[2014/05/16 10:50:44.453449, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/unexpected.c:546(nb_packet_reader_connected)</div>
<div> async_connect failed: No such file or directory</div><div>[2014/05/16 10:50:44.453564, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:600(nb_trans_got_reader)</div><div> nmbd not around</div>
<div>[2014/05/16 10:50:45.454766, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750470</div><div>[2014/05/16 10:50:46.456103, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div>
<div> Running timed event "tevent_req_timedout" 0x1750470</div><div>[2014/05/16 10:50:47.457451, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750470</div>
<div>[2014/05/16 10:50:48.458773, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750470</div><div>[2014/05/16 10:50:49.460093, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div>
<div> Running timed event "tevent_req_timedout" 0x1750470</div><div>[2014/05/16 10:50:50.461420, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750470</div>
<div>[2014/05/16 10:50:51.462723, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750470</div><div>[2014/05/16 10:50:52.464265, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div>
<div> Running timed event "tevent_req_timedout" 0x1750470</div><div>[2014/05/16 10:50:53.465546, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750470</div>
<div>[2014/05/16 10:50:54.455168, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1750590</div><div>[2014/05/16 10:50:54.455385, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:962(name_status_find)</div>
<div> name_status_find: name not found</div><div>[2014/05/16 10:50:54.455497, 10, pid=3305, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:179(gencache_set_data_blob)</div><div> Adding cache entry with key = NEG_CONN_CACHE/AD,10.255.0.4 and timeout = Fri May 16 10:51:54 2014</div>
<div> (60 seconds ahead)</div><div>[2014/05/16 10:50:54.455739, 9, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/conncache.c:189(add_failed_connection_entry)</div><div> add_failed_connection_entry: added domain AD (10.255.0.4) to failed conn cache</div>
<div>[2014/05/16 10:50:54.455853, 10, pid=3305, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:246(gencache_del)</div><div> Deleting cache entry (key = SAFJOIN/DOMAIN/AD)</div><div>[2014/05/16 10:50:54.455967, 10, pid=3305, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:246(gencache_del)</div>
<div> Deleting cache entry (key = SAF/DOMAIN/AD)</div><div>[2014/05/16 10:50:54.456078, 10, pid=3305, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:179(gencache_set_data_blob)</div><div> Adding cache entry with key = NEG_CONN_CACHE/<a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a>,10.255.0.4 and timeout = Fri May 16 10:51:54 2014</div>
<div> (60 seconds ahead)</div><div>[2014/05/16 10:50:54.456236, 9, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/conncache.c:189(add_failed_connection_entry)</div><div> add_failed_connection_entry: added domain <a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a> (10.255.0.4) to failed conn cache</div>
<div>[2014/05/16 10:50:54.456330, 10, pid=3305, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:246(gencache_del)</div><div> Deleting cache entry (key = SAFJOIN/DOMAIN/<a href="http://AD.IDM.WEBYOG.COM" target="_blank">AD.IDM.WEBYOG.COM</a>)</div>
<div>[2014/05/16 10:50:54.456433, 10, pid=3305, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:246(gencache_del)</div><div> Deleting cache entry (key = SAF/DOMAIN/<a href="http://AD.IDM.WEBYOG.COM" target="_blank">AD.IDM.WEBYOG.COM</a>)</div>
<div>[2014/05/16 10:50:54.456601, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3289(get_sorted_dc_list)</div><div> get_sorted_dc_list: attempting lookup for name AD (sitename NULL)</div><div>
[2014/05/16 10:50:54.456761, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:208(saf_fetch)</div>
<div> saf_fetch: failed to find server for "AD" domain</div><div>[2014/05/16 10:50:54.456876, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3102(get_dc_list)</div><div> get_dc_list: preferred server list: ", *"</div>
<div>[2014/05/16 10:50:54.456966, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2598(internal_resolve_name)</div><div> internal_resolve_name: looking up AD#1c (sitename (null))</div><div>[2014/05/16 10:50:54.457072, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namecache.c:160(namecache_fetch)</div>
<div> no entry for AD#1C found.</div><div>[2014/05/16 10:50:54.457240, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2266(resolve_lmhosts)</div><div> resolve_lmhosts: Attempting lmhosts lookup for name AD<0x1c></div>
<div>[2014/05/16 10:50:54.457332, 3, pid=3305, effective(0, 0), real(0, 0)] ../libcli/nbt/lmhosts.c:185(resolve_lmhosts_file_as_sockaddr)</div><div> resolve_lmhosts: Attempting lmhosts lookup for name AD<0x1c></div>
<div>[2014/05/16 10:50:54.457446, 4, pid=3305, effective(0, 0), real(0, 0)] ../libcli/nbt/lmhosts.c:111(getlmhostsent)</div><div> getlmhostsent: lmhost entry: 127.0.0.1 localhost </div><div>[2014/05/16 10:50:54.457644, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2068(resolve_wins_send)</div>
<div> resolve_wins: WINS server resolution selected and no WINS servers listed.</div><div>[2014/05/16 10:50:54.457745, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2315(resolve_hosts)</div><div>
resolve_hosts: not appropriate for name type <0x1c></div><div>[2014/05/16 10:50:54.457854, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:1806(name_resolve_bcast_send)</div><div> name_resolve_bcast: Attempting broadcast lookup for name AD<0x1c></div>
<div>[2014/05/16 10:50:54.458057, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:499(open_socket_in)</div><div> bind succeeded on port 0</div><div>[2014/05/16 10:50:54.458163, 5, pid=3305, effective(0, 0), real(0, 0)] ../lib/util/util_net.c:848(print_socket_options)</div>
<div> Socket options:</div><div> <span style="white-space:pre-wrap"> </span>SO_KEEPALIVE = 0</div><div> <span style="white-space:pre-wrap"> </span>SO_REUSEADDR = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_BROADCAST = 1</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_NODELAY.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPCNT.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPIDLE.</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPINTVL.</div><div> <span style="white-space:pre-wrap"> </span>IPTOS_LOWDELAY = 0</div><div> <span style="white-space:pre-wrap"> </span>IPTOS_THROUGHPUT = 0</div>
<div> <span style="white-space:pre-wrap"> </span>SO_REUSEPORT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDBUF = 124928</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVBUF = 124928</div>
<div> <span style="white-space:pre-wrap"> </span>SO_SNDLOWAT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVLOWAT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDTIMEO = 0</div>
<div> <span style="white-space:pre-wrap"> </span>SO_RCVTIMEO = 0</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_QUICKACK.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_DEFER_ACCEPT.</div>
<div>[2014/05/16 10:50:54.458970, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/unexpected.c:546(nb_packet_reader_connected)</div><div> async_connect failed: No such file or directory</div><div>[2014/05/16 10:50:54.459086, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:600(nb_trans_got_reader)</div>
<div> nmbd not around</div><div>[2014/05/16 10:50:54.459182, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1752640</div>
<div>[2014/05/16 10:50:54.459354, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/util_sock.c:499(open_socket_in)</div><div> bind succeeded on port 0</div><div>[2014/05/16 10:50:54.459458, 5, pid=3305, effective(0, 0), real(0, 0)] ../lib/util/util_net.c:848(print_socket_options)</div>
<div> Socket options:</div><div> <span style="white-space:pre-wrap"> </span>SO_KEEPALIVE = 0</div><div> <span style="white-space:pre-wrap"> </span>SO_REUSEADDR = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_BROADCAST = 1</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_NODELAY.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPCNT.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPIDLE.</div>
<div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_KEEPINTVL.</div><div> <span style="white-space:pre-wrap"> </span>IPTOS_LOWDELAY = 0</div><div> <span style="white-space:pre-wrap"> </span>IPTOS_THROUGHPUT = 0</div>
<div> <span style="white-space:pre-wrap"> </span>SO_REUSEPORT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDBUF = 124928</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVBUF = 124928</div>
<div> <span style="white-space:pre-wrap"> </span>SO_SNDLOWAT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_RCVLOWAT = 1</div><div> <span style="white-space:pre-wrap"> </span>SO_SNDTIMEO = 0</div>
<div> <span style="white-space:pre-wrap"> </span>SO_RCVTIMEO = 0</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_QUICKACK.</div><div> <span style="white-space:pre-wrap"> </span>Could not test socket option TCP_DEFER_ACCEPT.</div>
<div>[2014/05/16 10:50:54.460242, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/unexpected.c:546(nb_packet_reader_connected)</div><div> async_connect failed: No such file or directory</div><div>[2014/05/16 10:50:54.460363, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:600(nb_trans_got_reader)</div>
<div> nmbd not around</div><div>[2014/05/16 10:50:55.460608, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x174f480</div>
<div>[2014/05/16 10:50:55.460853, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/events.c:216(run_events_poll)</div><div> Running timed event "tevent_req_timedout" 0x1753c10</div><div>[2014/05/16 10:50:55.460977, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3123(get_dc_list)</div>
<div> Adding 0 DC's from auto lookup</div><div>[2014/05/16 10:50:55.461070, 4, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3134(get_dc_list)</div><div> get_dc_list: no servers found</div><div>
[2014/05/16 10:50:55.461157, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3289(get_sorted_dc_list)</div><div> get_sorted_dc_list: attempting lookup for name <a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a> (sitename NULL)</div>
<div>[2014/05/16 10:50:55.461297, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:208(saf_fetch)</div><div> saf_fetch: failed to find server for "<a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a>" domain</div>
<div>[2014/05/16 10:50:55.461391, 3, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3102(get_dc_list)</div><div> get_dc_list: preferred server list: ", *"</div><div>[2014/05/16 10:50:55.461480, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:2598(internal_resolve_name)</div>
<div> internal_resolve_name: looking up <a href="http://ad.idm.example.com#1c" target="_blank">ad.idm.example.com#1c</a> (sitename (null))</div><div>[2014/05/16 10:50:55.461593, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namecache.c:165(namecache_fetch)</div>
<div> name <a href="http://ad.idm.example.com#1C" target="_blank">ad.idm.example.com#1C</a> found.</div><div>[2014/05/16 10:50:55.461788, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:1110(remove_duplicate_addrs2)</div>
<div> remove_duplicate_addrs2: looking for duplicate address/port pairs</div><div>[2014/05/16 10:50:55.461904, 8, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3123(get_dc_list)</div><div> Adding 1 DC's from auto lookup</div>
<div>[2014/05/16 10:50:55.462020, 9, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/conncache.c:150(check_negative_conn_cache)</div><div> check_negative_conn_cache returning result -1073741823 for domain <a href="http://ad.idm.example.com" target="_blank">ad.idm.example.com</a> server 10.255.0.4</div>
<div>[2014/05/16 10:50:55.462115, 5, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3175(get_dc_list)</div><div> get_dc_list: negative entry 10.255.0.4 removed from DC list</div><div>[2014/05/16 10:50:55.462200, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:1110(remove_duplicate_addrs2)</div>
<div> remove_duplicate_addrs2: looking for duplicate address/port pairs</div><div>[2014/05/16 10:50:55.462284, 4, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3239(get_dc_list)</div><div> get_dc_list: returning 0 ip addresses in an ordered list</div>
<div>[2014/05/16 10:50:55.462367, 4, pid=3305, effective(0, 0), real(0, 0)] ../source3/libsmb/namequery.c:3240(get_dc_list)</div><div> get_dc_list: </div><div>[2014/05/16 10:50:55.462457, 10, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cache.c:3456(set_global_winbindd_state_offline)</div>
<div> set_global_winbindd_state_offline: offline requested.</div><div>[2014/05/16 10:50:55.462551, 10, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cache.c:3467(set_global_winbindd_state_offline)</div>
<div> set_global_winbindd_state_offline: rejecting.</div><div>[2014/05/16 10:50:55.462634, 10, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cm.c:351(set_domain_offline)</div><div> set_domain_offline: called for domain AD</div>
<div>[2014/05/16 10:50:55.462724, 10, pid=3305, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cm.c:395(set_domain_offline)</div><div> set_domain_offline: added event handler for domain AD</div>
<div>[2014/05/16 10:50:55.462817, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages_local.c:75(messaging_tdb_signal_handler)</div><div> messaging_tdb_signal_handler: sig[10] count[2] msgs[1]</div><div>[2014/05/16 10:50:55.462923, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages_local.c:496(message_dispatch)</div>
<div> message_dispatch: received_messages = 1</div><div>[2014/05/16 10:50:55.463051, 10, pid=3305, effective(0, 0), real(0, 0)] ../source3/lib/messages_local.c:242(messaging_tdb_fetch)</div><div> messaging_tdb_fetch:</div>
<div>[2014/05/16 10:50:55.463140, 1, pid=3305, effective(0, 0), real(0, 0)] ../librpc/ndr/ndr.c:245(ndr_print_debug)</div><div> result: struct messaging_array</div><div> num_messages : 0x00000002 (2)</div>
<div> messages: ARRAY(2)</div><div> messages: struct messaging_rec</div><div> msg_version : 0x00000002 (2)</div><div> msg_type : MSG_DEBUG (1)</div>
<div> dest: struct server_id</div><div> pid : 0x0000000000000ce9 (3305)</div><div> task_id : 0x00000000 (0)</div><div> vnn : 0xffffffff (4294967295)</div>
<div> unique_id : 0x0000000000000000 (0)</div><div> src: struct server_id</div><div> pid : 0x0000000000000c85 (3205)</div><div>
task_id : 0x00000000 (0)</div><div> vnn : 0xffffffff (4294967295)</div><div> unique_id : 0x0000000000000000 (0)</div>
<div> buf : DATA_BLOB length=3</div><div> [0000] 31 31 00 11. </div><div> messages: struct messaging_rec</div><div> msg_version : 0x00000002 (2)</div>
<div> msg_type : MSG_DEBUG (1)</div><div> dest: struct server_id</div><div> pid : 0x0000000000000ce9 (3305)</div><div> task_id : 0x00000000 (0)</div>
<div> vnn : 0xffffffff (4294967295)</div><div> unique_id : 0x0000000000000000 (0)</div><div> src: struct server_id</div><div>
pid : 0x0000000000000c85 (3205)</div>
<div> task_id : 0x00000000 (0)</div><div> vnn : 0xffffffff (4294967295)</div><div> unique_id : 0x0000000000000000 (0)</div>
<div> buf : DATA_BLOB length=2</div><div> [0000] 31 00 1. </div><div>[2014/05/16 10:50:55.464485, 3, pid=3305, effective(0, 0), real(0, 0)] ../lib/util/debug_s3.c:72(debug_message)</div>
<div> INFO: Remote set of debug to `11' (pid 3305 from pid 3205)</div><div>[2014/05/16 10:50:55.464605, 5, pid=3305, effective(0, 0), real(0, 0)] ../lib/util/debug.c:331(debug_dump_status)</div></div><div><br></div>
<div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 16, 2014 at 2:18 PM, Sumit Bose <span dir="ltr"><<a href="mailto:sbose@redhat.com" target="_blank">sbose@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, May 15, 2014 at 11:57:46PM +0530, Supratik Goswami wrote:<br>
> ><br>
> > Does ipa trust-find and trust-show still show the trust relationship?<br>
> ><br>
><br>
> Yes, it is listing the AD domain.<br>
><br>
> After setting the debug level to 10 I got the below message after running<br>
> the command "wbinfo -n 'AD\Domain Admins' "<br>
><br>
<br>
</div>The log.wb-DOMAIN is needed here to identify why winbindd is not able to<br>
reach the DC.<br>
<br>
Have you checked if DNS is still working and can resolve SRV records for<br>
the AD domain, e.g.<br>
<br>
dig SRV _ldap._tcp.AD.DNS.DOMAIN<br>
<br>
should return IP addresses for your DCs.<br>
<br>
bye,<br>
Sumit<br>
<div><div><br>
><br>
><br>
<br>
_______________________________________________<br>
Freeipa-users mailing list<br>
<a href="mailto:Freeipa-users@redhat.com" target="_blank">Freeipa-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Warm Regards<br><br>Supratik
</div></div>