Hi all, (1.9.16p11) I'd like Samba (nmbd) to respond to multiple (NetBIOS) names. Currently, when started up, nmbd will respond to the server's hostname, unless an entry of the form 0.0.0.0 new-name M is placed in the LMHOSTS file on that UNIX box. Now nmbd responds to 'new-name' and no other. (All testing done with 'nmblookup') Samba itself seems not to care what (NetBIOS) name is used to connect to it (as shown with smbclient :- smbclient -L rubbish -I realname which works fine.) Any handy hints on how to get the same UNIX box to reply to nmblookup realname and nmblookup othername greatly appreciated. I guess I could do som,e mucking about with 'interfaces' and stuff, but I'd like an easier solution if possible. Thanks all, Mac Assistant Systems Adminstrator @nibsc.ac.uk mac@nibsc.ac.uk (also [hp]ostmaster) Work: +44 1707 654753 x 285 Everything else: +44 956 237670 (anytime)
On Wed, 22 Oct 1997 mac@nibsc.ac.uk wrote:> I'd like Samba (nmbd) to respond to multiple (NetBIOS) names.[...]> Any handy hints on how to get the same UNIX box to reply to > nmblookup realname > and > nmblookup othername[...] Hmm ... well, I do know of the "netbios name" directive which you stick on the "[global]" section of the smb.conf configuration file. This lets you override the default of using the hostname of the UNIX box you are running SAMBA off of as the NetBIOS name of the server and stick in your own. --- ============================================================================Arcadio A. Sincero Jr. a.k.a The TicK -=LpC=- Undergraduate Computer Science Major/Linux Enthusiast/Competitive Bodybuilder WWW: http://www.coming.to.a.web.site.near.you.com e-mail: asincero@erols.com "Only lamers quote themselves in their .signatures." - Arcadio A. Sincero Jr., 1997
On Wed, 22 Oct 1997 00:09:43 +1000, you wrote:>Hi all, (1.9.16p11) > > I'd like Samba (nmbd) to respond to multiple (NetBIOS) names. >Currently, when started up, nmbd will respond to the server's hostname, >unless an entry of the form > >Any handy hints on how to get the same UNIX box to reply to > > nmblookup realname > >and > > nmblookup othername > >netbios name = main_name netbios aliases = other_name and_another_name and_list_goes_on