Re: name resolutin &samba problem

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

 




--- Glynn Clements <glynn@sensei.co.uk> wrote:

> > My IP address is released by the Winnt dhcp server
> > 172.20.64.73. 
> > DNS server: 172.30.1.3
> > WINS server:172.30.1.100
> > 	    172.30.1.101
> > My gateway: 172.20.64.71
> > Network:    172.20.64.0	
> > Proxy:      172.30.1.41

> 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?
 
> 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
local master = no
name resolve order = wins bcast host lmhosts
wins server = 172.30.1.100
dns proxy = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
printable = yes
[tatia]
path = /home/tatia/cisco
public = yes
printable = yes
browseable = yes
writable = no
 
> It also requires that the hosts are configured to
> use TCP/IP (i.e. 
> TCP/IP is bound to the "Client for Microsoft
> Networks" in the Network
> properties). If the hosts only use IPX (or, worse
> still, NetBEUI),
> then (AFAIK) you're stuffed; Samba only talks
> TCP/IP.

TCP/IP is bound to the "client for Microsoft Networks"


=====
Eng. Bubulac Angela Tatiana
IT Department, Romtelecom 
Phone: 4002804

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
-
: 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