Dear samba users, I'm trying to add static entries to a samba WINS server (samba-1.9.18p8-51.2). Therefore I have a file /etc/samba/lmhosts: -------------------------------------------- klimt.iwr KLIMT klee KLEE -------------------------------------------- and start nmb with: /usr/sbin/nmbd -d 3 -H /etc/samba/lmhosts The problem now is: Only if "wins proxy=yes" is set in smb.conf (see below) the hosts are found via broadcast from a win95 machine if you use "net view \\KLIMT". The same behavior you get from "smbclient -L \\KLIMT", if smbclient is configured to use wins and broadcast. (The configuration file for smbclient seems to be the same as for nmbd (smb.conf), so it's some sort of weird to configure smbclient to use the wins on the same machine). Of course, broadcasting works only from the same subnet, so from an remote subnet I have no idea how to get this working. Any clues what's wrong there ? Thanks for ideas. Hermann P.S: Please reply also directly to me. Thanks again. Excerpt from /etc/smb.conf ---------------------------------------------------------------------------- # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = freitag # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. dns proxy = no # name resolve order: festlegen des Netbios resolvings: name resolve order = lmhosts host bcast -------------------------------------------------------------------------------
Dave DeMaagd
1998-Aug-25 19:43 UTC
NT can connect to shares, but other samba/linux boxen can not...
Here's the setup: * Linux 2.1.(something), running Samba 1.9.17p4 (from RPM I think) acting as the file server * WinNTServer 4.0/SP3 is the domain controller (used for all passwd auth), including the auth of the passwds for samba * A mix of Linux (Mostly Sambe 1.9.17p4, one 1.9.18p7) and WinNT workstations The problem is that I can mount things via samba off of the the NTServer, and various other NT Boxes. The problem is that I cannot mount things via samba off of the teh file server. I get two errors, one in the file server's logs (Password server Aladdin rejected password) and one printed to the console (smb_dont_catch_keepalive: server->data_ready == NULL) Is there anyone who could enlighten me about this? All of the NT boxes can mount things off of the file server just fine, but none of the linuc boxen. I'm really confused... Dave DeMaagd - demaagd@slashdot.org - www.cs.hope.edu/~demaagd Guinness - You can't see a halogen desk lamp through it! SysAdmin/Programmer - TheImageGroup