[Samba] Delay on first Attempt to resolve PDC host name
Nir Livni
nirl at cyber-ark.com
Wed Nov 20 16:52:06 GMT 2002
I am using samba 2.2.1a , in an NT-4 domain.
security = DOMAIN
on the first logon to the samba server,
I can see a message:
Attempting host lookup for name MYPDCNAME<0x20>
the next message appears after 10 seconds (that is the delay). samba tries
to resolve MYPDCNAME with the wins server, and succeeds.
Higher debug level (debug level = 10) does not produce more debug messages.
Any ideas why I have this delay ?
Thanks,
Nir
[2002/11/20 15:28:52, 3, pid=1293] smbd/process.c:process_smb(841)
Transaction 2 of length 214
[2002/11/20 15:28:52, 3, pid=1293] smbd/process.c:switch_message(654)
switch message SMBsesssetupX (pid 1293)
[2002/11/20 15:28:52, 3, pid=1293] smbd/sec_ctx.c:set_sec_ctx(316)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/11/20 15:28:52, 3, pid=1293] smbd/reply.c:reply_sesssetup_and_X(865)
Domain=[CYBERARK_DOM] NativeOS=[Windows 2002 2600 Service Pack 1]
NativeLanMan=[Windows 2002 5.1]
[2002/11/20 15:28:52, 3, pid=1293] smbd/reply.c:reply_sesssetup_and_X(876)
sesssetupX:name=[Weiss]
[2002/11/20 15:28:52, 4, pid=1293] smbd/server.c:reload_services(357)
RELOAD 1
[2002/11/20 15:28:52, 1, pid=1293]
/home/devyaron/import/PASmb/paops.c:pa_map_username(6856)
user=Weiss
[2002/11/20 15:28:52, 1, pid=1293]
/home/devyaron/import/PASmb/pasmbusers.c:pa_add_local_user(74)
Local user already exists (weiss)
[2002/11/20 15:28:52, 3, pid=1293] lib/util_sock.c:open_socket_in(832)
bind succeeded on port 0
[2002/11/20 15:28:52, 4, pid=1293] libsmb/nmblib.c:debug_nmb_packet(109)
nmb packet from 192.168.41.203(137) header: id=8110 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=No rec_des=No trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=*<00> rr_type=33 rr_class=1 ttl=0
answers ....blah blah blah....
answers ....blah blah blah....
answers ....blah blah blah....
answers e0 char ... hex 000000
[2002/11/20 15:28:52, 3, pid=1293] libsmb/namequery.c:resolve_lmhosts(733)
resolve_lmhosts: Attempting lmhosts lookup for name ORCA<0x20>
[2002/11/20 15:28:52, 4, pid=1293] libsmb/namequery.c:startlmhosts(448)
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error
was No such file or directory
[2002/11/20 15:28:52, 3, pid=1293] libsmb/namequery.c:resolve_hosts(773)
resolve_hosts: Attempting host lookup for name ORCA<0x20>
**** 10 SECONDS DELAY ***
[2002/11/20 15:29:02, 3, pid=1293] libsmb/namequery.c:resolve_wins(675)
resolve_wins: Attempting wins lookup for name ORCA<0x20>
[2002/11/20 15:29:02, 3, pid=1293] libsmb/namequery.c:resolve_wins(693)
resolve_wins: WINS server == <192.168.41.254>
[2002/11/20 15:29:02, 3, pid=1293] lib/util_sock.c:open_socket_in(832)
bind succeeded on port 0
[2002/11/20 15:29:02, 4, pid=1293] libsmb/nmblib.c:debug_nmb_packet(109)
nmb packet from 192.168.41.254(137) header: id=19439 opcode=Query(0)
response=Yes
header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=ORCA<20> rr_type=32 rr_class=1 ttl=0
answers 0 char ....). hex 0000C0A829CB
[2002/11/20 15:29:02, 2, pid=1293] libsmb/namequery.c:name_query(407)
Got a positive name query response from 192.168.41.254 ( 192.168.41.203 )
[2002/11/20 15:29:02, 3, pid=1293] lib/util_sock.c:open_socket_out(864)
Connecting to 192.168.41.203 at port 139
More information about the samba
mailing list