alias name can't join domain

Dwight Tovey dtovey at itd.state.id.us
Thu Jan 24 14:39:45 GMT 2002


I think I see what my problem is, but I'm not sure of how to fix it.

I need to be able to have Samba handle shares for multiple netbios
names/aliases and use a remote PDC for authentication.

If I change my smb.conf file from
  netbios name = alpha9
  netbios aliases = dev_svc
to
  netbios name = dev_svc
  bind interfaces only = yes
  interfaces = 10.1.9.59  <---- the IP address of 'dev_svc'

and then run the 'smbpasswd -j' again, I can then connect to dev_svc,
but not alpha9, even if I set the netbios name and netbios aliases lines
back.  

I think what is happening is that the 'secrets.tdb' file gets a Machine
Account Password for the last name that was set by netbios name when
smbpasswd was run.  What I need then (I think) is for a separate
password for each netbios name/alias to be stored in the secrets file
and used as appropriate.  Alternativly, I can have a separate smbd
process running for each name/alias, each using it's own config file and
secrets file.  I can specify a different config file to use with the -s
flag, but as far as I've been able to tell, the only way to specify a
different secrets file is to recompile the server and specify the file
at that time, which means a different binary file for each name.  Yuck.

Does anybody have a better way to use multiple names/aliases with a PDC?

	/dwight

-- 
Dwight N. Tovey                     Unix System Administrator /
Developer
League of American Bicyclists       Idaho Transportation Dept.
     Certified Instructor #750-K-C  3311 W. State St.
Email: dwight at dtovey.net            Boise, ID.  83702
http://www.dtovey.net/dwight        (208)334-8166 / fax: (208)334-8121
---
All I ask is a chance to prove that money can't make me happy.





More information about the samba mailing list