Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 77

Thread: Zimbra and Joomla Project

  1. #41
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    8

    Default

    Never mind. I think I figured it out. I guess the Zimbra plugins are loging in to check the server status. Still can't get the ldap to work though

    dj

  2. #42
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    8

    Default

    Ok. New question. If Joomla tries to authentic against Zimbra and if it fails or not, shouldn't something get logged? If so, which log file?

    dj

  3. #43
    Join Date
    Nov 2007
    Posts
    34
    Rep Power
    8

    Default

    Here's what you need to do to get Joomla to authenticate via Zimbra LDAP.
    I assume Zimbra is enabled for ldap on port 389.
    1) Create a Joomla account eg. with name myusername
    2) Create a Zimbra account with the same name
    4) Configure the Jooma ldap authentication plugin;
    Enabled - Yes
    Host - the FQDN for your Zimbra server
    Port - 389
    LDAP V3 - Yes
    Negotiate TLS - No
    Do not follow referrals - No
    Authorization Method - Bind Directly as User
    Base DN - dc=servername,dc=com (or what ever you use)
    Search String - leave blank
    Users DN - uid=[username],ou=people,dc=servername,dc=com (or what ever you use)
    Connect username - leave blank
    Connect password - leave blank
    Map: Full Name - fullName
    Map: E-mail
    Map: User ID - uid
    5) Make certain that the Joomla and Zimbra accounts have different passwords, then you know which authentication you have used.
    ----------------------------------------------
    Having signatures is a sign of having signatures.

  4. #44
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    8

    Default

    Ok. I am going to give this a shot and see what happens.



    Quote Originally Posted by richardcwgate View Post
    1) Create a Joomla account eg. with name myusername
    2) Create a Zimbra account with the same name
    ...
    5) Make certain that the Joomla and Zimbra accounts have different passwords, then you know which authentication you have used.
    One question though. What's the point of adding the Joomla and Zimbra account? If I have a list of users already in Zimbra, why do I need to add this one? Is it just to test?

    dj

  5. #45
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    8

    Default

    Ok. I tested it and I get please enter a valid email address. I didn't however create a user in Joomla or Zimbra.


    dj

  6. #46
    Join Date
    Nov 2007
    Posts
    34
    Rep Power
    8

    Default

    There needs to be two. The authentication will be done over LDAP to Zimbra but that's just authentication, it verifies the username/password combination and returns the account's e-mail address. Joomla then needs to be able to assign the permissions it uses for the account. So it matches the LDAP verified account to a Joomla account for this purpose.
    ----------------------------------------------
    Having signatures is a sign of having signatures.

  7. #47
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    8

    Default

    Ok. Success but couple of more questions. I added my username and a different pw and logged in with my zimbra pw just fine.

    1. Do I have to add everyone in as a user then to Joomla? If so I don't think this is going to work for me. I already have over 300 users in Zimbra and that is a lot of users to add. Keep in mind that my users are not static. In other words as people come and go I know have two places to update. I guess to me that is not a very good way of it. I am sure it's how Joomla does it but seems to me a waste of resources.

    2. Does the Zimbra plugins for Joomla only work with Ver. 5 of Zimbra. I need to upgrade to Ver 5 but haven't had time. When I try to login as Zimbra it errors out.

    dj

  8. #48
    Join Date
    Nov 2007
    Posts
    34
    Rep Power
    8

    Default

    Quote Originally Posted by dljordaneku View Post
    Ok. Success but couple of more questions. I added my username and a different pw and logged in with my zimbra pw just fine.

    1. Do I have to add everyone in as a user then to Joomla? If so I don't think this is going to work for me. I already have over 300 users in Zimbra and that is a lot of users to add. Keep in mind that my users are not static. In other words as people come and go I know have two places to update. I guess to me that is not a very good way of it. I am sure it's how Joomla does it but seems to me a waste of resources.

    2. Does the Zimbra plugins for Joomla only work with Ver. 5 of Zimbra. I need to upgrade to Ver 5 but haven't had time. When I try to login as Zimbra it errors out.

    dj
    1) Yes you will need a Joomla and a Zimbra account but this process can be automated. Two simple ways would be; a) Use my plugin and get users to self register via Joomla and the plugin will generate the Zimbra account, but this will not help with your existing userbase. b) Write a plugin automatically creates the Joomla account during the login process after validating the account via LDAP.

    2) It depends on what has changed on the Zimbra ldap side between versions. It may need the Joomla LDAP authentication plugin parameters altering, particularly the LDAP V3 and Users DN settings.
    ----------------------------------------------
    Having signatures is a sign of having signatures.

  9. #49
    Join Date
    Dec 2005
    Posts
    94
    Rep Power
    10

    Default Partial success

    I'm having some partial success with this.

    If I create matching accounts (username and passwords) on both Zimbra and Joomla, leave Joomla auth enabled, I can successfully use the preauth to log into Zimbra from Joomla.

    If I disable Joomla auth and leave LDAP auth on there is a no such account error.

    Creating a new Joomla account results in no Zimbra account being created.
    zimbra.log reveals:
    Code:
    May 11 20:39:47 zimbra saslauthd[28381]: zmauth: authenticating against elected url 'https://zimbra.chromedcomputing.com:7071/service/admin/soap/' ...
    May 11 20:39:47 zimbra saslauthd[28381]: zmpost: url='https://zimbra.chromedcomputing.com:7071/service/admin/soap/' returned buffer->data='<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xml
    ns="urn:zimbra"><change token="8002"/></context></soap:Header><soap:Body><AuthResponse xmlns="urn:zimbraAccount"><authToken>biglongauthtokenhere</authToken><lifetime>172800000</lifetime><skin>lemongrass</skin></AuthResponse></soap:Body></soap:Envelope>', hti->error=''
    May 11 20:39:47 zimbra saslauthd[28381]: auth_zimbra: admin@zimbra.chromedcomputing.com auth OK
    May 11 20:39:47 zimbra saslauthd[28386]: zmauth: authenticating against elected url 'https://zimbra.chromedcomputing.com:7071/service/admin/soap/' ...
    May 11 20:39:47 zimbra saslauthd[28386]: zmpost: url='https://zimbra.chromedcomputing.com:7071/service/admin/soap/' returned buffer->data='<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xml
    ns="urn:zimbra"><change token="8002"/></context></soap:Header><soap:Body><AuthResponse xmlns="urn:zimbraAccount"><authToken>biglongauthtokenhere</authToken><lifetime>172799999</lifetime><skin>lemongrass</skin></AuthResponse></soap:Body></soap:Envelope>', hti->error=''
    May 11 20:39:47 zimbra saslauthd[28386]: auth_zimbra: admin@zimbra.chromedcomputing.com auth OK
    Server is 5.0.5 NE on Ubuntu 6.06

    I can see it's some kind of auth error from looking at the other post containing "hti->error=" but could use a little help from here.
    Last edited by brained; 05-12-2008 at 03:02 PM. Reason: Fixed future ZCS version (In this house we obey the laws of thermonuclear dynamics)

  10. #50
    Join Date
    Nov 2007
    Posts
    34
    Rep Power
    8

    Default

    Quote Originally Posted by brained View Post
    I'm having some partial success with this.

    If I create matching accounts (username and passwords) on both Zimbra and Joomla, leave Joomla auth enabled, I can successfully use the preauth to log into Zimbra from Joomla.

    If I disable Joomla auth and leave LDAP auth on there is a no such account error.

    .......
    Sorry Brian I'm a little confused. You started off saying preauth works and then seem to say it didn't?
    ----------------------------------------------
    Having signatures is a sign of having signatures.

Posting Permissions

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