Hi,
First, I know about public IP addresses 193 and 194, i'm just using it
for tests before the final solution
Then adding static entries in the wins.dat file is possible of course
it's discribe in the samba's doc. By the way when you configure samba
PDC and BDC with Wins server and Wins client, the wins.dat goes
automaticaly with the line 2 and 3 of BDC1 wins.dat. I know then this is
samba which done it.
The problem come from the architecture. I've many sites which need Wins
server localy 'cause of windows's softs. When configuring smb.conf and
running smbd/nmbd then DBC are unable to join the DMB. I finaly goes
with BDC which are subnet LMB but unable to send netbios informations to
synchronize Wins. This could be verify by looking at the moment in
wins.dat BDC server. I can see my BDC as domain controleur for the
subnet but no information about PDC and setting log level = 9 show in
log.nmbd : DMB UNKNOW...
Maybe it possible that i've missed something in Wins proccesses
I'm going to investiguate one more time
thank for help
Vincent
On Tue, 27 Jun 2006, Vincent Fonteneau wrote:
Finaly WINS problem solved,
I'm not so sure. The WINS server is supposed to maintain a
dynamic database that is updated every time some NetBIOS names
are registered or deregistered on the network. Just stuffing
data into the databases like that isn't likely to really
work properly.
WINS replication is used (but I don't know if I can use the
expression "replication") by entering new parameters in
/var/lib/samba/wins.dat before starting smb daemon
on BDC1 the wins.dat should goes with :
"MYDOMAIN#00" 1151663528 255.255.255.255 e4R
"MYDOMAIN#1b" 1151589720 192.168.2.71 64R
"MYDOMAIN#1c" 1151663528 192.168.2.71 193.168.2.71 e4R
"MYDOMAIN#1e" 1151663528 255.255.255.255 e4R
"MYPDC#00" 1151589720 192.168.2.71 66R
"MYPDC#03" 1151589720 192.168.2.71 66R
"MYPDC#20" 1151589720 192.168.2.71 66R
"MYBDC1#00" 1151663528 193.168.2.71 66R
"MYBDC1#03" 1151663528 193.168.2.71 66R
"MYBDC1#20" 1151663528 193.168.2.71 66R
"MYBDC2#00" 1151663528 194.168.2.71 66R
"MYBDC2#03" 1151663528 194.168.2.71 66R
"MYBDC2#20" 1151663528 194.168.2.71 66R
on PDC the wins.dat should goes with :
"MYDOMAIN#00" 1151663528 255.255.255.255 e4R
"MYDOMAIN#1b" 1151589720 192.168.2.71 64R
"MYDOMAIN#1c" 1151663528 192.168.2.71 193.168.2.71 194.168.2.71 e4R
"MYDOMAIN#1e" 1151663528 255.255.255.255 e4R
"MYPDC#00" 1151589720 192.168.2.71 66R
"MYPDC#03" 1151589720 192.168.2.71 66R
"MYPDC#20" 1151589720 192.168.2.71 66R
"MYBDC1#00" 1151663528 193.168.2.71 66R
"MYBDC1#03" 1151663528 193.168.2.71 66R
"MYBDC1#20" 1151663528 193.168.2.71 66R
"MYBDC2#00" 1151663528 194.168.2.71 66R
"MYBDC2#03" 1151663528 194.168.2.71 66R
"MYBDC2#20" 1151663528 194.168.2.71 66R
That should be pretty good until Thu Jun 29 14:02:00 2006 (UTC)
when the entries with the timestamp 1151589720 will expire.
If you're going to hardcode data into WINS, at least read the
documentation on how to do that:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html#id2554221
Of course, I still recommend that you don't try to force
software to do replication when it wasn't designed to do that.
- Logan
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba