How to share for two domains?

Christian Perrier perrier at
Wed Jun 16 15:59:09 GMT 1999

Quoting Bruno Pallavera (bpallave at

> I'd like to share the same directories (on the same smb file server)
> between two domains.

Have you tried to set up the samba server with two "personalities"
by using netbios aliases and includes?

netbioas aliases=server1 server2

in smb.conf.server1 :

password server=PDC1

in smb.conf.server2

password server=PDC2

Should work...but I din't try..:-)

Then users of domain1 controlled by PDC1 will use shares on
\\SERVER1 and users of domain2 will call \\SERVER2

I hope you got the point.

More information about the samba mailing list