Hi all I am having problem login in I use
Solaris-7
Apache-2.0.49
php-4.36
Openldap-2.0.7
For the first time it keeps saying ERROR in passwd or username, I am prettyuse I am using the rightone.. checking on the apache errorlog I see this
bash-2.05# [client 10.10.1.81] PHP Notice: Undefined variable: fn in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 5, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: sn in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 5, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: uid in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 6, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: LDAPSERVER_BASE_DN in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 6, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: username in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 7, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: basedn in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 7, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: password in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 8, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: LDAPSERVER_BASE_DN in /usr/local/apache2/htdocs/rolodap/support/header.phtml on line 33, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: TEMPFILE in /usr/local/apache2/htdocs/rolodap/support/header.phtml on line 38, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: username in /usr/local/apache2/htdocs/rolodap/support/header.phtml on line 38, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant ADMIN_GROUP_DN - assumed 'ADMIN_GROUP_DN' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 212, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant CONFLICT_GROUP_DN - assumed 'CONFLICT_GROUP_DN' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 236, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant ALERT_COLOR - assumed 'ALERT_COLOR' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 230, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant SMTPSERVER - assumed 'SMTPSERVER' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 194, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant URL - assumed 'URL' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 188, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant AUTH_SERVER_BIND_AS - assumed 'AUTH_SERVER_BIND_AS' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 242, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant AUTH_SERVER_BIND_PASSWORD - assumed 'AUTH_SERVER_BIND_PASSWORD' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 248, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: SINGLEUSERMODE in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 19, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: anonymous in /usr/local/apache2/htdocs/rolodap/auth.phtml
on line 23, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: username in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 29, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: headerintructions in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 33, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: ALLOW_ANONYMOUS in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 44, referer: http://sun.bismark.net.co/rolodap/index.html
I have added in the .htaccess the php_flag
But don't know how to check if the request is reaching the LDAP server or even loading the rolodap.conf
thanx in advance for any help
Andrs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And the problem is that
Enabling register_globals for Apache 2
From Duke: For those of you that are desperately trying to enable register_globals on a per-directory basis using Apache 2 with PHP 4 using .htaccess files, the syntax is different from Apache 1.x. In the directory you want to enable register_globals (or pretty much any other on/off setting), add an .htaccess file containing:
php_value register_globals 1
Note that php_flag does not work with Apache 2. Neither does on / off -- you must use 0 (off) or 1 (on).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all I am having problem login in I use
Solaris-7
Apache-2.0.49
php-4.36
Openldap-2.0.7
For the first time it keeps saying ERROR in passwd or username, I am prettyuse I am using the rightone.. checking on the apache errorlog I see this
bash-2.05# [client 10.10.1.81] PHP Notice: Undefined variable: fn in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 5, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: sn in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 5, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: uid in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 6, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: LDAPSERVER_BASE_DN in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 6, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: username in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 7, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: basedn in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 7, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: password in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 8, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: LDAPSERVER_BASE_DN in /usr/local/apache2/htdocs/rolodap/support/header.phtml on line 33, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: TEMPFILE in /usr/local/apache2/htdocs/rolodap/support/header.phtml on line 38, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: username in /usr/local/apache2/htdocs/rolodap/support/header.phtml on line 38, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant ADMIN_GROUP_DN - assumed 'ADMIN_GROUP_DN' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 212, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant CONFLICT_GROUP_DN - assumed 'CONFLICT_GROUP_DN' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 236, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant ALERT_COLOR - assumed 'ALERT_COLOR' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 230, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant SMTPSERVER - assumed 'SMTPSERVER' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 194, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant URL - assumed 'URL' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 188, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant AUTH_SERVER_BIND_AS - assumed 'AUTH_SERVER_BIND_AS' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 242, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Use of undefined constant AUTH_SERVER_BIND_PASSWORD - assumed 'AUTH_SERVER_BIND_PASSWORD' in /usr/local/apache2/htdocs/rolodap/support/otherfunctions.phtml on line 248, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: SINGLEUSERMODE in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 19, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: anonymous in /usr/local/apache2/htdocs/rolodap/auth.phtml
on line 23, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: username in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 29, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: headerintructions in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 33, referer: http://sun.bismark.net.co/rolodap/index.html
[client 10.10.1.81] PHP Notice: Undefined variable: ALLOW_ANONYMOUS in /usr/local/apache2/htdocs/rolodap/auth.phtml on line 44, referer: http://sun.bismark.net.co/rolodap/index.html
I have added in the .htaccess the php_flag
But don't know how to check if the request is reaching the LDAP server or even loading the rolodap.conf
thanx in advance for any help
Andrs
I found solution to part of the problem. Is stated in this webpage http://dan.drydog.com/apache2php.html
And the problem is that
Enabling register_globals for Apache 2
From Duke: For those of you that are desperately trying to enable register_globals on a per-directory basis using Apache 2 with PHP 4 using .htaccess files, the syntax is different from Apache 1.x. In the directory you want to enable register_globals (or pretty much any other on/off setting), add an .htaccess file containing:
php_value register_globals 1
Note that php_flag does not work with Apache 2. Neither does on / off -- you must use 0 (off) or 1 (on).