<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Auth</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/16059" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16044" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16007" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14153" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13627" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13202" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12537" />
      <rdf:li rdf:resource="http://pear.php.net/bug/9277" />
      <rdf:li rdf:resource="http://pear.php.net/bug/2765" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/16059">
      <title>Auth: Feature/Change Request 16059 [Open] Auth container for the CAS service</title>
      <link>http://pear.php.net/bugs/16059</link>
      <content:encoded><![CDATA[<pre>Auth Feature/Change Request
Reported by lucor
2009-03-31T09:02:55+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
In attachement a container allows to authenticate againts a CAS service[1]

[1] http://www.ja-sig.org/products/cas/</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Feature/Change Request
Reported by lucor
2009-03-31T09:02:55+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
In attachement a container allows to authenticate againts a CAS service[1]

[1] http://www.ja-sig.org/products/cas/</pre>]]></description>
      <dc:date>2009-04-01T00:34:00+00:00</dc:date>
      <dc:creator>lucor &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Auth Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16044">
      <title>Auth: Bug 16044 [Open] Auth_Container_RADIUS and MSCHAPv1</title>
      <link>http://pear.php.net/bugs/16044</link>
      <content:encoded><![CDATA[<pre>Auth Bug
Reported by reidarw
2009-03-19T09:57:18+00:00
PHP: 5.2.4 OS: Ubuntu Package Version: 1.6.1

Description:
------------
Line 139 in Auth_Container_RADIUS:
$classname = 'Crypt_' . $this-&gt;authtype;

should be replaced by:
$classname = ($this-&gt;authtype == 'MSCHAPv1' ? 'Crypt_CHAP_MSv1' : 'Crypt_CHAP_MD5');

Since class Crypt_MSCHAPv1 don't exists</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Bug
Reported by reidarw
2009-03-19T09:57:18+00:00
PHP: 5.2.4 OS: Ubuntu Package Version: 1.6.1

Description:
------------
Line 139 in Auth_Container_RADIUS:
$classname = 'Crypt_' . $this-&gt;authtype;

should be replaced by:
$classname = ($this-&gt;authtype == 'MSCHAPv1' ? 'Crypt_CHAP_MSv1' : 'Crypt_CHAP_MD5');

Since class Crypt_MSCHAPv1 don't exists</pre>]]></description>
      <dc:date>2009-03-19T09:57:18+00:00</dc:date>
      <dc:creator>reidarw &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16007">
      <title>Auth: Feature/Change Request 16007 [Open] optional &quot;is_active&quot; field check</title>
      <link>http://pear.php.net/bugs/16007</link>
      <content:encoded><![CDATA[<pre>Auth Feature/Change Request
Reported by kae
2009-03-10T13:06:48+00:00
PHP: 5.2.5 OS: Linux Package Version: 1.6.1

Description:
------------
I'd like to authenticate against username/password and an is_active field. In this case, a user may be made in-active without removing his/her details.

Test script:
---------------
$options=array(
  'dsn'         =&gt; $CONF['db_connection_string'],
  'usernamecol' =&gt; 'email',
  'passwordcol' =&gt; 'password',
  'isactivecol' =&gt; 'is_active'
  'table'       =&gt; 'users'
);
$auth=new Auth('MDB2', $options, '', false);
$auth-&gt;start();
if($auth-&gt;checkAuth()){
  echo 'yes';
}

Expected result:
----------------
I'd expect 'yes' to be shown if the username and password are correct and if is_active is not 0.

If is_active is 0, I would not expect anything to be shown.

Actual result:
--------------
at the moment, 'yes' will always be shown.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Feature/Change Request
Reported by kae
2009-03-10T13:06:48+00:00
PHP: 5.2.5 OS: Linux Package Version: 1.6.1

Description:
------------
I'd like to authenticate against username/password and an is_active field. In this case, a user may be made in-active without removing his/her details.

Test script:
---------------
$options=array(
  'dsn'         =&gt; $CONF['db_connection_string'],
  'usernamecol' =&gt; 'email',
  'passwordcol' =&gt; 'password',
  'isactivecol' =&gt; 'is_active'
  'table'       =&gt; 'users'
);
$auth=new Auth('MDB2', $options, '', false);
$auth-&gt;start();
if($auth-&gt;checkAuth()){
  echo 'yes';
}

Expected result:
----------------
I'd expect 'yes' to be shown if the username and password are correct and if is_active is not 0.

If is_active is 0, I would not expect anything to be shown.

Actual result:
--------------
at the moment, 'yes' will always be shown.</pre>]]></description>
      <dc:date>2009-03-10T17:20:44+00:00</dc:date>
      <dc:creator>kae &amp;#x61;&amp;#116; verens &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14153">
      <title>Auth: Documentation Problem 14153 [Open] PEAR Auth documentation sparse/lacking/nonexistant</title>
      <link>http://pear.php.net/bugs/14153</link>
      <content:encoded><![CDATA[<pre>Auth Documentation Problem
Reported by dminkovsky
2008-06-16T13:24:24+00:00
PHP: 5.2.6 OS: OS X Package Version: 1.6.1

Description:
------------
For example, from http://pear.php.net/manual/en/package.authentication.auth.auth.adduser.php:

&quot;mixed $additional = ' ' additional options to be passed to the creation of the new user. Each Auth_Container has different options for these, please see the containers documentation for what is supported. &quot;

But the mentioned documentation does not exist. In fact, much of the Auth package is like this, with references to documentation that go to nowhere.  I've found that the only way to really get a grasp on this package is reading through the code, which is fine but disappointing.

Test script:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Documentation Problem
Reported by dminkovsky
2008-06-16T13:24:24+00:00
PHP: 5.2.6 OS: OS X Package Version: 1.6.1

Description:
------------
For example, from http://pear.php.net/manual/en/package.authentication.auth.auth.adduser.php:

&quot;mixed $additional = ' ' additional options to be passed to the creation of the new user. Each Auth_Container has different options for these, please see the containers documentation for what is supported. &quot;

But the mentioned documentation does not exist. In fact, much of the Auth package is like this, with references to documentation that go to nowhere.  I've found that the only way to really get a grasp on this package is reading through the code, which is fine but disappointing.

Test script:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A</pre>]]></description>
      <dc:date>2008-06-16T13:24:24+00:00</dc:date>
      <dc:creator>dminkovsky &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13627">
      <title>Auth: Feature/Change Request 13627 [Open] Add crypt mode to File container</title>
      <link>http://pear.php.net/bugs/13627</link>
      <content:encoded><![CDATA[<pre>Auth Feature/Change Request
Reported by caphrim007
2008-04-08T11:21:39+00:00
PHP: 5.2.5 OS: RHEL 4 Package Version: 1.6.1

Description:
------------
The File_Passwd staticAuth method supports a $mode which isn't set by default in File_Passwd 1.1.6. Regardless, it supports 3 methods (md5, des and sha).

It'd be nice if the File container also supported sending these options. By default, the only option it allows is the type

To support the new option, you'd just need to add the following to _setDefaults in the File container.

$this-&gt;options['mode']  = 'des';

Or whatever you want the default to be.

And change the fetchData method to use it

return File_Passwd::staticAuth($this-&gt;options['type'], $this-&gt;pwfile, $user, $pass, $this-&gt;options['mode']);

Thanks</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Feature/Change Request
Reported by caphrim007
2008-04-08T11:21:39+00:00
PHP: 5.2.5 OS: RHEL 4 Package Version: 1.6.1

Description:
------------
The File_Passwd staticAuth method supports a $mode which isn't set by default in File_Passwd 1.1.6. Regardless, it supports 3 methods (md5, des and sha).

It'd be nice if the File container also supported sending these options. By default, the only option it allows is the type

To support the new option, you'd just need to add the following to _setDefaults in the File container.

$this-&gt;options['mode']  = 'des';

Or whatever you want the default to be.

And change the fetchData method to use it

return File_Passwd::staticAuth($this-&gt;options['type'], $this-&gt;pwfile, $user, $pass, $this-&gt;options['mode']);

Thanks</pre>]]></description>
      <dc:date>2008-04-08T11:21:39+00:00</dc:date>
      <dc:creator>caphrim007 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13202">
      <title>Auth: Feature/Change Request 13202 [Open] cannot use array in login form</title>
      <link>http://pear.php.net/bugs/13202</link>
      <content:encoded><![CDATA[<pre>Auth Feature/Change Request
Reported by cybot
2008-02-25T10:29:34+00:00
PHP: 5.2.5 OS: n/a Package Version: 1.5.4

Description:
------------
by default i use &quot;login[user]&quot; and &quot;login[pass]&quot; in my login form (as i do in most forms to group data)

but i cannot tell Auth to check $_POST['login']['user']

Test script:
---------------
$auth_options = array(
    'user'          =&gt; array(
        'user' =&gt; 'pass',
    ),
    'postUsername'  =&gt; 'login[user]',
    'postPassword'  =&gt; 'login[pass]',
);

$auth = new Auth('Array', $auth_options);

Expected result:
----------------
Auth should check in $_POST['login']['user'] and $_POST['login']['pass']

Actual result:
--------------
Auth checks for $_POST['login[user]'] and $_POST['login[pass]']</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Feature/Change Request
Reported by cybot
2008-02-25T10:29:34+00:00
PHP: 5.2.5 OS: n/a Package Version: 1.5.4

Description:
------------
by default i use &quot;login[user]&quot; and &quot;login[pass]&quot; in my login form (as i do in most forms to group data)

but i cannot tell Auth to check $_POST['login']['user']

Test script:
---------------
$auth_options = array(
    'user'          =&gt; array(
        'user' =&gt; 'pass',
    ),
    'postUsername'  =&gt; 'login[user]',
    'postPassword'  =&gt; 'login[pass]',
);

$auth = new Auth('Array', $auth_options);

Expected result:
----------------
Auth should check in $_POST['login']['user'] and $_POST['login']['pass']

Actual result:
--------------
Auth checks for $_POST['login[user]'] and $_POST['login[pass]']</pre>]]></description>
      <dc:date>2008-02-25T10:29:34+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; sebastianmendel &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Auth Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12537">
      <title>Auth: Feature/Change Request 12537 [Open] No ability to delete data set with setAuthData()</title>
      <link>http://pear.php.net/bugs/12537</link>
      <content:encoded><![CDATA[<pre>Auth Feature/Change Request
Reported by tstoev
2007-11-27T12:38:34+00:00
PHP: 5.2.4 OS: All Package Version: 1.5.4

Description:
------------
Currently there is no function that allows you to delete data that is set using setAuthData(). You should be able to get rid of the data once it's not needed. Thus I propose adding:

 

function deleteAuthData($name)
{
   unset($this-&gt;session['data'][$name]);
}</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Feature/Change Request
Reported by tstoev
2007-11-27T12:38:34+00:00
PHP: 5.2.4 OS: All Package Version: 1.5.4

Description:
------------
Currently there is no function that allows you to delete data that is set using setAuthData(). You should be able to get rid of the data once it's not needed. Thus I propose adding:

 

function deleteAuthData($name)
{
   unset($this-&gt;session['data'][$name]);
}</pre>]]></description>
      <dc:date>2007-11-27T12:38:34+00:00</dc:date>
      <dc:creator>tstoev &amp;#x61;&amp;#116; neark &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Auth Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/9277">
      <title>Auth: Feature/Change Request 9277 [Open] md5 salts</title>
      <link>http://pear.php.net/bugs/9277</link>
      <content:encoded><![CDATA[<pre>Auth Feature/Change Request
Reported by irrelevant@...
2006-11-08T12:22:04+00:00
PHP: Irrelevant OS: irrelevant Package Version: 1.4.1

Description:
------------
it would be great if a salt could be addet to the md5 hash, perhaps this could be done in a seperate method like &quot;crypt&quot; that could be overwritten by the user</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Feature/Change Request
Reported by irrelevant@...
2006-11-08T12:22:04+00:00
PHP: Irrelevant OS: irrelevant Package Version: 1.4.1

Description:
------------
it would be great if a salt could be addet to the md5 hash, perhaps this could be done in a seperate method like &quot;crypt&quot; that could be overwritten by the user</pre>]]></description>
      <dc:date>2006-11-08T12:22:04+00:00</dc:date>
      <dc:creator>irrelevant &amp;#x61;&amp;#116; mailinator &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/2765">
      <title>Auth: Feature/Change Request 2765 [Open] Persistent cookies</title>
      <link>http://pear.php.net/bugs/2765</link>
      <content:encoded><![CDATA[<pre>Auth Feature/Change Request
Reported by jj03@...
2004-11-15T22:58:12+00:00
PHP: 4.3.9 OS:  Package Version: 

Description:
------------
Currently all the cookies only work for the current browser session, and there should be an optional way to use persistent cookies.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth Feature/Change Request
Reported by jj03@...
2004-11-15T22:58:12+00:00
PHP: 4.3.9 OS:  Package Version: 

Description:
------------
Currently all the cookies only work for the current browser session, and there should be an optional way to use persistent cookies.</pre>]]></description>
      <dc:date>2004-11-15T22:58:12+00:00</dc:date>
      <dc:creator>jj03 &amp;#x61;&amp;#116; operamail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
