Jose
2010-May-10 15:18 UTC
[Samba] Samba PDC and OpenLdap Debian Lenny, Change IP, Clean cache?
Hello Sorry for my english I have a PDC with Samba and OpenLdap in Debian 5 lenny. I am testing group, users,policy, net join workstation.... bla bla bla. results very good. Today change ip static the pdc 192.168.56.101 for new ip address: 192.168.56.102 static. error log in /var/lib/samba/log.nmbd nx-1:/var/lib/samba# /etc/init.d/samba restart Stopping Samba daemons: nmbd[2010/05/10 05:33:50, 0] nmbd/nmbd.c:terminate(68) Got SIGTERM: going down... smbd. Starting Samba daemons: nmbd smbd. lnx-1:/var/lib/samba# [2010/05/10 05:33:53, 0] nmbd/nmbd.c:main(849) nmbd version 3.2.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2010/05/10 05:33:53, 0] nmbd/asyncdns.c:start_async_dns(155) started asyncdns process 2921 [2010/05/10 05:33:53, 0] nmbd/nmbd_logonnames.c:add_logon_names(160) add_domain_logon_names: Attempting to become logon server for workgroup DOMINIO.INT on subnet 192.168.56.102 [2010/05/10 05:33:53, 0] nmbd/nmbd_logonnames.c:add_logon_names(160) add_domain_logon_names: Attempting to become logon server for workgroup DOMINIO.INT on subnet UNICAST_SUBNET [2010/05/10 05:33:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336) become_domain_master_browser_wins: Attempting to become domain master browser on workgroup DOMINIO.INT, subnet UNICAST_SUBNET. [2010/05/10 05:33:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350) become_domain_master_browser_wins: querying WINS server from IP 127.0.0.1 for domain master browser name DOMINIO.INT<1b> on workgroup DOMINIO.INT [2010/05/10 05:33:53, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(121) become_logon_server_success: Samba is now a logon server for workgroup DOMINIO.INT on subnet UNICAST_SUBNET [2010/05/10 05:33:53, 0] nmbd/nmbd_become_dmb.c:become_domain_master_query_success(234) become_domain_master_query_success: There is already a domain master browser at IP 192.168.56.101 for workgroup DOMINIO.INT registered on subnet UNICAST_SUBNET. [2010/05/10 05:33:57, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(121) become_logon_server_success: Samba is now a logon server for workgroup DOMINIO.INT on subnet 192.168.56.102 [2010/05/10 05:34:16, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(395) ***** Samba name server LNX-1 is now a local master browser for workgroup DOMINIO.INT on subnet 192.168.56.102 ***** lnx-1:/var/lib/samba# [2010/05/10 05:34:37, 0] nmbd/nmbd_browsesync.c:domain_master_node_status_fail(247) domain_master_node_status_fail: Doing a node status request to the domain master browser for workgroup DOMINIO.INT at IP 192.168.56.101 failed. Cannot sync browser lists. [2010/05/10 05:39:07, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336) become_domain_master_browser_wins: Attempting to become domain master browser on workgroup DOMINIO.INT, subnet UNICAST_SUBNET. [2010/05/10 05:39:07, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350) become_domain_master_browser_wins: querying WINS server from IP 127.0.0.1 for domain master browser name DOMINIO.INT<1b> on workgroup DOMINIO.INT [2010/05/10 05:39:08, 0] nmbd/nmbd_become_dmb.c:become_domain_master_query_success(234) become_domain_master_query_success: There is already a domain master browser at IP 192.168.56.101 for workgroup DOMINIO.INT registered on subnet UNICAST_SUBNET. [2010/05/10 06:13:33, 0] nmbd/nmbd_browsesync.c:domain_master_node_status_fail(247) domain_master_node_status_fail: Doing a node status request to the domain master browser for workgroup DOMINIO.INT at IP 192.168.56.101 failed. Cannot sync browser lists. Old ip 192.168.56.101 new ip 192.168.56.102 How clean cache ip wins in the server pdc? Thanks. -- ############################# # Sistema Operativo: Debian # # Caracas, Venezuela # #############################
Jose
2010-May-12 14:58 UTC
[Samba] Samba PDC and OpenLdap Debian Lenny, Change IP, Clean cache?
Thanks Olafrv the log is solve. 2010/5/11 <olafrv at gmail.com>:> Try rm -rf /var/lib/samba/* ? But make a backup tar.gz before... > > > ? "You don't know where your shadow will fall", > ? ? ? ?Somebody.- > ---------------------------------------------------------------- > ?Olaf Reitmaier Veracierta (BB) <olafrv at gmail.com> > ---------------------------------------------------------------- > ? ? ? ? ? ?http://olafrv.googlepages.com > ---------------------------------------------------------------- > > -----Original Message----- > From: Jose <j.sejo1 at gmail.com> > Date: Tue, 11 May 2010 10:48:11 > To: Foro Samba<samba at lists.samba.org> > Subject: [Samba] Samba PDC and OpenLdap Debian Lenny, Change IP, Clean cache? > > Hello > > Sorry for my english > > I have a PDC with Samba and OpenLdap in Debian 5 lenny. > > I am testing group, users,policy, net join workstation.... bla bla > bla. ? results very good. > > Today change ip static the pdc ?192.168.56.101 ?for ?new ip address: > 192.168.56.102 static. > > error log in /var/lib/samba/log.nmbd > > nx-1:/var/lib/samba# /etc/init.d/samba restart > Stopping Samba daemons: nmbd[2010/05/10 05:33:50, 0] nmbd/nmbd.c:terminate(68) > Got SIGTERM: going down... > smbd. > Starting Samba daemons: nmbd smbd. > lnx-1:/var/lib/samba# [2010/05/10 05:33:53, 0] nmbd/nmbd.c:main(849) > nmbd version 3.2.5 started. > Copyright Andrew Tridgell and the Samba Team 1992-2008 > [2010/05/10 05:33:53, 0] nmbd/asyncdns.c:start_async_dns(155) > started asyncdns process 2921 > [2010/05/10 05:33:53, 0] nmbd/nmbd_logonnames.c:add_logon_names(160) > add_domain_logon_names: > Attempting to become logon server for workgroup DOMINIO.INT on subnet > 192.168.56.102 > [2010/05/10 05:33:53, 0] nmbd/nmbd_logonnames.c:add_logon_names(160) > add_domain_logon_names: > Attempting to become logon server for workgroup DOMINIO.INT on subnet > UNICAST_SUBNET > [2010/05/10 05:33:53, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336) > become_domain_master_browser_wins: > Attempting to become domain master browser on workgroup DOMINIO.INT, > subnet UNICAST_SUBNET. > [2010/05/10 05:33:53, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350) > become_domain_master_browser_wins: querying WINS server from IP > 127.0.0.1 for domain master browser name DOMINIO.INT<1b> on workgroup > DOMINIO.INT > [2010/05/10 05:33:53, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(121) > become_logon_server_success: Samba is now a logon server for workgroup > DOMINIO.INT on subnet UNICAST_SUBNET > [2010/05/10 05:33:53, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_query_success(234) > become_domain_master_query_success: > There is already a domain master browser at IP 192.168.56.101 for > workgroup DOMINIO.INT registered on subnet UNICAST_SUBNET. > [2010/05/10 05:33:57, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(121) > become_logon_server_success: Samba is now a logon server for workgroup > DOMINIO.INT on subnet 192.168.56.102 > > [2010/05/10 05:34:16, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(395) > ***** > > Samba name server LNX-1 is now a local master browser for workgroup > DOMINIO.INT on subnet 192.168.56.102 > ***** > lnx-1:/var/lib/samba# [2010/05/10 05:34:37, 0] > nmbd/nmbd_browsesync.c:domain_master_node_status_fail(247) > domain_master_node_status_fail: > Doing a node status request to the domain master browser > for workgroup DOMINIO.INT at IP 192.168.56.101 failed. > Cannot sync browser lists. > [2010/05/10 05:39:07, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(336) > become_domain_master_browser_wins: > Attempting to become domain master browser on workgroup DOMINIO.INT, > subnet UNICAST_SUBNET. > [2010/05/10 05:39:07, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(350) > become_domain_master_browser_wins: querying WINS server from IP > 127.0.0.1 for domain master browser name DOMINIO.INT<1b> on workgroup > DOMINIO.INT > [2010/05/10 05:39:08, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_query_success(234) > become_domain_master_query_success: > There is already a domain master browser at IP 192.168.56.101 for > workgroup DOMINIO.INT registered on subnet UNICAST_SUBNET. > > [2010/05/10 06:13:33, ?0] > nmbd/nmbd_browsesync.c:domain_master_node_status_fail(247) > ?domain_master_node_status_fail: > ?Doing a node status request to the domain master browser > ?for workgroup DOMINIO.INT at IP 192.168.56.101 failed. > ?Cannot sync browser lists. > > > Old ip 192.168.56.101 > new ip 192.168.56.102 > > > How clean cache ip wins in the server pdc? > > Thanks. > > > > > -- > ############################# > # ? Sistema Operativo: Debian ? ? ?# > # ? ? ? ?Caracas, Venezuela ? ? ? ? ?# > ############################# > -- > To unsubscribe from this list go to the following URL and read the > instructions: ?https://lists.samba.org/mailman/options/samba >-- ############################# # Sistema Operativo: Debian # # Caracas, Venezuela # #############################