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.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
One more question for today...
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: May 29, 2006
- Posts: 14
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?
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: May 29, 2006
- Posts: 14
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!
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 76
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 resultsyou might also have to tweak some of the connection options befor bindingCode
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? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 24
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... -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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.
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
