[phpldapadmin] [ phpldapadmin-Bugs-2486002 ] wrong error message

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ldap.davedap
Message-ID <[email protected]>
Bugs item #2486002, was opened at 2009-01-05 05:26
Message generated for change (Comment added) made by wurley
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2486002&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: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Ilia Chipitsine (chipitsine)
Assigned to: Nobody/Anonymous (nobody)
Summary: wrong error message

Initial Comment:
let us examine the following situation:

I put 

$ldapservers->SetValue($i,'server','auth_type','cookiex');

in the config.php,

so, PLA told me:

Error: You have an error in your config file. The only three allowed values for auth_type in the $servers section are 'session', 'cookie', and 'config'. You entered 'cookiex', which is not allowed.


it tells me about 3 (three) possibilities.
while config.php.example tells about 4 (four) possibilities:

/* Four options for auth_type:
   1. 'cookie': you will login via a web form, and a client-side cookie will
      store your login dn and password.
   2. 'session': same as cookie but your login dn and password are stored on the
      web server in a persistent session variable.
   3. 'http': same as session but your login dn and password are retrieved via
      HTTP authentication.
   4. 'config': specify your login dn and password here in this config file. No
      login will be required to use phpLDAPadmin for this server.


I've no idea how that phrase can be fixed (it is used via gettext), so, I made proper Russian translation for 4 options of that. And I left English language with 3 options.


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

>Comment By: Deon George (wurley)
Date: 2009-01-09 17:38

Message:
Thanks, error message updated...


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

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

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
______________________________________
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.