rsharpe at ns.aus.com
Sun Aug 4 09:51:02 GMT 2002
On Sun, 4 Aug 2002, Pablo Alcaraz wrote:
> I wish that a box can run alternatively 2 samba server configuration
> (smb_a y smb_b).
> For this I have 2 smb.conf files (smb.conf.a and smb.conf.b). When I
> need smb_a I rename smb.conf.a => smb.conf and restart samba. The same
> thing for smb_b.
> The problem is that my configuration set 'server = domain' and one
> configuration run ok inside of domain and the other does not run (samba
> ask for manual login).
> I suspect that the problem is MACHINE.SID. I think I need 2 different
> MACHINE.SID files. Is that correct?
> Can I use samba %L variable to indicate a differente MACHINE.SID?
There is no way to control where that goes, I believe ...
> Does the MACHINE.SID file dependent of the hardware of the server?
If Samba finds an existing MACHINE.SID, I believe it uses that. You cannot
have two system on the network with the same machine SID. However, I do
not believe there is a parameter that allows you to control where Samba
will look for this stuff.
I think you will have to build two different versions of Samba to support
this or allow $prefix to be set at run time. This is a problem, however,
because I believe that symbols like LOGFILEDIR are hard coded all over
Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org,
sharpe at ethereal.com
More information about the samba-technical