Results 1 to 2 of 2

Thread: Z-Admin unable to create users in LDAP

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    8

    Question Z-Admin unable to create users in LDAP

    Hello,

    I installed Z-Admin alongside with Zarafa according to this documentation: http://doc.yaffas.org/en_EN.chunked/ch01s03.html on a fresh and clean Ubuntu, although I did not install zarafa-webaccess-muc and zarafa-backup.

    My Information is
    Zarafa 7.0.6-32752
    yaffas 1.1.1
    I adjusted ldap to listen to all interfaces. I logged in in Z-Admin, changed the admin password and went to Authentication Server and set up the LDAP-Server (without SSL). I am using the local server, installed alongside with z-admin. After the configuration, I see under Current Config

    [BLOCKQUOTE]
    Code:
    Server/IP: MyServerIP
    Base DN:	dc=mydomain,dc=com
    Bind DN:	cn=ldapadmin,ou=People,dc=mydomainl,dc=com
    Print operators group:	Print Operators
    [/BLOCKQUOTE]
    I adjusted the /etc/zarafa/ldap.yaffas.cfg file, which clearly has the wrong bind password with the correct plain-text password.
    In the Z-Admin Interafce I do not see the Add-User-Tab, as I see it, when I use only local authentication, although cn=ldapadmin,ou=People,dc=mydomainl,dc=com has all rights in the LDAP-database! Simply, I can not use Z-Admin to add a new user, using LDAP.

    As I understand, Z-Admin should add users in LDAP. Please advise.

    Update:
    In order to test, if the LDAP-Connection works, I added a emite.ldiff file with the following content: http://pastebin.com/Q6C2R6AD
    Code:
    dn: cn=emite,ou=People,dc=mydomain,dc=comcn: emitedisplayName: Emite Avesdescription: Testingobjectclass: topobjectclass: inetOrgPersonobjectClass: zarafa-usersn: emiteuid: emiteuserpassword: {CRYPT}crRTGI1d16PyImail: emite@mydomain.comzarafaAccount: 1zarafaQuotaOverride: 0zarafaSharedStoreOnly: 0zarafaAdmin: 0zarafaQuotaHard: 1000zarafaQuotaSoft: 900zarafaQuotaWarn: 800
    - I see this user in the ou=People. After that I used
    Code:
    zarafa-admin --sync
    Now I see (log_level=6) the following:

    Code:
    Sat May  5 15:27:12 2012: ldaptiming[00000.00] ("dc=mydomain,dc=com" "(&(&(objectClass=posixAccount)(objectClass=zarafa-user))(|(objectClass=posixAccount)(objectClass=zarafa-contact)))" objectClass zarafaSharedStoreOnly zarafaResourceType zarafaSecurityGroup uid cn ou cn cn modifyTimestamp ), results: 0
    Sat May  5 15:27:12 2012: End of session (logoff) 4296156798269886052
    Although no user is shown, zarafa-admin is able to authenticate against the LDAP, so LDAP works just fine.
    Last edited by Dramaturg; 05-05-2012 at 02:45 PM.

  2. #2
    Zarafa Support
    Dominique's Avatar
    Join Date
    May 2010
    Location
    The Netherlands
    Posts
    168
    As far as I can see, you're not matching the posixAccount filter with the LDAP entries you provided here. Which will of course give you 0 results in Zarafa.
    Before making a new thread, please make sure that you have searched on our forums and read the Zarafa documentation.

Similar Threads

  1. DB - unable to create user
    By cblaha in forum Installation and Configuration Archives
    Replies: 0
    Last Post: 28-08-2010, 02:00 PM
  2. 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, 05:35 PM
  3. unable to create user
    By datenhain in forum Administration and Integration Archives
    Replies: 2
    Last Post: 12-11-2009, 10:11 AM
  4. Unable to create user
    By Kyeto in forum Installation and Configuration Archives
    Replies: 3
    Last Post: 15-04-2008, 02:21 PM
  5. Unable To create store
    By branis in forum Installation and Configuration Archives
    Replies: 1
    Last Post: 01-04-2008, 12:36 PM

Bookmarks

Posting Permissions

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