Re: name resolutin &samba problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Bubulac Angela Tatiana wrote:

> > OK: nss_wins is so that the Linux box can refer to
> > Windows boxes by
> > their NetBIOS ("Network Neighborhood") names.
> 
> How can I use it because if you follow  the README
> instruction for compilation the samba did not compile.
> How can I compile just the nss_wins? Is this enough?

I've checked the URL you gave for nss_wins, but it appears to be for
Solaris. Maybe there isn't a glibc version (although it shouldn't be
hard to port the Solaris version to glibc).

> > To allow the Windows boxes to refer to the Linux box
> > by name, you need
> > to ensure that nmbd is running (or will be run by
> > inetd as required),
> 
> the nmbd is running form ...init.d/smb script
> (...daemon smbd -D and nmbd -D)
> Here is some log info from log.nmb
>  Samba name server DELTACOM is now a local master
> browser for workgroup NETMANAGER on subnet
> 172.20.64.109
>   *****
> [2000/01/09 15:08:38, 0]
> nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(360)
> find_domain_master_name_query_fail:
>   Unable to find the Domain Master Browser name
> NETMANAGER<1b> for the workgroup NETMANAGER.
>   Unable to sync browse lists in this workgroup.
> [2000/01/09 15:20:18, 0]
> nmbd/nmbd_incomingdgrams.c:process_local_master_announce(309)
>   process_local_master_announce: Server NETSECURITY at
> IP 172.30.1.90 is announcing itself as a local master
> browser for workgroup NETMANAGER and we think we are
> master. Forcing election.
> [2000/01/09 15:20:18, 0]
> nmbd/nmbd_become_lmb.c:unbecome_local_master_success(155)
>   *****
>   Samba name server DELTACOM has stopped being a local
> master browser for workgroup NETMANAGER on subnet
> 172.20.64.109
>   *****
> [2000/01/09 15:20:35, 0]
> nmbd/nmbd_become_lmb.c:become_local_master_stage2(405)
>   *****
>   Samba name server DELTACOM is now a local master
> browser for workgroup NETMANAGER on subnet
> 172.20.64.109
>   *****
> [2000/01/09 15:20:35, 0]
> nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(360)
>   find_domain_master_name_query_fail:
>   Unable to find the Domain Master Browser name
> NETMANAGER<1b> for the workgroup NETMANAGER.
>   Unable to sync browse lists in this workgroup.
> [2000/01/09 15:29:39, 0] nmbd/nmbd.c:sig_term(65)
>   Got SIGTERM: going down...
> [2000/01/10 10:48:09, 1] nmbd/nmbd.c:main(757)
>   Netbios nameserver version 2.0.7 started.
> 
> > and that smb.conf is configured correctly (I'm not
> > going to begin to
> > discuss what "correctly" means for your particular
> > setup).
> 
> [global]
> workgroup = NETMANAGER
> server string = Deltacom Samba Server
> printcap name = /etc/printcap
> load printers = yes
> printing = lprng
> log file = /var/log/samba/%m.log
> max log size = 0
> security = user
> socket options = TCP_NODELAY SO_RCVBUF=8192
> SO_SNDBUF=8192

> remote browse sync = 172.30.1.100
> remote announce = 172.30.1.100

These look bogus; the smb.conf(5) manpage says:

Of "remote browse sync":

>              This is done in a manner that does not work with any
>              non-samba servers.

Of "remote announce":

>	       The  IP  addresses you choose would normally be the
>	       broadcast addresses of the remote networks, but can
>	       also be the IP addresses of known browse masters if
>	       your network config is that stable.

Your log file suggests that .90 is the browse master.

> local master = no
> name resolve order = wins bcast host lmhosts

Does "bcast" need to be in there? Shouldn't the WINS server deal with
it all?

> wins server = 172.30.1.100

Is this correct?

-- 
Glynn Clements <glynn@sensei.co.uk>
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux