Sorry for my lack of knowledge on ldap, Imagine i have ou=users,dc=acme,dc=com and i want to create ou=users,dc=coyote,dc=com
I created dc=coyote, but the dn is still dc=coyote,dc=acme,dc=com, so the basedN will be ou=users,dc=coyote,dc=acme,dc=com (actually i can't create another contener) Is it enought for SOGo or am i far away from the light? Thanks anyway *Nicolas FABRE* LILEO http://www.lileo.fr Le 04/04/2012 11:15, André Schild a écrit : > Am 04.04.2012 10:25, schrieb Nicolas - Lileo: >> Hi André, >> >> Thanks for the answer. >> Yes i have read the SOGo documentation about it many times. >> But what i need is to know how to configure openldap for SOGo >> multi-domain. >> >> Have you successfully configure multi-domain? > This depends on your needs. > > The simplest way is to have all accounts in the same ldap instance, > and just create additional ou=domainX or dc=domainX as needed. > > It's just a matter of filters you define in the SOGo config > > In the official example: > > domains = { > acme = { > SOGoMailDomain = acme.com; > SOGoDraftsFolderName = Drafts; > SOGoUserSources = ( > { > type = ldap; > CNFieldName = cn; > IDFieldName = uid; > UIDFieldName = uid; > baseDN = "ou=users,dc=acme,dc=com"; > bindDN = "uid=sogo,ou=users,dc=acme,dc=com"; > bindPassword = qwerty; > canAuthenticate = YES; > displayName = "Shared Addresses"; > hostname = localhost; > id = public_acme; > isAddressBook = YES; > port = 389; > } > ); > }; > coyote = { > SOGoMailDomain = coyote.com; > SOGoIMAPServer = imap.coyote.com; > SOGoUserSources = ( > { > type = ldap; > CNFieldName = cn; > IDFieldName = uid; > UIDFieldName = uid; > baseDN = "ou=users,dc=coyote,dc=com"; > bindDN = "uid=sogo,ou=users,dc=coyote,dc=com"; > bindPassword = qwerty; > canAuthenticate = YES; > displayName = "Shared Addresses"; > hostname = localhost; > id = public_coyote; > isAddressBook = YES; > port = 389; > } > ); > } > > You create new users for coyote.com under ou=users,dc=coyote,dc=com > and for acme.com under ou=users,dc=acme,dc=com > > > André > >> >> *Nicolas FABRE* >> >> LILEO >> >> http://www.lileo.fr >> >> Le 03/04/2012 18:22, André Schild a écrit : >>> Am 02.04.2012 14:54, schrieb Nicolas - Lileo: >>>> Hi all, >>>> >>>> I have sogo 1.3.14, on debian squeeze and openldap 2.4.23 >>>> >>>> For those who successfully configure sogo in multi-domain with openldap >>>> >>>> Just to start, do i need to : >>>> - create multiple instance of openldap like this >>>> http://www.zytrax.com/books/ldap/ch11/multi-dit.html >>> No >>>> OR >>>> >>>> - just create another ou=dnsdomains in phpldapadmin >>> Perhaps >>>> OR >>>> >>>> - something else? >>>> >>>> I don't really understand how sogo multi-domain works and just want to >>>> know how to start. >>> Have you read the documentation about it ? >>> >>> On pages 23/33 of the PDF there is a small example >>> >>> http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf >>> >>> André >>> >>> >>> >>> >>> André >>> > -- [email protected] https://inverse.ca/sogo/lists
