Dual samba servers and Win2k and browsing?
Bunny Pfau
bunny at hao.ucar.edu
Thu Oct 25 08:57:04 GMT 2001
HEllo:
I have a 2.2.1 Samba server set up and in operation on our network (Solaris 7)
I am TRYING to experiment with a different configuration, using Samba as a
PDC for our up-and-coming Win2K conversion, so I have
a second, experimental, 2.2.2 samba server set up on the same network.
As I said, I am trying to make the experimental server be a PDC for Win2k
machines The first server is just using workgroups and serves our existing
Win98 machines.
I *think* I have some sort of browse(?) conflict going on between the
two servers.
Here is data to identify the computers involved
The operational server has netbios name HAOSERVER, on host 128.117.16.5)
and it serves workgroup "HAO"
The experimental server has netbios name BOB (host 128.117.16.39) and it
serves domain "SAMBA2"
The Win2k client I try to connect to BOB (SAMBA2 domain) is 128.117.16.205
Here are the problems I experience:
* I can't get a Win2k machine to join the domain of my experimental server
(although I think I am doing this right since I did this months ago
when I just had ONE server running!).
When I try to join the Win2k computer to the new, experimental domain,
I get the message "The specified domain either does not exist or
could not be contacted." However, on the Win2k machine, I can indeed
SEE the domain when I go to My Network Places and click on "Entire
Network," so I know that the network connectivity is fine. I can even
click on that icon and get to resources that I have shared there--
logging in as "root" and with the password that I have listed in
the smbpasswd file, so I know that that is working ok.
* I get some funny messages in the nmbd.log of the experimental server
which repeat over and over (I get also other funny stuff, but I'm
trying to be selective about what part of the nmbd.log file I send):
[2001/10/25 09:34:22, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet 128.117.16.39:
found.
[2001/10/25 09:34:22, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet
UNICAST_SUBNET: found.
[2001/10/25 09:34:22, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet
UNICAST_SUBNET: found.
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet 128.117.16.39:
found.
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
dump_workgroups()
dump workgroup on subnet 128.117.16.39: netmask= 255.255.255.0:
SAMBA2(1) current master browser = BOB
BOB 40049b0b (Samba2.2.1_bob)
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
dump_workgroups()
dump workgroup on subnet UNICAST_SUBNET: netmask= 128.117.16.5:
SAMBA2(1) current master browser = UNKNOWN
BOB 40019a03 (Samba2.2.1_bob)
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet 128.117.16.39:
found.
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet 128.117.16.39:
found.
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet
UNICAST_SUBNET: found.
[2001/10/25 09:34:23, 8] lib/util.c:is_myname(1325)
is_myname("BOB") returns 1
[2001/10/25 09:34:23, 8] lib/util.c:is_myname(1325)
is_myname("BOB") returns 1
[2001/10/25 09:34:23, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(458)
write_browse_list: Wrote browse list into file
/opt/local/samba/var/locks/browse.dat
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet
UNICAST_SUBNET: found.
[2001/10/25 09:34:23, 4] nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
find_workgroup_on_subnet: workgroup search for SAMBA2 on subnet
UNICAST_SUBNET: found.
[2001/10/25 09:34:24, 5] libsmb/nmblib.c:read_packet(741)
Received a packet of len 201 from (128.117.16.205) port 138
[2001/10/25 09:34:24, 5] nmbd/nmbd_packets.c:process_dgram(1242)
process_dgram: ignoring dgram packet sent to name HAO<1d> from 128.117.16.205
Here is most of the smb.conf file from the operational server:
# Global parameters
[global]
workgroup = HAO
netbios name = HAOSERVER
server string = Samba2.2.1_jabba
username map = /opt/local/samba/lib/users.map
log level = 2
log file = /opt/local/samba/logs/log.%m
max log size = 2000
os level = 64
preferred master = True
domain master = True
wins server = 128.117.16.5
# wins support = Yes
admin users = root
printer admin = root
hosts allow = 128.117.16.0/255.255.255.0 128.117.104.0/255.255.255.0
128.117.68.0/255.255.255.0 128.117.65.0/255.255.255.0
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = Yes
Here is most of the smb.conf file from the experimental server:
# Global parameters
[global]
workgroup = SAMBA2
netbios name = BOB
server string = Samba2.2.1_bob
encrypt passwords = Yes
username map = /opt/local/samba/lib/users.map
log level = 8
log file = /opt/local/samba/logs/%m.log
domain logons = Yes
os level = 64
preferred master = True
domain master = True
wins server = 128.117.16.5
admin users = root ntadmin bunny
printer admin = root
hosts allow = 128.117.16.0/255.255.255.0 128.117.16.205
[homes]
comment = Home Directories
read only = No
browseable = No
[bobd]
comment = bob:/local/d
path = /bob/d
read only = No
create mask = 0644
[netlogon]
path = /opt/local/samba/lib/netlogon
write list = root
[profiles]
path = /opt/local/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
Thanks for any help!
Bunny
More information about the samba
mailing list