Fork me on GitHub

One more question for today...  Bottom

  • Has anyone found a way to get the AuthLDAP to work with outside LDAP directories?
    I figured out that you have to set up the pnAuth module to check both PN and the AuthLDAP modules, but I keep getting an error on line 37 of pnuserapi.php, claiming that ldap_connect is a bad function. There's no readme for the module that I can find.
    The original site that the author had(has) denies access to the complete area. Forbidden. http://authldap.ch.vu/
    Anyway, the first problem I had today was a simple fix (after editing my SQL database), but this one has me wallowing in the dark.
  • Your PHP installation must not have the LDAP functionality enabled. LDAP support is an additional add-on to PHP so check your php.ini.

    The LDAP module has, at least by myself, only be tested with Novell eDirectory but as long as the directory is fully LDAP v3 compliant then it should work. Note that this probably then excludes MS Active Directory. We'll need a patch submission from soneone who has access to AD should it not work there.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Hi!

    I have install 0.8.0.0-MS1 and try to connect through AuthLDAP module.
    I modify the configurations in the LDAP authentication
    but I cannot find how to tell postnuke which Authentication to use.

    Also i cannot connect with the module I got from http://www.markwest.me.uk/Downloads-req-viewdownload-cid-6.phtml
    in a 0.7.6.2 postnuke site!
    I got a message "Wrong user name or password. Please try again..."
    "Cookies must be enabled past this point."
    It looks like doesn't connect to the LDAP at all!
    The settings I am using in the configuration are correct!

    I replace the first function in the includes/pnUser.php
    to the two functions I found in the docs/pnuserchanges.txt file!

    Any idea? icon_rolleyes
  • The module from my site is for .7x only - do not use under .8x as you'll break it....

    To configure LDAP authentication

    1) make sure that both authldap and authpn are installed
    2) configure authldap as required
    3) configure authpn to define the list and order of authentication modules used.

    The authpn module will be folded into the users module before the next milestone. AuthLDAP has been tested on Novell eDirectory only but should work on an LDAP v3 compliant directory - this then probably excludes active directory.

    Remember that .80MS1 is a development milestone only and not for use in production environments.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Thanks for your reply!

    For the .80MS1
    1) both authldap and authpn are installed
    2) authldap configuration is correct
    3) in the authpn configuration I am not sure if I have it correctly
    (I have try both
    AuthLDAP,AuthPN
    and
    AuthPN,AuthLDAP)

    but it doesn't connect to LDAP!

    I just try the .80MS1 version to see if the LDAP of .80 is working!
    The module from your site that I am using it in version 0.7.6.2
    doesn't seems to work!

    It doesn't connect to LDAP at all!
    Can you give me any instructions for the module of your site and version 0.7.6.2!

    Thanks in advance! icon_smile

  • It's not my module - i'm just providing the download since the original site is now offline. Both modules have been tested and work with Novell eDirectory only - at least by me.

    You'll need to do some local diagnostics for your own system to work out whats wrong.

    1) errors in the error log?
    2) LDAP settings correct?
    3) directory service configured to accept connections?
    etc.

    Consult your directory service administrator for more help in diagnosing the problem.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • did you also edit the user.php file to include the auth switch? and have you got PHP-LDAP installed, have you tried debugging the LDAP results

    Code

    echo "".$ldap_connection."";
    you might also have to tweak some of the connection options befor binding

    Code

    $ldap = ldap_connect($ldapserver);
    ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
    ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0);
    ldap_bind($ldap);

    also do you have sasl enabled on your LDAP?
  • I found out why my installation refuses to work: no one installed the LDAP part of PHP. And they won't do it, since it's a shared hosting environment.


    Oh well, I'll try my own VMware out, and see how well I break that too...
  • Most standard web hosts won't have LDAP support as it's really relevant to most of thier customers. LDAP is mostly a corporate solution.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • 0 users

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