[Samba] Re: Samba Losing election

Craig White craigwhite at azapple.com
Wed Sep 22 05:17:54 GMT 2004


On Tue, 2004-09-21 at 13:10, Edilson Santos wrote:
> Craig,
> 
> The my server samba (samba 2.2.7a, red hat 9.0) is losing election for workstations
> winxp(I have workstations win98 and winxp), see my nmbd.log and my smb.conf.
> 
> [2004/07/29 16:18:52, 0]
> nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(403)
>   process_master_browser_announce: Cannot find workgroup HMAR on subnet UNICAST_SUBNET
> [2004/07/29 17:53:42, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
>   find_response_record: response packet id 32409 received with no matching record.
> [2004/07/29 17:55:21, 0] nmbd/nmbd.c:process(502)
>   Got SIGHUP dumping debug info.
> [2004/07/29 17:55:21, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(289)
>   dump_workgroups()
>    dump workgroup on subnet      10.0.0.203: netmask=    255.255.0.0:
>   	HMAR(1) current master browser = AUDITORIA2
>   		NOE 40099b0b (Samba Server)
> 
> The name of my server is noe and my workgroup/domain is Hmar
> 
> [global]
> 
>    workgroup = HMAR
>    netbios name = noe
>    netbios aliases = noe
>    server string = Samba Server
>   ; comment = PDC Suporte Tecnico
>    admin users = root
> ;   hosts allow = 192.168.1. 192.168.2. 127.
>    printcap name = /etc/printcap
>    load printers = yes
>    printing = cups
> 
>    log file = /var/log/samba/%m.log
>    max log size = 100
>  ;  debug level = 0
>    security = user
> 
>    encrypt passwords = yes
>    smb passwd file = /etc/samba/smbpasswd
> 
>    unix password sync = Yes
>    passwd program = /usr/bin/passwd %u
>    passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> 
>    pam password change = yes
>    obey pam restrictions = yes
> 
>    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 
>     local master = yes
>     os level = 100
>     announce as = NT Server
>     domain master = yes
>     preferred master = yes
>     domain logons = yes
>    logon script = %U.bat
> 
>   logon path = \\%N\profilesxp\%u
>    dns proxy = no
> 
> default service = homes
> 
> 
> I dont know what can to be!!!!!!!!!!!!!
-----
you need a wins server

wins support = yes #OR# wins server = xxx.xxx.xxx.xx
name resolve order = wins files dns #good thing to have too!

make sure the desktop machines point to that wins server 

Craig



More information about the samba mailing list