[Samba] aliases not working!!

Joel Hammer Joel at HammersHome.com
Thu Feb 21 06:52:12 GMT 2002


That is not my experience. I just made up an alias, put it into my
smbd.conf file, restarted nmbd, and it works. Without a wins server.

Joel

On Thu, Feb 21, 2002 at 09:39:57AM -0500, John Dalton wrote:
> 
> ok, 
> 
> Here's the deal, the reason it did not work
> is because the aliases entry i put in was just
> a made up name. It was not in lmhost, dns, hosts
> or anywhere else. I inserted another entry in 
> aliases that VIPER is know to in DNS and wala, it
> worked.
> 
> So, when you have an alses entry, you also have to have
> it somwhere else too, is what i'm gathering.
> 
> 
> 
> 
> Joel Hammer wrote:
> > 
> > You didn't say that you restarted nmbd.
> > Joel
> > 
> > On Thu, Feb 21, 2002 at 08:47:00AM -0500, John Dalton wrote:
> > >
> > > Thanks joe,
> > >
> > > Viper is the netbios name, that
> > > has no problem answering, but I need
> > > to put in the fully qualified dns name.
> > >
> > > The aliases is the one not answering and
> > > i suspect it is because IT is not in the DNS.
> > >
> > > what do you think?
> > >
> > > And thansk for our response.
> > >
> > >
> > > Joel Hammer wrote:
> > > >
> > > > Well, you sound desperate so I'll put in my two cents.
> > > > Did you STOP and RESTART nmbd?
> > > > Have you run testparm to be sure your smb.conf file is OK?
> > > > Name resolution can occur in several ways:
> > > > lmhost or /etc/hosts
> > > > wins server
> > > > dns
> > > > broadcast
> > > >
> > > > Try nmblookup VIPER
> > > >
> > > > and see what info you can glean.
> > > > Do this with with and without a wins server defined in your smb.conf. (I
> > > > assume you have a wins server.)
> > > >
> > > > Try ping VIPER and see who, if anybody, answers.
> > > >
> > > > Joel
> > > >
> > > > On Wed, Feb 20, 2002 at 04:56:27PM -0500, John Dalton wrote:
> > > > >
> > > > >
> > > > > Can someone tell me what has to happen to get
> > > > > the aliases working in samba?
> > > > >
> > > > > Below is an earlier posting.
> > > > >
> > > > > Thanks!!
> > > > >
> > > > > Does anyone have aliases working correctly?
> > > > >
> > > > >
> > > > > Suppose I am moving the samba to one server to another, say VIPER
> > > > > > to JOKER.
> > > > > >
> > > > > > In smb.conf I change the 'netbios name = VIPER' to JOKER
> > > > > > and I also want the old name to be seen as well. To do this
> > > > > > I create a netbios aliases = VIPER.
> > > > > >
> > > > > > I then stop and start samba, but the aliases is not working.
> > > > > >
> > > > > > Is this because the IP address of VIPER is still on the old
> > > > > > server and being used?
> > > > > >
> > > > > > Does the aliases name have to be a valid system name or can it
> > > > > > be any made up name? I did this as a made up name and it did not work.
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > -
> > > > >
> > > > > --
> > > > > To unsubscribe from this list go to the following URL and read the
> > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list