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 > > -
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
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
How do you restart "samba"? There is no samba program, just smbd and nmbd. Do you restart nmbd? Joel On Thu, Feb 21, 2002 at 09:18:05AM -0500, John Dalton wrote:> > I restart samba every.... >
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
If you copy over the smb.conf file, you are going to have trouble. You will have a conflict with the nebtios names, at least. I I know nothing about solaris, but likely you will need to recompile. I have found compiling samba, on linux, to be quite easy. Joel On Thu, Feb 21, 2002 at 09:45:20AM -0500, John Dalton wrote:> > Joel, > > I have another question and I won't bother you anymore. > > I want am moving samba to another sun server with the same > operating system. Can I copy the samba directory, start it > up on the new system and test shares while the production > samba is operating? > > Also, If I change the operating system from solaris 2.6 > to solaris 8, to I have to re-compile samba? >