Results 1 to 9 of 9

Thread: Samba and NetBIOS

Hybrid View

  1. #1
    kvgeorge1 NNTP User

    Default Samba and NetBIOS

    I have just installed openSUSE 11.1 and got SAMBA up and running. However, I have not been able to have my windowz machines see the netBIOS name of my server. I can get to the shares if I use the IP address just fine.

    The windowz machines are on a separate network (the server is on 192.168.1.1 and the PCs are on 192.168.0.1).

    I can ping the server from the PCs, but I cannot ping the PCs from the server. I have made sure that the Firewall is setup to allow Netbios server and Samba server on the external zones. In addition, I allowed broadcasts for samba browsing to my external interfaces.

    I am not sure what else to do. I came from an UBUNTU environment and never had these issues.

    As a note of interest: When I turn-off the firewall, I experience the same issues.

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Samba and NetBIOS

    You have to install a wins server to resolve name across different subnets.

    that involves putting this line in the [global] stanza of the Linux wins server:
    Code:
    wins support = yes
    and this line in the [global] stanzas of your Linux clients:
    wins server = IP.address.of.winsserver
    and pointing each windows box at the Linux wins server.

    A bit more here:
    HowTo Configure Samba openSUSE Windows Network Browsing on a SOHO LAN
    particularly the section titled: Name Resolution via a WINS Server

    And enable wins support in nsswitch.conf
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  3. #3
    kvgeorge1 NNTP User

    Default Re: Samba and NetBIOS

    Yup, that was it. What is strange is that I never needed to setup SAMBA as a WINS server in UBUNTU - it just worked out-of-the-box.

    Thanks for your input.

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Samba and NetBIOS

    You're welcome
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  5. #5
    Join Date
    Jun 2008
    Location
    Frisco, TX
    Posts
    1,233

    Default Re: Samba and NetBIOS

    On Fri, 2009-06-26 at 13:36 +0000, kvgeorge1 wrote:
    > Yup, that was it. What is strange is that I never needed to setup SAMBA
    > as a WINS server in UBUNTU - it just worked out-of-the-box.


    Actually, that's not possible (don't mean to burst any magic
    Ubuntu bubbles). Either Ubuntu defaulted to being WINS (which is BAD,
    but typical Ubuntu from my own experience) or somebody had a WINS in
    place or somebody was smashing the netbios broadcasts across the
    segments network wise.

    So... in fact, it shouldn't just "work out-of-the-box", and if it did,
    with all other factors being constant, Ubuntu was actually behaving VERY
    badly.... but who cares about correctness.. it's Ubuntu!!




  6. #6
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Samba and NetBIOS

    Quote Originally Posted by cjcox View Post
    On Fri, 2009-06-26 at 13:36 +0000, kvgeorge1 wrote:
    > Yup, that was it. What is strange is that I never needed to setup SAMBA
    > as a WINS server in UBUNTU - it just worked out-of-the-box.


    Actually, that's not possible (don't mean to burst any magic
    Ubuntu bubbles). Either Ubuntu defaulted to being WINS (which is BAD,
    but typical Ubuntu from my own experience) or somebody had a WINS in
    place or somebody was smashing the netbios broadcasts across the
    segments network wise.

    So... in fact, it shouldn't just "work out-of-the-box", and if it did,
    with all other factors being constant, Ubuntu was actually behaving VERY
    badly.... but who cares about correctness.. it's Ubuntu!!
    I've examined the default smb.conf in Ubuntu 9.04. It does not activate either of "wins support" or "wins server" by default. You have to edit the file and make it so for it to happen, either with gksu gedit or with with swat. I also believe their Samba is pure Debian.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  7. #7
    Join Date
    Jun 2008
    Location
    Frisco, TX
    Posts
    1,233

    Default Re: Samba and NetBIOS

    On Fri, 2009-06-26 at 20:16 +0000, swerdna wrote:
    > cjcox;2004598 Wrote:
    > > On Fri, 2009-06-26 at 13:36 +0000, kvgeorge1 wrote:
    > > > Yup, that was it. What is strange is that I never needed to setup

    > > SAMBA
    > > > as a WINS server in UBUNTU - it just worked out-of-the-box.

    > >
    > > Actually, that's not possible (don't mean to burst any magic
    > > Ubuntu bubbles). Either Ubuntu defaulted to being WINS (which is BAD,
    > > but typical Ubuntu from my own experience) or somebody had a WINS in
    > > place or somebody was smashing the netbios broadcasts across the
    > > segments network wise.
    > >
    > > So... in fact, it shouldn't just "work out-of-the-box", and if it did,
    > > with all other factors being constant, Ubuntu was actually behaving
    > > VERY
    > > badly.... but who cares about correctness.. it's Ubuntu!!

    > I've examined the default smb.conf in Ubuntu 9.04. It does not activate
    > either of "wins support" or "wins server" by default. You have to edit
    > the file and make it so for it to happen, either with gksu gedit or with
    > with swat. I also believe their Samba is pure Debian.


    Regardless, you can't simply "get there from here" so to speak.

    Protocols that do not cross subnets, do not cross subnets.. it's just
    the way it is. You either use wins or your have to proxy things
    across... there really isn't some magic way.




  8. #8
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Samba and NetBIOS

    Quote Originally Posted by cjcox View Post
    On Fri, 2009-06-26 at 20:16 +0000, swerdna wrote:
    > cjcox;2004598 Wrote:
    > > On Fri, 2009-06-26 at 13:36 +0000, kvgeorge1 wrote:
    > > > Yup, that was it. What is strange is that I never needed to setup

    > > SAMBA
    > > > as a WINS server in UBUNTU - it just worked out-of-the-box.

    > >
    > > Actually, that's not possible (don't mean to burst any magic
    > > Ubuntu bubbles). Either Ubuntu defaulted to being WINS (which is BAD,
    > > but typical Ubuntu from my own experience) or somebody had a WINS in
    > > place or somebody was smashing the netbios broadcasts across the
    > > segments network wise.
    > >
    > > So... in fact, it shouldn't just "work out-of-the-box", and if it did,
    > > with all other factors being constant, Ubuntu was actually behaving
    > > VERY
    > > badly.... but who cares about correctness.. it's Ubuntu!!

    > I've examined the default smb.conf in Ubuntu 9.04. It does not activate
    > either of "wins support" or "wins server" by default. You have to edit
    > the file and make it so for it to happen, either with gksu gedit or with
    > with swat. I also believe their Samba is pure Debian.


    Regardless, you can't simply "get there from here" so to speak.

    Protocols that do not cross subnets, do not cross subnets.. it's just
    the way it is. You either use wins or your have to proxy things
    across... there really isn't some magic way.
    I agree completely. I meant for that to be implicit in what I said.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  9. #9
    JosephKK NNTP User

    Default Re: Samba and NetBIOS

    On Fri, 26 Jun 2009 22:01:34 GMT, cjcox
    <cjcox@no-mx.forums.opensuse.org> wrote:

    >On Fri, 2009-06-26 at 20:16 +0000, swerdna wrote:
    >> cjcox;2004598 Wrote:
    >> > On Fri, 2009-06-26 at 13:36 +0000, kvgeorge1 wrote:
    >> > > Yup, that was it. What is strange is that I never needed to setup
    >> > SAMBA
    >> > > as a WINS server in UBUNTU - it just worked out-of-the-box.
    >> >
    >> > Actually, that's not possible (don't mean to burst any magic
    >> > Ubuntu bubbles). Either Ubuntu defaulted to being WINS (which is BAD,
    >> > but typical Ubuntu from my own experience) or somebody had a WINS in
    >> > place or somebody was smashing the netbios broadcasts across the
    >> > segments network wise.
    >> >
    >> > So... in fact, it shouldn't just "work out-of-the-box", and if it did,
    >> > with all other factors being constant, Ubuntu was actually behaving
    >> > VERY
    >> > badly.... but who cares about correctness.. it's Ubuntu!!

    >> I've examined the default smb.conf in Ubuntu 9.04. It does not activate
    >> either of "wins support" or "wins server" by default. You have to edit
    >> the file and make it so for it to happen, either with gksu gedit or with
    >> with swat. I also believe their Samba is pure Debian.

    >
    >Regardless, you can't simply "get there from here" so to speak.
    >
    >Protocols that do not cross subnets, do not cross subnets.. it's just
    >the way it is. You either use wins or your have to proxy things
    >across... there really isn't some magic way.
    >
    >

    Except the administrators of the equipment determine just what the
    subnet is. To the extent that they have the knowledge.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •