Hello, Is it possible to add some static entries to the WINS database? We would like to add a few (logon-)server entries to it, when wins starts up. Why? We have several Samba servers who act as logon server on different subnets for different domains. Each logon server also acts as a local WINS server. It doesn't seem possible, not even with the options 'remote announce' or 'remote browse sync' to synchronize the information from the local WINS server with a central WINS server. For example, the information that states that a local Samba server acts as a logon server (Netbios Name type 1c) does not appear in the WINS-database of the central server, only in the WINS-database of the local server. Any ideas? Werner Maes LUDIT-KULeuven
An idea, sorry if not a correct answer. You could populate statically a lmhosts file on your WINS Server, and asking him to seek lmhosts, then wins... Regards, Paul werner maes a ?crit :> Hello, > > Is it possible to add some static entries to the WINS database? > We would like to add a few (logon-)server entries to it, when wins > starts up. > > Why? > > We have several Samba servers who act as logon server on different > subnets for different domains. Each logon server also acts as a local > WINS server. > It doesn't seem possible, not even with the options 'remote announce' or > 'remote browse sync' to synchronize the information from the local WINS > server > with a central WINS server. For example, the information that states that a > local Samba server acts as a logon server (Netbios Name type 1c) does not > appear in the WINS-database of the central server, only in the > WINS-database of > the local server. > > Any ideas? > > Werner Maes > LUDIT-KULeuven-- ===============Paul Tavernier Division Informatique Rectorat de Rouen Tel:02.35.14.77.51 Fax:02.35.14.77.52 mail:paul.tavernier@ac-rouen.fr "Mon p?re ?tait fonctionnaire et ma m?re ne faisait rien non plus." (Coluche) ================
Hello all, I'm having some strange problems with WINS. I've got a Red Hat 6.2 box running Samba 2.0.6. All users on the local subnet can see the Samba server no problem. Now, where things go weird: We want to be able to see our Samba server from our other subnets as well. I have the Samba box set up as a WINS server, local browse master, domain master, and preferred master. The os level is set to 255 which should make sure Samba always wins the election. There are a very few other NT servers here, NONE of which are set up as WINS servers to the best of my knowledge. Certainly none of the workstations have WINS server entries at all, other than the few test machines we've set up which have the Samba server as their WINS server. We are in a Novell 5 environment otherwise, all workstations are NT Workstation 4 with service pack 5 installed, along with either Novell Client 4.6 SP1 or 4.7. I have managed to get ONE of the workstations I have tested to see the Samba box. It works somewhat intermittently, rebooting will almost always cause the Samba server to disappear for a while. When it IS working, sometimes it can see all the workstations that the Samba server can see on its subnet and sometimes it can only see the Samba server and not the rest of the machines that it should be seeing. Other workstations get nothing, they see the local machines on the same subnet as them but not the Samba server. Checking with ipconfig /all DOES show that the primary WINS server is the Samba server. I'm somewhat stumped. Leaving the one station that sometimes works up and running for long periods of time USUALLY eventually results in being able to see everything as it should. However rebooting it will cause everything in the Samba server's subnet to disappear again. And like I said, I haven't been able to get any other workstations to even go this far. Does anyone have any ideas on this? The fact that it works at all suggests that Samba is at least configured somewhat correctly and is successfully becoming the master browser on its network. The log files don't seem to show anything too interesting, except for the occasional problem trying to send NetBIOS packets to the broadcast address for that network. Thanks in advance, Bryn
Hello all, I'm having some strange problems with WINS. I've got a Red Hat 6.2 box running Samba 2.0.6. All users on the local subnet can see the Samba server no problem. Now, where things go weird: We want to be able to see our Samba server from our other subnets as well. I have the Samba box set up as a WINS server, local browse master, domain master, and preferred master. The os level is set to 255 which should make sure Samba always wins the election. There are a very few other NT servers here, NONE of which are set up as WINS servers to the best of my knowledge. Certainly none of the workstations have WINS server entries at all, other than the few test machines we've set up which have the Samba server as their WINS server. We are in a Novell 5 environment otherwise, all workstations are NT Workstation 4 with service pack 5 installed, along with either Novell Client 4.6 SP1 or 4.7. I have managed to get ONE of the workstations I have tested to see the Samba box. It works somewhat intermittently, rebooting will almost always cause the Samba server to disappear for a while. When it IS working, sometimes it can see all the workstations that the Samba server can see on its subnet and sometimes it can only see the Samba server and not the rest of the machines that it should be seeing. Other workstations get nothing, they see the local machines on the same subnet as them but not the Samba server. Checking with ipconfig /all DOES show that the primary WINS server is the Samba server. I'm somewhat stumped. Leaving the one station that sometimes works up and running for long periods of time USUALLY eventually results in being able to see everything as it should. However rebooting it will cause everything in the Samba server's subnet to disappear again. And like I said, I haven't been able to get any other workstations to even go this far. Does anyone have any ideas on this? The fact that it works at all suggests that Samba is at least configured somewhat correctly and is successfully becoming the master browser on its network. The log files don't seem to show anything too interesting, except for the occasional problem trying to send NetBIOS packets to the broadcast address for that network. Thanks in advance, Bryn
I have one machine that steadfastly is giving me problems. It is BFT1 in the logs below: process_host_announce: from BFT1<00> IP 192.168.138.16 to BUILDUS.LAN<1d> for server BFT1. [2002/02/01 11:04:04, 3] nmbd/nmbd_incomingdgrams.c:process_host_announce(116) [2002/02/01 11:05:04, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(458) write_browse_list: Wrote browse list into file /var/lock/samba-2.2.2/browse.dat [2002/02/01 11:05:28, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1356) wins_process_name_query: name query for name BFT1<20> from IP 192.168.0.155 [2002/02/01 11:05:28, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1416) wins_process_name_query: name query for name BFT1<20> not found - doing dns lookup. [2002/02/01 11:05:28, 3] nmbd/asyncdns.c:queue_dns_query(308) added DNS query for BFT1<20> [2002/02/01 11:05:28, 3] nmbd/asyncdns.c:add_dns_result(37) add_dns_result: Negative DNS answer for BFT1 Why is bft1 not found? It is registered with WINS, it is in the browse.dat file: [root@pythia samba-2.2.2]# cat /var/lock/samba-2.2.2/browse.dat "BUILDUS.LAN" c0001000 "PHOENIX" "BUILDUS.LAN" "PHOENIX" 400d9b0b "Samba Password Server for Lowcountry Land Center" "BUILDUS.LAN" "APHRODITE" 40009b03 "Samba Server for Lowcountry Land Center" "BUILDUS.LAN" "TDS400-16760" 40011603 "" "BUILDUS.LAN" "CARDINAL.LAN" c0001000 "XYZ" "CARDINAL.LAN" "BFT3" 40412003 "david" "BUILDUS.LAN" "BFT2" 40412003 "File room" "BUILDUS.LAN" "BFT5" 40412003 "Cad1" "BUILDUS.LAN" "BFT1" 40412203 "ROBERT" "BUILDUS.LAN" "BFT4" 40412203 "Front desk" "BUILDUS.LAN" So why is it not showing up???? BFT5, which is AFAICT configured identically, works fine. It shows up in NN but when we try to access it, we get "not accessible" error. --Yan
Hi: I am using samba 2.2.5 with Redhat 7.2 and winbind on several machines. Our pdc is NT 4.0 Suddenly, I see a lot of the following in the log files: connect_to_client: Can't resolve address for XXXXXXX where XXXXX is the netbios name of the window workstation. wbinfo -N XXXXXXX returns: Could not lookup WINS by name XXXXXXX If I ping XXXXXX from a windows machine it returns the correct IP address. We are using a WINS server. And all the Windows machines register to it on boot. A peculiar thing is that XXXXXX is always either a windows 2000 or a windows XP workstation!!! Does my WINS server have a corrupted database? Does anybody know what is happening to us? Pablo My smb.conf is as follows: [global] workgroup = MINE interfaces = eth0 security = DOMAIN encrypt passwords = Yes password server = * pam password change = Yes log level = 2 log file = /var/log/samba/%m.log socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 preferred master = False local master = No domain master = False dns proxy = No wins server = 192.168.250.30 winbind uid = 1000-2000 winbind gid = 1000-2000 template shell = /bin/bash winbind separator = + winbind enum users = yes winbind enum groups = yes printing = cups [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes browseable = No [print$] path = /home/printers