RE: [SLE] Unable to see netbios name of linux server



Thanks, you're my hero of the day :)

In /var/usr/samba/ I checked the log for nmbd and there it was:
"Failed to open nmb socket on interface 192.168.1.1 for port 137."

The IP of my server is 192.168.0.2 and the router has 192.168.0.1, in
smb.conf however, this line was present:

Interfaces = 192.168.0.1/24 192.168.1.1/24

I know we previously connected a subdomain using VPN through our router, and
this subdomain used 192.168.1, but we are not using this anymore so I
believe removing 192.168.1.1/24 would be safe. I did this and restarted
samba, I then tried to start nmbd again.

I know got a similar error but instead of 192.168.1.1 it said 192.168.0.1.
As I honestly don't know what the "Interfaces" setting does (maybe someone
want/can explain), I changed it to the IP of the server (instead of router),
after some hints on the www.

After that, everything works like a charm!

What is the Interfaces setting in smb.conf used for? (do I need it) and
should it be set to the computer IP or?

Thanks,

Peter


-----Original Message-----
From: Sandy Drobic [mailto:suse-linux-e@xxxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, December 29, 2005 12:01 PM
To: suse-linux-e@xxxxxxxx
Subject: Re: [SLE] Unable to see netbios name of linux server


Peter Hartlén wrote:
> Hi Sandy, thanks for your reply!
>
> I ran ps -ax|grep mdb and I couldn't find nmbd in the list of running
> processes, only 4 instances of smbd. Shouldn't nmbd start when samba
> is started?

Yes, normally it should start without any need to kick it up manually.

> I wouldn't mind checking the logs, but honestly, I don't know where to
> look *blush*. What logs could be of interest here?

System messages like failed services are usually shown in
/var/log/messages and often in the log where the server application logs
its events. If you are using the default out-of-the-box samba packages
(you still haven't told what version of Suse you used or if you installed
a third-party rpm or even compiled your own version), then I would expect
the log to be placed in /var/log/samba.
I have logs for smb, nmb and winbind (only if the linux server is a member
of a windows domain) in our company.

> Anyhow, if I wasn't using samba at all, shouldn't the hostname be
> found anyway?

Sure, if you want to have a dns or host file based resolution.
Unfortunately, Windows uses yet another protocol to look up names in a
windows workgroup and thus falls flat on the face if nmb isn't playing
along.

Sandy
--
List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx Also check
the archives at http://lists.suse.com Please read the FAQs:
suse-linux-e-faq@xxxxxxxx





--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: Problem Configurating Firewall
    ... De Server has 1 NIC, connected to the internet thru a router. ... the logs? ... The os is installed on 1 raid 1, the data on the other raid 1 ...
    (microsoft.public.windows.server.sbs)
  • Re: IP address changed - unknown reason
    ... > Ethernet adapter Server Local Area Connection: ... >>> Tried to log into the router using the 182.168.0.1 ip address and ended ... >>> There seems to be nothing in the security logs that indicate failed log ...
    (microsoft.public.windows.server.sbs)
  • Re: Dropping Packets on a 2621XM
    ... so what is connected on the ethernet and what kind of traffic does ... Do you host a server or servers on your ethernet? ... There are also things you may be able to do on the router to reveal the ... configure "load-interval 30" on all interfaces so that you can see a ...
    (comp.dcom.sys.cisco)
  • Windows XP slow login
    ... I have a Windows XP Pro machine that logs in to a Windows 2000 domain. ... into the hub bypassing the router with the same results. ... I have set the dns to the server and it ...
    (microsoft.public.windowsxp.network_web)
  • Re: Watching for RWW breakins
    ... We're using a D-link firewall router plus SBS Basic Firewall. ... the D-link only logs rejected attempts at access, ... they've successfully made an illegitimate logon to our server, ...
    (microsoft.public.windows.server.sbs)