On Fri, Feb 22, 2008 at 9:16 AM, Wells Bacon <wells@wbacon.com>
wrote:> My LAN has a single linux/samba server as a PDC/file server, and several
> windows workstations. The workstations get their IP addresses from a
Linksys
> cable router DHCP server.
>
> I can't get the linux machine to resolve the NETBios names of the
windows
> machines.
>
> >From the Linux machine I can see the Internet through the DSL router,
I can
> ping the windows machines by IP address, but "ping NETBiosname"
returns
> "Unknown host NETBiosname", and "nmblookup
NETBiosname" returns "name_query
> failed to find name NETBiosname"
>
> The windows machies have 192.168.0.99 added as a WINS server in their LAN
> configuration, otherwise they are just straight DHCP clients, and they can
> see the Linux machine as well as each other by name.
>
> The PDC is running Suse 10, and Samba 3.
>
> Linux network config:
>
> Netgear RTL-8169 Gigabit Ethernet Card
> static IP: 192.168.0.99
> subnet: 255.255.255.0
> hostname: Wizard
> domain: BDCO
> Name Server 1: 10.231.233.1
> Name Server 2: 12.127.17.71
> Default Gateway: 192.168.0.1 (Linksys router)
>
> smb.conf:
>
> # Wizard
> #
> # BDCO PDC
> [global]
> add machine script = /usr/sbin/useradd -c Machine -d
/var/lib/nobody -s
> /bin/false %m$
> admin users = @root
> browseable = Yes
> domain logons = Yes
> domain master = Yes
> encrypt passwords = Yes
> guest ok = no
> local master = Yes
> logon drive = C:
> logon path = \\%L\profiles\%U
> logon script = bdconet.cmd
> map to guest = Bad User
> max protocol = NT
> name resolve order = wins bcast lmhosts host
> netbios name = WIZARD
> os level = 65
> passdb backend = tdbsam
> passwd program = /usr/bin/passwd %u
> preferred master = Yes
> restrict anonymous = no
> security = user
> server signing = Auto
> smb passwd file = /etc/samba/smbpasswd
> unix password sync = yes
> username map = /etc/samba/smbusers
> wins support = yes
> workgroup = BDCO
>
> [netlogon]
> path = /var/lib/samba/netlogon
> write list = @root
> browseable = no
> comment = Network Logon Service
>
> [profiles]
> comment = Network Profiles Service
> path = /var/lib/samba/profiles
> read only = No
> store dos attributes = Yes
> create mask = 0600
> directory mask = 0700
> browseable = no
>
> [other shares]...
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
you need to install windbind and add wins to nsswitch..
read this:
http://lucasmanual.com/mywiki/SambaDomainController#head-8ae23b786749b4d46ef0e9ed22148e63eeab95e7
Lucas
--
Vehicle Information Number. Check for Authentic VIN
http://lucasmanual.com/vin