Hi, I have been having some issues where the samba server will take over my domain and I think that I have the issue resolved but I am still seeing oddities in the log files and I just wanted some clarification as to what this means. I am using winbind for authentication. Here is the layout of my test network: 192.168.100.1 (ALTEC) - NT4 sp5 (WINSERVER PDC) 192.168.100.2 (ACDSAMBA) - Redhat 7.1 (WINSERVER MEMBER) 192.168.100.3 (LANSING) - NT4 sp5 (WINSERVER BDC) Here are the log entries that I think are odd: [2002/01/10 11:28:09, 3] nmbd/nmbd_elections.c:process_election(284) process_election: Election request from ALTEC at IP 192.168.100.1 on subnet 192.168.100.2 for workgroup WINSERVER. [2002/01/10 11:28:09, 3] nmbd/nmbd_elections.c:win_election(236) win_election: Losing election as local master == False [2002/01/10 11:28:10, 3] nmbd/nmbd_incomingdgrams.c:process_local_master_announce(275) process_local_master_announce: from ALTEC<00> IP 192.168.100.1 to WINSERVER<1e> for server ALTEC. Should the samba server not say "Losing election as local master == True" and not "Losing election as local master == False"?? Here is my smb.conf <snip> [global] netbios name = acdsamba server string = Samba 2.2.2 config v0.5 security = DOMAIN workgroup = WINSERVER encrypt passwords = Yes allow trusted domains = No null passwords = No password server = altec lansing restrict anonymous = Yes log level = 3 log file = /var/log/samba.log max log size = 500000 min passwd length = 7 announce version = 4.5 announce as = NT load printers = No lm announce = No domain master = No preferred master = No domain logons = No local master = No os level = 0 browse list = Yes enhanced browsing = No dns proxy = No wins proxy = No wins support = No template homedir = /home/%D/%U template shell = /bin/bash winbind uid = 10000-20000 winbind gid = 10000-20000 winbind separator = + winbind cache time = 10 winbind enum users = Yes winbind enum groups = Yes browseable = Yes [tmp] comment = tmp file location path = /tmp read only = No </snip> Thanks - Justin -------------- next part -------------- HTML attachment scrubbed and removed
Hi Justin,
The debug entry does read oddly - but you ARE loosing the election. Read
the
debug message "Losing election as local master == False" as
"Losing
election BECAUSE local master == False"....
oops...
Don
-----Original Message-----
From: Justin Weissig [mailto:JWeissig@ACDSystems.com]
Sent: Thursday, January 10, 2002 3:00 PM
To: 'samba@samba.org'
Subject: oddities in the log files.
Hi,
I have been having some issues where the samba server will take over my
domain and I think that I have the issue resolved but I am still seeing
oddities in the log files and I just wanted some clarification as to what
this means. I am using winbind for authentication.
Here is the layout of my test network:
192.168.100.1 (ALTEC) - NT4 sp5 (WINSERVER PDC)
192.168.100.2 (ACDSAMBA) - Redhat 7.1 (WINSERVER MEMBER)
192.168.100.3 (LANSING) - NT4 sp5 (WINSERVER BDC)
Here are the log entries that I think are odd:
[2002/01/10 11:28:09, 3] nmbd/nmbd_elections.c:process_election(284)
process_election: Election request from ALTEC at IP 192.168.100.1 on subnet
192.168.100.2 for workgroup WINSERVER.
[2002/01/10 11:28:09, 3] nmbd/nmbd_elections.c:win_election(236)
win_election: Losing election as local master == False
[2002/01/10 11:28:10, 3]
nmbd/nmbd_incomingdgrams.c:process_local_master_announce(275)
process_local_master_announce: from ALTEC<00> IP 192.168.100.1 to
WINSERVER<1e> for server ALTEC.
Should the samba server not say "Losing election as local master ==
True"
and not "Losing election as local master == False"??
Here is my smb.conf
<snip>
[global]
netbios name = acdsamba
server string = Samba 2.2.2 config v0.5
security = DOMAIN
workgroup = WINSERVER
encrypt passwords = Yes
allow trusted domains = No
null passwords = No
password server = altec lansing
restrict anonymous = Yes
log level = 3
log file = /var/log/samba.log
max log size = 500000
min passwd length = 7
announce version = 4.5
announce as = NT
load printers = No
lm announce = No
domain master = No
preferred master = No
domain logons = No
local master = No
os level = 0
browse list = Yes
enhanced browsing = No
dns proxy = No
wins proxy = No
wins support = No
template homedir = /home/%D/%U
template shell = /bin/bash
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind separator = +
winbind cache time = 10
winbind enum users = Yes
winbind enum groups = Yes
browseable = Yes
[tmp]
comment = tmp file location
path = /tmp
read only = No
</snip>
Thanks
- Justin
-------------- next part --------------
HTML attachment scrubbed and removed