The following is a re-post of my original, and as yet unresolved, questions about setting Samba up on my network. Since my original post I've renamed my NETBIOS workgroup to just SUNTREE (Thank you Robert, and others). I also setup various files for NAMED, named.conf, db.suntreeaz.com, db.192.168.254, db.66.1.24, db.127.0.0 and db.cache. nslookup seems to indicate that all is well within my network. I also moved WINS services over to Samba. I also noticed a strange event that may shed some light on the issue. I decided to "Promote" my BDC to a PDC. This is done with the Server Manager program in NT. I had my Server Manager set to view all the computers on my network, not just servers, but SPARKY, my Samba machine, was nowhere to be found. The process of switching Domain roles involves shutting of logins on both servers, synchronizing Domain information and changing roles and then switching logins back on. Just as BUCKO and CHANDLER exchanged roles, SPARKY showed up as a Server. I exited Server Manager once the roles were exchanged and went over to a 98 machine and looked for SPARKY in its Network Neighborhood. Not to be found! I went back over to BUCKO and couldn't find SPARKY in Network Neighborhood or in Server Manager even though it had just been there. I guessing that this is some sort of NT 4 SP6 (Service Pack 6) issue although I'm not sure why I can't see SPARKY in Windows 98 either. Here's the original post (modified): I'm new to Samba and FreeBSD and can't seem to get my Windows systems to see the Samba server I'm trying to set up. I have 2 Windows NT 4.0 (SP6) servers set up as domain controllers and a multi-homed FreeBSD box (v4.1.1) setup as a firewall and IP aliasing machine for access to the internet. The Samba version shipped with this version of FreeBSD is 2.0.7. My private network mask is 255.255.255.192 and all of my Windows machines connect and operate correctly with both NT Servers and also connect and access the internet via natd on my FreeBSD machine. The NT 4.0 (SP6) PDC is named CHANDLER and lives at 192.168.254.1. The NT 4.0 (SP6) BDC is named BUCKO and lives at 192.168.254.2. The FreeBSD 4.1.1 system is named SPARKY and lives at 192.168.254.5(fxp0) and 66.1.24.33(ed0). It is also running "named" and WINS. My SMB.CONF file and LOG files follow my questions. Since my existing setup is Windows Domain oriented with both a PDC and a BDC, is Samba 2.0.7 up to this task or should I be using a later version? Is IP aliasing screwing Samba up? i.e. Should Samba be running on a different machine or can Samba work with natd? Please forgive me if I've done something stupid. I'm in the process of reading the O'Reilly, "Using Samba" book but I am stumped. Thanks for your help Don /usr/local/etc/smb.conf # Samba config file created using SWAT # from UNKNOWN (192.168.254.5) # Date: 2000/12/08 17:53:26 # Global parameters [global] workgroup = SUNTREE netbios name = SPARKY server string = Samba %v on (%L) interfaces = 192.168.254.5/26 bind interfaces only = Yes security = DOMAIN encrypt passwords = Yes update encrypted = Yes debug level = 2 log file = /var/log/samba.log.%m max log size = 50 os level = 34 preferred master = Yes wins support = Yes hosts allow = 192.168.254. localhost [c] path = /mnt/c/FreeBSD writeable = Yes guest ok = Yes /var/log/samba.log.smb [2000/12/12 13:52:00, 2] lib/interface.c:add_interface(83) added interface ip=192.168.254.5 bcast=192.168.254.63 nmask=255.255.255.192 [2000/12/12 13:52:00, 1] smbd/files.c:file_init(216) file_init: Information only: requested 10000 open files, 1054 are available. [2000/12/12 13:52:00, 2] smbd/server.c:open_sockets(181) waiting for a connection /var/log/samba.log.nmb <No Entries - null> /var/log/log.smb [2000/12/12 13:52:00, 1] smbd/server.c:main(641) smbd version 2.0.7 started. Copyright Andrew Tridgell 1992-1998 [2000/12/12 13:52:00, 2] param/loadparm.c:do_section(2486) Processing section "[c]" /var/log/log.nmb [2000/12/12 13:52:00, 1] nmbd/nmbd.c:main(757) Netbios nameserver version 2.0.7 started. Copyright Andrew Tridgell 1994-1998 [2000/12/12 13:52:00, 2] nmbd/nmbd.c:main(788) Becoming a daemon. [2000/12/12 13:52:00, 0] nmbd/asyncdns.c:start_async_dns(150) started asyncdns process 335 [2000/12/12 13:52:00, 2] lib/interface.c:add_interface(83) added interface ip=192.168.254.5 bcast=192.168.254.63 nmask=255.255.255.192 [2000/12/12 13:52:00, 2] nmbd/nmbd_subnetdb.c:make_subnet(195) making subnet name:192.168.254.5 Broadcast address:192.168.254.63 Subnet mask:255.255.255.192 [2000/12/12 13:52:00, 2] nmbd/nmbd_subnetdb.c:make_subnet(195) making subnet name:UNICAST_SUBNET Broadcast address:192.168.254.5 Subnet mask:192.168.254.5 [2000/12/12 13:52:00, 2] nmbd/nmbd_subnetdb.c:make_subnet(195) making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2000/12/12 13:52:00, 2] nmbd/nmbd_subnetdb.c:make_subnet(195) making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2000/12/12 13:52:00, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(43) load_lmhosts_file: Can't open lmhosts file /usr/local/etc/lmhosts. Error was No such file or directory [2000/12/12 13:52:07, 2] nmbd/nmbd_elections.c:send_election_dgram(45) send_election_dgram: Sending election packet for workgroup SUNTREE on subnet 192.168.254.5 [2000/12/12 13:52:09, 2] nmbd/nmbd_elections.c:send_election_dgram(45) send_election_dgram: Sending election packet for workgroup SUNTREE on subnet 192.168.254.5 [2000/12/12 13:52:11, 2] nmbd/nmbd_elections.c:send_election_dgram(45) send_election_dgram: Sending election packet for workgroup SUNTREE on subnet 192.168.254.5 [2000/12/12 13:52:13, 2] nmbd/nmbd_elections.c:send_election_dgram(45) send_election_dgram: Sending election packet for workgroup SUNTREE on subnet 192.168.254.5 [2000/12/12 13:52:15, 2] nmbd/nmbd_elections.c:send_election_dgram(45) send_election_dgram: Sending election packet for workgroup SUNTREE on subnet 192.168.254.5 [2000/12/12 13:52:15, 2] nmbd/nmbd_elections.c:run_elections(209) run_elections: >>> Won election for workgroup SUNTREE on subnet 192.168.254.5 <<< [2000/12/12 13:52:15, 2] nmbd/nmbd_become_lmb.c:become_local_master_browser(550) become_local_master_browser: Starting to become a master browser for workgroup SUNTREE on subnet 192.168.254.5 [2000/12/12 13:52:24, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(405) ***** Samba name server SPARKY is now a local master browser for workgroup SUNTREE on subnet 192.168.254.5 ***** [2000/12/12 13:52:45, 0] nmbd/nmbd_browsesync.c:domain_master_node_status_fail(264) domain_master_node_status_fail: Doing a node status request to the domain master browser for workgroup SUNTREE at IP 192.168.254.2 failed. Cannot sync browser lists. /etc/namedb/named.conf // $FreeBSD: src/etc/namedb/named.conf,v 1.6.2.1 2000/07/15 07:49:29 kris Exp $ // // Refer to the named(8) man page for details. If you are ever going // to setup a primary server, make sure you've understood the hairy // details of how DNS is working. Even with simple mistakes, you can // break connectivity for affected parties, or cause huge amount of // useless Internet traffic. options { directory "/etc/namedb"; // In addition to the "forwarders" clause, you can force your name // server to never initiate queries of its own, but always ask its // forwarders only, by enabling the following line: // // forward only; // If you've got a DNS server around at your upstream provider, enter // its IP address here, and enable the line below. This will make you // benefit from its cache, thus reduce overall DNS traffic in the Internet. forwarders { 24.221.30.3; 24.221.30.4; }; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; /* * If running in a sandbox, you may have to specify a different * location for the dumpfile. */ // dump-file "s/named_dump.db"; }; // Note: the following will be supported in a future release. /* host { any; } { topology { 127.0.0.0/8; }; }; */ // Setting up secondaries is way easier and the rough picture for this // is explained below. // // If you enable a local name server, don't forget to enter 127.0.0.1 // into your /etc/resolv.conf so this server will be queried first. // Also, make sure to enable it in /etc/rc.conf. zone "suntreeaz.com" in { type master; file "db.suntreeaz"; }; zone "254.168.192.in-addr.arpa" in { type master; file "db.192.168.254"; }; zone "24.1.66.in-addr-arpa" in { type master; file "db.66.1.24"; }; zone "." { type hint; file "db.cache"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "db.127.0.0"; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.IP6.INT" { type master; file "db.127.0.0"; }; // NB: Do not use the IP addresses below, they are faked, and only // serve demonstration/documentation purposes! // // Example secondary config entries. It can be convenient to become // a secondary at least for the zone where your own domain is in. Ask // your network administrator for the IP address of the responsible // primary. // // Never forget to include the reverse lookup (IN-ADDR.ARPA) zone! // (This is the first bytes of the respective IP address, in reverse // order, with ".IN-ADDR.ARPA" appended.) // // Before starting to setup a primary zone, better make sure you fully // understand how DNS and BIND works, however. There are sometimes // unobvious pitfalls. Setting up a secondary is comparably simpler. // // NB: Don't blindly enable the examples below. :-) Use actual names // and addresses instead. // // NOTE!!! FreeBSD runs bind in a sandbox (see named_flags i n rc.conf). // The directory containing the secondary zones must be write accessible // to bind. The following sequence is suggested: // // mkdir /etc/namedb/s // chown bind.bind /etc/namedb/s // chmod 750 /etc/namedb/s /* zone "domain.com" { type slave; file "s/domain.com.bak"; masters { 192.168.1.1; }; }; zone "0.168.192.in-addr.arpa" { type slave; file "s/0.168.192.in-addr.arpa.bak"; masters { 192.168.1.1; }; }; */ /etc/namedb/db.suntreeaz $TTL 86400 @ IN SOA sparky.suntreeaz.com. root.sparky.suntreeaz.com. ( 2000120802 ; Serial 10800 ; Refresh after 3 hours 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 86400 ) ; Minimum TTL of 1 day ; ; Name servers ; IN NS sparky.suntreeaz.com. ; ; Mail Exchange Servers ; IN MX 50 sparky.suntreeaz.com. IN MX 100 mail.hevanet.com. ; ; Addresses for the canonical names ; localhost IN A 127.0.0.1 chandler IN A 192.168.254.1 bucko IN A 192.168.254.2 drs IN A 192.168.254.3 laptop IN A 192.168.254.11 updesk IN A 192.168.254.12 ellie IN A 192.168.254.13 ctx IN A 192.168.254.22 judy IN A 192.168.254.25 cma IN A 192.168.254.26 sparky IN A 192.168.254.5 IN A 66.1.24.33 ; ; Aliases ; www IN CNAME sparky ftp IN CNAME sparky ; ; Interface specific names ; pubnic IN A 66.1.24.33 prinic IN A 192.168.254.5 /etc/namedb/db.192.168.254 $TTL 86400 @ IN SOA sparky.suntreeaz.com. root.sparky.suntreeaz.com. ( 1 ; Serial 10800 ; Refresh after 3 hours 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 86400 ) ; Minimum TTL of 1 day ; ; Name servers ; IN NS sparky.suntreeaz.com. ; ; Addresses for the canonical names ; 1 IN PTR chandler.suntreeaz.com. 2 IN PTR bucko.suntreeaz.com. 3 IN PTR drs.suntreeaz.com. 5 IN PTR sparky.suntreeaz.com. 11 IN PTR laptop.suntreeaz.com. 12 IN PTR updesk.suntreeaz.com. 13 IN PTR ellie.suntreeaz.com. 22 IN PTR ctx.suntreeaz.com. 25 IN PTR judy.suntreeaz.com. 26 IN PTR cma.suntreeaz.com. /etc/namedb/db.66.1.24 $TTL 86400 @ IN SOA sparky.suntreeaz.com. root.sparky.suntreeaz.com. ( 1 ; Serial 10800 ; Refresh after 3 hours 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 86400 ) ; Minimum TTL of 1 day ; ; Name servers ; IN NS sparky.suntreeaz.com. ; ; Addresses for the canonical names ; 33 IN PTR sparky.suntreeaz.com. /etc/namedb/db.127.0.0 $TTL 86400 @ IN SOA sparky.suntreeaz.com. root.sparky.suntreeaz.com. ( 1 ; Serial 10800 ; Refresh after 3 hours 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 86400 ) ; Minimum TTL of 1 day ; ; Name servers ; IN NS sparky.suntreeaz.com. ; ; Addresses for the canonical names ; 1 IN PTR localhost. /etc/namedb/db.cache ; This file holds the information on root name servers needed to ; initialize cache of Internet domain name servers ; (e.g. reference this file in the "cache . <file>" ; configuration file of BIND domain name servers). ; ; This file is made available by InterNIC registration services ; under anonymous FTP as ; file /domain/named.root ; on server FTP.RS.INTERNIC.NET ; -OR- under Gopher at RS.INTERNIC.NET ; under menu InterNIC Registration Services (NSI) ; submenu InterNIC Registration Archives ; file named.root ; ; last update: Aug 22, 1997 ; related version of root zone: 1997082200 ; $FreeBSD: src/etc/namedb/named.root,v 1.9 1999/09/13 17:09:08 peter Exp $ ; ; formerly NS.INTERNIC.NET ; . 3600000 IN NS A.ROOT-SERVERS.NET. A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4 ; ; formerly NS1.ISI.EDU ; . 3600000 NS B.ROOT-SERVERS.NET. B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107 ; ; formerly C.PSI.NET ; . 3600000 NS C.ROOT-SERVERS.NET. C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12 ; ; formerly TERP.UMD.EDU ; . 3600000 NS D.ROOT-SERVERS.NET. D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90 ; ; formerly NS.NASA.GOV ; . 3600000 NS E.ROOT-SERVERS.NET. E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10 ; ; formerly NS.ISC.ORG ; . 3600000 NS F.ROOT-SERVERS.NET. F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241 ; ; formerly NS.NIC.DDN.MIL ; . 3600000 NS G.ROOT-SERVERS.NET. G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4 ; ; formerly AOS.ARL.ARMY.MIL ; . 3600000 NS H.ROOT-SERVERS.NET. H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53 ; ; formerly NIC.NORDU.NET ; . 3600000 NS I.ROOT-SERVERS.NET. I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17 ; ; temporarily housed at NSI (InterNIC) ; . 3600000 NS J.ROOT-SERVERS.NET. J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10 ; ; housed in LINX, operated by RIPE NCC ; . 3600000 NS K.ROOT-SERVERS.NET. K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129 ; ; temporarily housed at ISI (IANA) ; . 3600000 NS L.ROOT-SERVERS.NET. L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12 ; ; housed in Japan, operated by WIDE ; . 3600000 NS M.ROOT-SERVERS.NET. M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33 ; End of File