[PHP-DEV] PHP 4.0 Bug #8888: Authentication in iPlanet Fails

2001-01-24 Thread dylan

From: [EMAIL PROTECTED]
Operating system: Linux (Red Hat 7)
PHP version:  4.0.4pl1
PHP Bug Type: Other web server
Bug description:  Authentication in iPlanet Fails

Have PHP4 compiled and installed as an NSAPI module into iPlanet Enterprise Server 
4.1. PHP scripts work fine and dandy, with the exception of authorization. When my PHP 
script runs, the pop-up appears, and I enter my user name and password. From there, 
the system acts like the cancel button  has been clicked.

I've figured out that no matter what happens, PHP_AUTH_USER and PHP_AUTH_PW (the two 
variables that my script uses to process logins) aren't being set. A quick check of 
the docs confirms that (I think) I've got everything correct. Here's my obj.conf file:

# Sun Netscape Alliance - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.

Init fn="flex-init" 
access="/system/netscape/server4/https-https.www.cafefortwo.com/logs/access"
format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] 
\"%Req->reqpb.clf-request%\"
%Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn="load-types" mime-types="mime.types"
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
shlib="/system/netscape/server4/bin/libphp4.so"
Init fn="php4_init" errorString="Failed to initialise PHP!"


AuthTrans fn="php4_auth_trans"
NameTrans fn="document-root" root="/system/server/cf2/root"
PathCheck fn="unix-uri-clean"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" 
index-names="index.php,home.php,index.php3,home.php3,index.html,home.html"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
AddLog fn="flex-log" name="access"



ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn="php4_execute"


Is this a PHP bug or an iPlanet problem? Any help would be greatly appreciated.


-- 
Edit Bug report at: http://bugs.php.net/?id=&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: PHP 4.0 Bug #8888 Updated: Authentication in iPlanet Fails

2001-03-29 Thread Dylan Neild

No idea man .. We're migrating to JSP/EJB .. So all PHP development has been
reduced to "maintenance only".

If I have a chance to test it after work on Friday (I can usually get some
free time on one of the iPlanet machines), I'll let you know though. :)

Dylan


On 3/29/01 9:51 AM, "Bug Database" <[EMAIL PROTECTED]> wrote:

> ID: 
> Updated by: sniper
> Reported By: [EMAIL PROTECTED]
> Old-Status: Open
> Status: Feedback
> Bug Type: iPlanet related
> Assigned To: 
> Comments:
> 
> Does this happen with latest CVS snapshot from http://snaps.php.net/ ?
> 
> --Jani
> 
> 
> Previous Comments:
> ---
> 
> [2001-01-24 12:50:42] [EMAIL PROTECTED]
> Have PHP4 compiled and installed as an NSAPI module into iPlanet Enterprise
> Server 4.1. PHP scripts work fine and dandy, with the exception of
> authorization. When my PHP script runs, the pop-up appears, and I enter my
> user name and password. From there, the system acts like the cancel button
> has been clicked.
> 
> I've figured out that no matter what happens, PHP_AUTH_USER and PHP_AUTH_PW
> (the two variables that my script uses to process logins) aren't being set. A
> quick check of the docs confirms that (I think) I've got everything correct.
> Here's my obj.conf file:
> 
> # Sun Netscape Alliance - obj.conf
> # You can edit this file, but comments and formatting changes
> # might be lost when the admin server makes changes.
> 
> Init fn="flex-init"
> access="/system/netscape/server4/https-https.www.cafefortwo.com/logs/access"
> format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%]
> "%Req->reqpb.clf-request%"
> %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
> Init fn="load-types" mime-types="mime.types"
> Init fn="load-modules"
> funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
> shlib="/system/netscape/server4/bin/libphp4.so"
> Init fn="php4_init" errorString="Failed to initialise PHP!"
> 
> 
> AuthTrans fn="php4_auth_trans"
> NameTrans fn="document-root" root="/system/server/cf2/root"
> PathCheck fn="unix-uri-clean"
> PathCheck fn="find-pathinfo"
> PathCheck fn="find-index"
> index-names="index.php,home.php,index.php3,home.php3,index.html,home.html"
> ObjectType fn="type-by-extension"
> ObjectType fn="force-type" type="text/plain"
> Service fn="php4_execute" type="magnus-internal/x-httpd-php"
> Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
> Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
> Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
> AddLog fn="flex-log" name="access"
> 
> 
> 
> ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
> Service fn="php4_execute"
> 
> 
> Is this a PHP bug or an iPlanet problem? Any help would be greatly
> appreciated.
> 
> ---
> 
> 
> 
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at http://bugs.php.net/?id=&edit=2
> 
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]