Same Samba server to multiple domains

Joe Lin - FES ~ jzlin at
Mon Sep 13 17:51:43 GMT 1999

You can do something like this in the smb.conf

netbios name = sambasrv
netbios aliases = sambasrv1 sambasrv2 sambasrv3
include = /opt/samba/lib/smb.conf.%L

Then you have one smb.conf.sambasrv## for each alias. When a user
connects to sambasrv3 , Samba uses the password server lines from
smb.conf.sambasrv3 to verify the users account and password with.

I've only try this with security = server .

With security = domain, since samba 2.x allows trusted domains, there's
no need to join multiple domains

More information about the samba-ntdom mailing list