Hello,
Same result for me, I replaced my dirty correction with this one and all is working fine.
Thanks.
[EMAIL PROTECTED] wrote:
good so far...I applied the first patch to the 3.0.4 source and did my 2 hour test...the name expired and then had a successful lookup.
Thanks for your help!
____________________________________ Jeff Gerard - Systems Administrator Wawanesa Mutual Insurance Company Office: 204-985-0517 Fax: 204-947-5192 Email: [EMAIL PROTECTED]
Jeremy Allison <[EMAIL PROTECTED]> 29/06/2004 12:22 PM
Please respond to
Jeremy Allison <[EMAIL PROTECTED]>
To
[EMAIL PROTECTED]
cc
Jeremy Allison <[EMAIL PROTECTED]>, Guillaume Millet <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject
Re: [Samba] Samba 3.0.3/4 - WINS server expires names after 2 hours
On Tue, Jun 29, 2004 at 12:28:53PM -0500, [EMAIL PROTECTED] wrote:
expired.Ok..tried this and no go...
First request:
[2004/06/29 10:06:07, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1485)
wins_process_name_query: name query for name COMSRV6<00> from IP 10.111.1.111
[2004/06/29 10:06:07, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1549)
wins_process_name_query: name query for name COMSRV6<00> not found - doing dns lookup.
[2004/06/29 10:06:07, 3] nmbd/asyncdns.c:queue_dns_query(308)
added DNS query for COMSRV6<00>
[2004/06/29 10:06:07, 3] nmbd/asyncdns.c:add_dns_result(43)
add_dns_result: DNS gave answer for COMSRV6 of 10.230.1.1
[2004/06/29 10:06:07, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(236)
add_name_to_subnet: Added netbios name COMSRV6<00> with first IP 10.230.1.1 ttl=7200 nb_flags= 4 to subnet WINS_SERVER_SUBNET
....2 hours passes....
Request after expirey:
[2004/06/29 12:07:26, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1485)
wins_process_name_query: name query for name COMSRV6<00> from IP 10.111.1.111
[2004/06/29 12:07:26, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1531)
wins_process_name_query: name query for name COMSRV6<00> - name
Returning fail.
Thanks - dumb mistake of mine, sorry. Used "break" instead of "continue" so I was only expiring the first record. DOH !
I'm attaching two files, the first is the complete patch with "break" changed to "continue" and should be applied to 3.0.4 or above.
The second is just the "break" changed to "continue" fix and applies to the source you're running.
Sorry for the mistake.
Jeremy.
--
Guillaume Millet
Societe OKTAL (http://www.oktal.fr)
8 rue de la ferme 92100 Boulogne Billancourt
Tel : (+33) 1 46 94 97 84
Fax : (+33) 1 41 41 91 44
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
