To whom it may concern, I have been trying to figure out what has been going wrong with my setup of samba server. I am configuring the package that was sent with Red Hat Linux 7.2, but have not been able to get it to work. For three days now I have been stuck on step eight of the diagnosing step and my server keeps returning the error that and "unexpected network error has occured". I have configured and reconfigured according to the guidelines in this step, to no avail and have not really been able to get an error message. The funny thing is I have another samba server that will run on my network and it has been configured almost exactly the same. The only difference is that all my Linux servers are unable to see computers on the network unless I put entries on the lmhosts file. I assumed they should be able to do this through WINS or DNS. Please help with this Samba problem. Thanks, Mark Mitchell
Mark Mitchell wrote:>The only difference is that all my >Linux servers are unable to see computers on the network unless I put >entries on the lmhosts file. I assumed they should be able to do this >through WINS or DNS. Please help with this Samba problem. > >By default there is no netbios name lookup. Here's a quickie on how to do it when you compile samba (assuming you have samba-latest.tar.gz in /usr/local): ------------------------------------ cd /usr/local tar -zxvf samba-latest.tar.gz cd samba* cd source ./configure make nsswitch/libnss_wins.so cp nsswitch/libnss_wins.so /lib ln -s /lib/libnss_wins.so /lib/libnss_wins.so.2 ldconfig Edit the /etc/nsswitch.conf file and add wins on your hosts line. My line looks like this: hosts: files nisplus dns wins ------------------------------------ That's a simplification, and doesn't take into account any other stuff you might be compiling into Samba, but that's the basic idea. One thing: this allows you to ping <hostname> but most applications still won't see the netbios names. Someone more hardcore than I might be able to indicate what else you have to do to make it work system-wide. John
You might check the firewall rules. Joel On Tue, Jun 04, 2002 at 11:19:20AM -0600, Mark Mitchell wrote:> To whom it may concern, > I have been trying to figure out what has been going wrong with my setup of > samba server. I am configuring the package that was sent with Red Hat Linux > 7.2, but have not been able to get it to work. For three days now I have > been stuck on step eight of the diagnosing step and my server keeps > returning the error that and "unexpected network error has occured". I have > configured and reconfigured according to the guidelines in this step, to no > avail and have not really been able to get an error message. The funny > thing is I have another samba server that will run on my network and it has > been configured almost exactly the same. The only difference is that all my > Linux servers are unable to see computers on the network unless I put > entries on the lmhosts file. I assumed they should be able to do this > through WINS or DNS. Please help with this Samba problem. > > Thanks, > Mark Mitchell > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba