[PHP] Authenticate against LDAP database

2003-03-13 Thread Greg
Hi- I'm using Samba and OpenLDAP with smbldap tools. I have users stored in the LDAP database that I would like my PHP pages to authenticated against. I have 2 fields for user passwords, lmpassword and ntpassword. How would I go about authenticating against one of these fields, preferably ntpass

[PHP] authenticate

2001-09-04 Thread Jeremy Morano
Hi, Is there anyway that I can hide my website name in the authenticate window? if ( ! $auth ) { header( 'WWW-Authenticate: Basic realm="Private"); header( 'HTTP/1.0 401 Unauthorized' ); echo 'Authorization Required.'; exit; } -- PHP General Mailing List (http://www.php.

[PHP] PHP Authenticate

2001-02-04 Thread FredrikAT
Hi... I have a problem with PHP Authenticate ...if I enter user/pw wrong the first time it stops and I have to close/open browser.! I've tried to unset $PHP_AUTH_USER but then it just loops... if(!isset($PHP_AUTH_USER)) { Header("WWW-Authenticate: Basic realm=\".