Add domain

Kay Obermueller kobermueller at web.de
Wed Nov 14 02:53:09 CET 2012


On 11/13/12 12:56 PM, Jeroen van Meeuwen (Kolab Systems) wrote:
> On 2012-11-13 07:07, Kay Obermueller wrote:
>> On 11/13/12 7:34 AM, Andrew J. Kopciuch wrote:
>>> On November 12, 2012, Kay Obermueller wrote:
>>>> Hello everyone,
>>>> I try to setup Kolab 2.4. In the setup I created a primary domain.
>>>> Now I
>>>> want to add a second. But I can't find neither something in the
>>>> webfrontend (only goups to add) nor a tutorial or guide for 2.4 on
>>>> the
>>>> web. I only found that Kolab is supposed to support multiple
>>>> domains.
>>>> What's wrong, what did I overlook?
>>>> Thank you in advance.
>>>>
>>> There is a section titled "Domains" about mid page, found under the
>>> "Settings"
>>> tab in the web front end.  You have to be and "Administrator" or
>>> login using
>>> the manager account to be able to add a domain.   Domain
>>> maintainers, and
>>> regular maintainers can not ... IIRC.
>>>
>>> Type the domain in the box, and click add.
>>>
>>>
>> I'm logged in as cn=Directory Manager
>>
> Andrew is referring to the kolab webadmin for Kolab 2.3, not Kolab 2.4.
>
> The best I can do is using ldapmodify. Example, adding domain name
> space "example.net" to an existing domain name space of "example.org":
>
> # cat extra-domain-example.net.ldif
> dn: associateddomain=example.org,cn=kolab,cn=config
> changetype: modify
> add: associateddomain
> associateddomain: example.net
>
> # ldapmodify -x -h ldap://ldap.example.org -D "cn=Directory Manager" \
>     -w "YourPassword" -f extra-domain-example.net.ldif
>
> Kind regards,
>
> Jeroen van Meeuwen
>
I did as you wrote. Now with this command:

# ldapsearch -x -h localhost -D "cn=Directory Manager" -w "Sekretwort" 
-b "cn=kolab,cn=config" "(objectclass=domainrelatedobject)"

I get this output:

dn: associateddomain=example.org,cn=kolab,cn=config
objectClass: top
objectClass: domainrelatedobject
associatedDomain: example.org
associatedDomain: example.net

Is everything correct now?

In the webinterface I couldn't find any change. Should I just add new 
users to Organizational Unit "people, example.org" and assign them an 
email address such as user1 at example.net?

Kay




More information about the users mailing list