Find the answer to your Linux question:
Results 1 to 3 of 3
I would like to know if it is possible to make samba listen to more than one name. Can I just add multiple netbios name definitions to smb.conf?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225

    Can Samba listen for more than one name?


    I would like to know if it is possible to make samba listen to more than one name. Can I just add multiple netbios name definitions to smb.conf?

  2. #2
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Location
    Maryland, USA
    Posts
    510
    Are you using Samba as a server or client? If as a server, then look at this from man smb.conf:
    Code:
    %L   the NetBIOS name of the server.  This allows you to change your
         config based on what the client calls you.  Your server can have
         a ``dual personality''.
    For the client, I would expect it to be just a DNS thing. Though I'm interested in hearing any other angles on that.

  3. #3
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225
    yes I've found that in man bash but I don't see how a variable substitution can give you a dual personality. The config still has to be written which means the shares still have to be visible to everybody that does \\machinename or \\aliasname. What I want is for the name the machine is accessed by to change the shares that are visible/available.

  4. $spacer_open
    $spacer_close

Posting Permissions

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