Results 1 to 3 of 3

Thread: create a user acount in phpldapadmin

  1. #1

    create a user acount in phpldapadmin


    I have problems to create a user acount in phpldapadmin.

    I have created the following tree:


    ou=company has under object-class an entry zarafa-company

    but zarafa-admin --sync gives me the following output:

    No companies found.
    Users and groups synchronized.

    Why is there no companie shown? Ang what have I to do for this?

    When I try to create under ou=user a user acount. I get the page: New User Account (step 1 of 1)
    But when I have made my entry and try to enter, nothing happends.

    What cold I do?

    Greetings NIxdorf

  2. #2
    Join Date
    Jun 2009
    The Hague, The Netherlands

    Re: create a user acount in phpldapadmin

    Hi nixdorf,

    I've been fighting today with the ldap part and here is how I got it sort of working. Would be nice if there was a more detailed document how to set this up, especially the adding users/groups/companies part in (open)ldap...

    Get Fabian's templates from
    Direct download link:
    Make sure you follow Fabian's modifications to /etc/zarafa/ldap.cfg

    Now unpack the templates and fix some things:
    - add the closing </template> at the end in creation/zarafaCompany.xml
    - remove "-->" on line 4 in creation/zarafaCompany.xml
    - add the closing </template> at the end in modification/zarafaCompany.xml
    - remove "-->" on line 4 in modification/zarafaCompany.xml

    Next copy creation/zarafaAccount.xml and creation/zarafaCompany.xml to the main phpldapadmin templates/ directory. And copy modification/zarafa* to templates/modification/. Next purge caches in phpldapadmin.

    Here are copies of my configuration files (for openldap and zarafa 6.30.1):



    If all went well then you should now be able to create a Zarafa Company and a Zarafa user in phpldapadmin. You can check if Zarafa can communicate ok with openldap with the command:

    Here is the output I get:

    Question: I keep reading about groups in the Zarafa LDAP docs but I don't understand how to create one. In phpldapadmin I only see "Zarafa Company" and "Zarafa User" and in the "Custom" page I can select "zarafa-group" (which is greyed-out) but I get an error when I press "Create object". How can I create a "Zarafa Group" and where should I place it? Below "Zarafa Company" or somewhere else?

  3. #3
    Zarafa Testing
    Suyi's Avatar
    Join Date
    Jul 2008
    Location > #zarafa

    Re: create a user acount in phpldapadmin

    Hi patrick,

    Your ldap.cfg shows "ldap_group_search_filter = (objectClass=posixGroup)", try to use the objectclass posixgroup to a create group.

    to add users in a group, check the option "ldap_groupmembers_relation_attribute"

    my last hit for you is use "memberUid" instead of member for the option " ldap_groupmembers_attribute ", openldap/phphldap use by default memeberUid.

    Hope this will help you out

    Looking for users to test our releases, interested? send me a PM

Similar Threads

  1. Cannot create user
    By bleachin in forum Installation and Configuration Archives
    Replies: 1
    Last Post: 16-02-2011, 08:30 AM
  2. zarafa-6.40.0-19574: New user with phpldapadmin
    By tomcar in forum Beta Feedback Archives
    Replies: 2
    Last Post: 27-04-2010, 01:09 PM
  3. cannot create user: Unable to create user, object not found
    By maharaja in forum Installation and Configuration Archives
    Replies: 6
    Last Post: 13-01-2010, 06:35 PM
  4. cold not add a second user with phpldapadmin
    By nixdorf in forum Installation and Configuration Archives
    Replies: 9
    Last Post: 17-12-2008, 07:33 PM
  5. Unable to create user
    By Kyeto in forum Installation and Configuration Archives
    Replies: 3
    Last Post: 15-04-2008, 02:21 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts