Fork me on GitHub

problem with ldap authenticatio  Bottom

  • Hi,
    I want to use LDAP authentication with postnuke and I downloaded the tar file for LDAP. I installed it, but the authentication through LDAP doesn't work!

    I upgraded postnuke from .723 to 726, but still doesn't work!
    And I also noticed that in .726 version I don't have the option to register in postnuke as I had in .723! I see a variable _NOTAUTHREG? Why is that? Ok, this is a second question less important for me right now!!

    Can anyone help me with the LDAP authentication?

    dimi
  • You'll need to provide more information than that for anyone to be able to help. 'Doesn't work' provides no information to work with.

    What directory service are you using?, on what OS is this running?, how have you configured the LDAP module?, how is your directory service architected? (give a rough outline of OU organisation), does your directory service allow an anonymous bind? or does it require authetication to bind?, does your directory service allow non SSL connections? or is it restricted to ssl connections only?

    If you can check any logs on your LDAP server for a clue as to what's happening.

    For the other problem go into your modules admin panel and regenerate the modules. Upgrade and re-activate the users module if necessary. You can then configure standard user registration in the users admin panel.

    -Mark
  • Yes, you are right, I am sorry!

    Well I am using iPlanet version 5.2 LDAP server, OS Solaris. The LDAP allows anonymous bind because I can bind to LDAP using another application and I connect anonymous. And I think that it allows no SSL binds too.
    Now about the OU units and the search base, I give the correct ones. The search base is ou=people, dc=uoc,dc=gr, the attribute to search is uid.

    dimi
  • I'm not an expert with iPlanet - I work with Novell eDirectory as my directory service. Your configuration looks ok. I'm sure this is just a typo but you have a space in the search base as posted in your reply. Do the server logs give any hints?

    I've tested this on Novell eDirectory and it functions as expected. I'm not sure what the original author built the module on. Maybe a quick e-mail in his direction may provide some additional information. If not you'll need to step through the code (in the user API file) adding some debug statements until you find what part of the authenitcation process is not working.

    I normally have an iplanet install kicking around at work for comparison but currently that box is re-tasked elsewhere so I can't test this myself at the moment.

    -Mark
  • I tried to find his email account, but I didn't!
    Mark,
    could you give me his email to ask him? Otherwise I will try to debug to find out the problem. If I understood correctly, I am going to use the pnUser.php, am I correct?


    dimi
  • Mark,
    forget my previous mail about the author of LDAP.Sorry to disturb you! I saw his site and his help.
    Thank you!

    dimi
  • hi dimi...

    have you configured your ldapauth and iplanet directory?

    i've got a problem which the ldapauth cannot authenticate... always give incorrect login.....

This list is based on users active over the last 60 minutes.