[phpldapadmin] [ phpldapadmin-Bugs-2828378 ] fallback_dn config option no longer works in 1.2.0

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2828378, was opened at 2009-07-28 23:17
Message generated for change (Settings changed) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2828378&group_id=61828

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.2.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Christina Plummer (cp005e)
Assigned to: Nobody/Anonymous (nobody)
Summary: fallback_dn config option no longer works in 1.2.0

Initial Comment:
If I uncomment the fallback_dn line in config.php (setting either to true or false), PLA will not load and I get the following error until I comment it back out:

Function error called incorrectly [ERROR: Setting a index [login,fallback_dn] that isnt predefined.]

It looks like this option doesn't even exist anymore.  Can it be restored?  

PLA 1.2.0
Red Hat Directory Server 7.1
httpd 2.0.52
PHP 5.2.8
RHEL 4.6



----------------------------------------------------------------------

>Comment By: Deon George (wurley)
Date: 2009-08-28 23:53

Message:
This has just been added back to GIT and will be available from 1.2.0.3.

----------------------------------------------------------------------

Comment By: mfn (machtfuernacht)
Date: 2009-08-15 00:20

Message:
...sometimes I hate sourceforge.
Patch: http://britzel2.fs-etit.de/~mfn/pla_fallback_patch.diff

----------------------------------------------------------------------

Comment By: mfn (machtfuernacht)
Date: 2009-08-15 00:18

Message:
Here is a Patch for this problem.

---

*** phpldapadmin-1.2.0.1/lib/ds_ldap.php        2009-08-13
14:04:16.000000000 +0200
--- phpldapadmin-1.2.0.1/lib/ds_ldap.php     	2009-08-14
15:51:30.000000000 +0200
***************
*** 79,84 ****
--- 79,88 ----
                        'desc'=>'Limit logins to users who match any of
the following LDAP filters',
                        'default'=>array());

+               $this->default->login['fallback_dn'] = array(
+                       'desc'=>'Fallback to dn based authentication, when
login,attr is set to something different than dn',
+                       'default'=>false);
+
                $this->default->proxy['attr'] = array(
                        'desc'=>'Attribute to use to find the users DN for
proxy based authentication',
                        'default'=>array());


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2828378&group_id=61828

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.