Auth & Imap over SSL
| From: | Birgir Stefansson | Date: | Wed, 06 Aug 2003 15:29:00 +0000 |
| Subject: | Auth & Imap over SSL | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7057@lists.php.net to get a copy of this message | ||
Dear maintainers of Auth.
I am trying to authenticate users with the Auth_Container_IMAP container
and am running into some trouble.
The thing is that I want to authenticate the users over SSL and
therefore imap_open has to look something like this:
imap_open("{somehost:993/imap/ssl/novalidate-cert}", "user_id",
"password");
However with the current version of Auth_Container_IMAP there is no way
to append the string '/imap/ssl/novalidate-cert' to the mailbox value of
imap_open without hardcoding it.
Could you add an optional 'path' to the mailbox value of imap_open so I
can use '/imap/ssl/novalidate-cert' ?
Looking at the constructor
/**
* Constructor of the container class
*
* @param $params, associative hash with host,port,basedn and
userattr key
* @return object Returns an error object if something went wrong
*/
function Auth_Container_IMAP($params) { ... }
I see that there is a parameter array with some values that you specify
but only host and port values are used. Maybe the comment just has to be
updated ? :)
TIA,
Birgir Stefansson
University of Iceland