Samba on 2 domains?

Olaf Fraczyk olaf at
Fri Feb 21 15:27:33 GMT 2003

On Fri, 2003-02-21 at 14:30, Keith Hamilton wrote:
> Hey,
> 	Is it possible to configure Samba to run as a PDC on 2 domains?

I don't think so.
I would try to run 2 sambas. Just put config stuff in different
directories, add IP alias and bind sambas to different IPs.
The only thing that can cause troubles is user mapping.
Eg. if you have the same user name in both domains, it will be mapped to
the same unix user id.
If you are not going to serve the same files for both domains it should
be no issue unless users have local/unix access to server. 

Oh, and file locking. If the file is to be opened by users from two
domains I don't know what will happen.
I suppose:
locking will work
share modes - will be problem
oplocks - will be problem if system doesn't support kernel oplocks


Olaf Fraczyk

More information about the samba-technical mailing list