[2002/07/26 12:20:51, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
*****
Samba name server FREAK_SHOW is now a local master browser for
workgroup LINUX on subnet 192.168.0.3
*****
[2002/07/26 12:20:51, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(358)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name LINUX<1b> for the
workgroup LINUX.
Unable to sync browse lists in this workgroup.
Everything works fine, as far as I can tell. But when I do a "nbtstat -a
freak_show" from a win2k client, I get:
eth0:
Node IpAddress: [192.168.0.2] Scope Id: []
NetBIOS Remote Machine Name Table
Name Type Status
---------------------------------------------
FREAK_SHOW <00> UNIQUE Registered
FREAK_SHOW <03> UNIQUE Registered
FREAK_SHOW <20> UNIQUE Registered
..__MSBROWSE__.<01> GROUP Registered
LINUX <00> GROUP Registered
LINUX <1C> GROUP Registered
LINUX <1D> UNIQUE Registered
LINUX <1E> GROUP Registered
MAC Address = 00-00-00-00-00-00
No <1b> anywhere.
***** smb.conf *****
# Global parameters
[global]
workgroup = LINUX
security = DOMAIN
encrypt passwords = Yes
password server = *
log file = /var/log/samba/%m
domain admin group = @adm
add user script = /usr/sbin/useradd -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
logon script = scripts\default.bat
logon path = \\%N\profiles\%U
logon home = "\\%N\profiles\%U\My Documents"
domain logons = Yes
os level = 65
wins support = Yes
message command = /bin/bash -c 'cat %s | mail -s "winpopup" john ;
rm %s' &
guest account = guest
share modes = No
[homes]
read only = No
create mask = 0700
directory mask = 0700
locking = No
oplocks = No
[netlogon]
path = /home/netlogon
[public]
path = /home/public
read only = No
guest ok = Yes
[tenant_tracker]
path = /home/tenant_tracker
valid users = john
browseable = No
[profiles]
comment = domain user profiles
path = /home/profiles/
read only = No
create mask = 0600
directory mask = 0777
A couple of things come to mind here, but I'm shooting in the dark because
I don't know enough about your network to troubleshoot it effectivly. It
would be nice to know if the Samba box is running as a PDC or BDC, and if
there is an NT server anywhere in the network. But here goes nothing...
First, I seem to recall a piece of advice that indicates not using the
underscore in a Samba setup, thus your samba box named FREAK_SHOW might be
causing part of the problem. if possible, try renaming it to FREAKSHOW.
I also noticed that your security statement reads...
security = domain
Now, I've had nothing but trouble trying to force samba to use that setting
in an environment that lacked a true NT PDC. Try setting it to user
instead of domain.
Everything else, unless I overlooked something, appears to be in order.
> First, I seem to recall a piece of advice that indicates not using the
> underscore in a Samba setup, thus your samba box named FREAK_SHOW
> might be causing part of the problem. if possible, try renaming it to
> FREAKSHOW.
>
> I also noticed that your security statement reads...
>
> security = domain
>
> Now, I've had nothing but trouble trying to force samba to use that
> setting in an environment that lacked a true NT PDC. Try setting it
> to user instead of domain.
>
> Everything else, unless I overlooked something, appears to be in
> order.
>
>
Removing the '_' seems to have fixed it. I now see <1b> service type
when I do nmblookup -S. And I stopped getting the nmbd error every 15
minutes. Thanks!
One peculiarity; I have a script I run at startup which does a few
smbmounts to several win2k shares. Previously, I had to set '-o
username="root"' to get it to work right; now it will only work if a
regular user is specified. Maybe changing the security to user will fix
that. Or perhaps it's not a problem. It doesn't make sense either way.
I would think one should be able to smbmount as root or as a user.
>***** smb.conf *****
>
># Global parameters
>[global]
> workgroup = LINUX
> security = DOMAIN
Which means you forward authentication to a PDC (could be NT4 or
another Samba)
> encrypt passwords = Yes
> password server = *
Do logons work, also changing the smbpasswd? Why not specify your PDC
as password server explicitely here?
> log file = /var/log/samba/%m
> domain admin group = @adm
> add user script = /usr/sbin/useradd -n -g machines -c Machine -d
>/dev/null -s /bin/false %m$
> logon script = scripts\default.bat
> logon path = \\%N\profiles\%U
> logon home = "\\%N\profiles\%U\My Documents"
> domain logons = Yes
> os level = 65
> wins support = Yes
You should not set the os level to such a value on a non-PDC samba
server,
also make your PDC the wins server.
Something makes me think you don`t really want what you set here .....
Yikes! Thanks! I already screwed the pooch, though. And yes,
everything was working quite well with the samba as PDC. Well, as long
as I didn't look at the logs.