[Samba] Samba with multiple domains with LDAP backend

Gaiseric Vandal gaiseric.vandal at gmail.com
Thu Feb 24 14:56:45 MST 2011

You should create a distinct smb.conf for each domain.  You will want to
allocate a unique IP on your server for each domain.  You will want to
allocate a unique ldap toplevel container for each domain.  You will need to
run separate instances of smbd (and nmbd and winbindd ) for each domain-
you can specify the config file that you want.

You will also need to have separate shares and local unix user and groups
for each samba domain.

It may be easier, depending on what you are doing, to create separate
virtual machines (e.g. with Vmware ESX)  for each domain and truly isolate
each samba domain.

-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Lorenzo Milesi
Sent: Thursday, February 24, 2011 4:15 PM
To: Samba Listing
Subject: [Samba] Samba with multiple domains with LDAP backend

I need to setup a single Samba server with multiple domains.
I did more than one setup with single domain, but I'm having troubles
finding info about multiple domain, especially with LDAP.

Can anyone point me to a link, possibly with examples, on how to configure
such a setup?

many thanks
Lorenzo Milesi - lorenzo.milesi at yetopen.it

YetOpen S.r.l. - http://www.yetopen.it/
Via Carlo Torri Tarelli 19 - 23900 Lecco - ITALY -
Tel 0341 220 205 - Fax 178 6070 222

GPG/PGP Key-Id: 0xE704E230 - http://keyserver.linux.it

-------- D.Lgs. 196/2003 --------

Si avverte che tutte le informazioni contenute in questo messaggio sono
riservate ed a uso esclusivo del destinatario. Nel caso in cui questo
messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo
senza copiarlo, a non inoltrarlo a terzi e ad avvertirci non appena

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list