urgent help needed
am 22.04.2008 09:37:03 von syed mehdi
------=_Part_773_23662762.1208849823319
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
just wanted to know why LDAP authentication is not working for me in given
case (i have apache2 installed on my ubuntu 606):
i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
AuthType Basic
AuthName 'LDAP Login (Please do not add domainname\\ before username)'
AuthLDAPURL ldap://
xyz.company.com:543/ou=people,o=company.com?uid?sub?(objectC lass=*)
require valid-user
and whenever i am trying to access url (which executes evaluatequery.py) :
http://localhost/cgi-bin/mine/evaluatequery.py
i am not asked for ldap authentication, though the script gets executed
successfully.
please help
Thanks & Regards
Syed
------=_Part_773_23662762.1208849823319
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
just wanted to know why LDAP authentication is not working for me in given case (i have apache2 installed on my ubuntu 606):
i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
AuthType Basic
AuthName 'LDAP Login (Please do not add domainname\\ before username)'
AuthLDAPURL ldap://
<Files "evaluatequery.py">
require valid-user
</Files>
and whenever i am trying to access url (which executes evaluatequery.py) :
i am not asked for ldap authentication, though the script gets executed successfully.
please help
Thanks & Regards
Syed
------=_Part_773_23662762.1208849823319--
Re: urgent help needed
am 22.04.2008 10:01:25 von Mohammed Salih
Hi Sayed,
Did you check if the directory /user/lib/cgi-bin/mine is having an
AllowOverride AuthConfig in the apache configuration.
Example:
AllowOverride AuthConfig
OR
AllowOverride All
to allow all .htaccess-able directives.
Cheers
Salih
On Tue, Apr 22, 2008 at 11:37 AM, syed mehdi wrote:
> just wanted to know why LDAP authentication is not working for me in given
> case (i have apache2 installed on my ubuntu 606):
> i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
> AuthType Basic
> AuthName 'LDAP Login (Please do not add domainname\\ before username)'
> AuthLDAPURL
> ldap://xyz.company.com:543/ou=people,o=company.com?uid?sub?( objectClass=*)
>
>
> require valid-user
>
>
> and whenever i am trying to access url (which executes evaluatequery.py) :
> http://localhost/cgi-bin/mine/evaluatequery.py
> i am not asked for ldap authentication, though the script gets executed
> successfully.
>
> please help
>
> Thanks & Regards
> Syed
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: urgent help needed
am 22.04.2008 10:45:22 von syed mehdi
------=_Part_1111_24060202.1208853922740
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Thanks salih,
i added the directive
AllowOverride AuthConfig
in config file after line: AccessFileName .htaccess,
but now while accessing the same url i am getting the error as:
[Tue Apr 22 14:11:28 2008] [alert] [client 127.0.0.1]
/usr/lib/cgi-bin/mine/.htaccess: Invalid command 'AuthLDAPURL', perhaps
mis-spelled or defined by a module not included in the server configuration
though the command is correct.
regards
syed
On Tue, Apr 22, 2008 at 1:31 PM, Mohammed Salih wrote:
> Hi Sayed,
>
> Did you check if the directory /user/lib/cgi-bin/mine is having an
> AllowOverride AuthConfig in the apache configuration.
>
> Example:
>
>
> AllowOverride AuthConfig
>
>
> OR
>
>
> AllowOverride All
>
>
> to allow all .htaccess-able directives.
>
> Cheers
> Salih
>
> On Tue, Apr 22, 2008 at 11:37 AM, syed mehdi wrote:
> > just wanted to know why LDAP authentication is not working for me in
> given
> > case (i have apache2 installed on my ubuntu 606):
> > i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
> > AuthType Basic
> > AuthName 'LDAP Login (Please do not add domainname\\ before username)'
> > AuthLDAPURL
> > ldap://
> xyz.company.com:543/ou=people,o=company.com?uid?sub?(objectC lass=*)
> >
> >
> > require valid-user
> >
> >
> > and whenever i am trying to access url (which executes evaluatequery.py)
> :
> > http://localhost/cgi-bin/mine/evaluatequery.py
> > i am not asked for ldap authentication, though the script gets executed
> > successfully.
> >
> > please help
> >
> > Thanks & Regards
> > Syed
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
------=_Part_1111_24060202.1208853922740
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Thanks salih,
i added the directive
<Directory "/user/lib/cgi-bin/mine">
AllowOverride AuthConfig
</Directory>
in config file after line: AccessFileName .htaccess,
but now while accessing the same url i am getting the error as:
[Tue Apr 22 14:11:28 2008] [alert] [client ] /usr/lib/cgi-bin/mine/.htaccess: Invalid command 'AuthLDAPURL', perhaps mis-spelled or defined by a module not included in the server configuration
though the command is correct.
regards
syed
On Tue, Apr 22, 2008 at 1:31 PM, Mohammed Salih <> wrote:
Hi Sayed,
Did you check if the directory /user/lib/cgi-bin/mine is having an
AllowOverride AuthConfig in the apache configuration.
Example:
<Directory "/user/lib/cgi-bin/mine">
AllowOverride AuthConfig
</Directory>
OR
<Directory "/user/lib/cgi-bin/mine">
AllowOverride All
</Directory>
to allow all .htaccess-able directives.
Cheers
Salih
On Tue, Apr 22, 2008 at 11:37 AM, syed mehdi <> wrote:
> just wanted to know why LDAP authentication is not working for me in given
> case (i have apache2 installed on my ubuntu 606):
> i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
> AuthType Basic
> AuthName 'LDAP Login (Please do not add domainname\\ before username)'
> AuthLDAPURL
> ldap://
>
> <Files "evaluatequery.py">
> require valid-user
> </Files>
>
> and whenever i am trying to access url (which executes evaluatequery.py) :
>
> i am not asked for ldap authentication, though the script gets executed
> successfully.
>
> please help
>
> Thanks & Regards
> Syed
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
" from the digest:
For additional commands, e-mail:
------=_Part_1111_24060202.1208853922740--
Re: urgent help needed
am 22.04.2008 11:07:05 von Mohammed Salih
Hi Sayed,
The Correct Directive is AuthLDAPUrl not AuthLDAPURL. The directive is
case sensitive. By the way you have to load the module
auth_ldap_module (httpd 2.0), in order to get the functionality.
Apache httpd 2.0 -
http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html#auth ldapurl
Apache httpd 2.2 - http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
- http://httpd.apache.org/docs/2.2/mod/mod_ldap.html
Cheers
Salih
On Tue, Apr 22, 2008 at 12:45 PM, syed mehdi wrote:
> Thanks salih,
> i added the directive
>
>
> AllowOverride AuthConfig
>
> in config file after line: AccessFileName .htaccess,
> but now while accessing the same url i am getting the error as:
> [Tue Apr 22 14:11:28 2008] [alert] [client 127.0.0.1]
> /usr/lib/cgi-bin/mine/.htaccess: Invalid command 'AuthLDAPURL', perhaps
> mis-spelled or defined by a module not included in the server configuration
> though the command is correct.
> regards
> syed
>
>
>
> On Tue, Apr 22, 2008 at 1:31 PM, Mohammed Salih wrote:
> >
> >
> >
> > Hi Sayed,
> >
> > Did you check if the directory /user/lib/cgi-bin/mine is having an
> > AllowOverride AuthConfig in the apache configuration.
> >
> > Example:
> >
> >
> > AllowOverride AuthConfig
> >
> >
> > OR
> >
> >
> > AllowOverride All
> >
> >
> > to allow all .htaccess-able directives.
> >
> > Cheers
> > Salih
> >
> >
> >
> >
> > On Tue, Apr 22, 2008 at 11:37 AM, syed mehdi wrote:
> > > just wanted to know why LDAP authentication is not working for me in
> given
> > > case (i have apache2 installed on my ubuntu 606):
> > > i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
> > > AuthType Basic
> > > AuthName 'LDAP Login (Please do not add domainname\\ before username)'
> > > AuthLDAPURL
> > >
> ldap://xyz.company.com:543/ou=people,o=company.com?uid?sub?( objectClass=*)
> > >
> > >
> > > require valid-user
> > >
> > >
> > > and whenever i am trying to access url (which executes evaluatequery.py)
> :
> > > http://localhost/cgi-bin/mine/evaluatequery.py
> > > i am not asked for ldap authentication, though the script gets executed
> > > successfully.
> > >
> > > please help
> > >
> > > Thanks & Regards
> > > Syed
> >
> > ------------------------------------------------------------ ---------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: urgent help needed
am 22.04.2008 11:44:13 von syed mehdi
------=_Part_1304_5898891.1208857453939
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
thank you very much salih, it worked.
On Tue, Apr 22, 2008 at 2:37 PM, Mohammed Salih wrote:
> Hi Sayed,
>
> The Correct Directive is AuthLDAPUrl not AuthLDAPURL. The directive is
> case sensitive. By the way you have to load the module
> auth_ldap_module (httpd 2.0), in order to get the functionality.
>
> Apache httpd 2.0 -
> http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html#auth ldapurl
> Apache httpd 2.2 -
> http://httpd.apache.org/docs/2.2/mod/mod_authnz_ldap.html
> -
> http://httpd.apache.org/docs/2.2/mod/mod_ldap.html
> Cheers
> Salih
>
> On Tue, Apr 22, 2008 at 12:45 PM, syed mehdi wrote:
> > Thanks salih,
> > i added the directive
> >
> >
> > AllowOverride AuthConfig
> >
> > in config file after line: AccessFileName .htaccess,
> > but now while accessing the same url i am getting the error as:
> > [Tue Apr 22 14:11:28 2008] [alert] [client 127.0.0.1]
> > /usr/lib/cgi-bin/mine/.htaccess: Invalid command 'AuthLDAPURL', perhaps
> > mis-spelled or defined by a module not included in the server
> configuration
> > though the command is correct.
> > regards
> > syed
> >
> >
> >
> > On Tue, Apr 22, 2008 at 1:31 PM, Mohammed Salih
> wrote:
> > >
> > >
> > >
> > > Hi Sayed,
> > >
> > > Did you check if the directory /user/lib/cgi-bin/mine is having an
> > > AllowOverride AuthConfig in the apache configuration.
> > >
> > > Example:
> > >
> > >
> > > AllowOverride AuthConfig
> > >
> > >
> > > OR
> > >
> > >
> > > AllowOverride All
> > >
> > >
> > > to allow all .htaccess-able directives.
> > >
> > > Cheers
> > > Salih
> > >
> > >
> > >
> > >
> > > On Tue, Apr 22, 2008 at 11:37 AM, syed mehdi
> wrote:
> > > > just wanted to know why LDAP authentication is not working for me in
> > given
> > > > case (i have apache2 installed on my ubuntu 606):
> > > > i have placed .htaccess with these contents in
> /user/lib/cgi-bin/mine:
> > > > AuthType Basic
> > > > AuthName 'LDAP Login (Please do not add domainname\\ before
> username)'
> > > > AuthLDAPURL
> > > >
> > ldap://
> xyz.company.com:543/ou=people,o=company.com?uid?sub?(objectC lass=*)
> > > >
> > > >
> > > > require valid-user
> > > >
> > > >
> > > > and whenever i am trying to access url (which executes
> evaluatequery.py)
> > :
> > > > http://localhost/cgi-bin/mine/evaluatequery.py
> > > > i am not asked for ldap authentication, though the script gets
> executed
> > > > successfully.
> > > >
> > > > please help
> > > >
> > > > Thanks & Regards
> > > > Syed
> > >
> > > ------------------------------------------------------------ ---------
> > > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > > See for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> >
> >
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
------=_Part_1304_5898891.1208857453939
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
thank you very much salih, it worked.
On Tue, Apr 22, 2008 at 2:37 PM, Mohammed Salih <> wrote:
Hi Sayed,
The Correct Directive is AuthLDAPUrl not AuthLDAPURL. The directive is
case sensitive. By the way you have to load the module
auth_ldap_module (httpd 2.0), in order to get the functionality.
Apache httpd 2.0 -
Apache httpd 2.2 -
-
Cheers
Salih
On Tue, Apr 22, 2008 at 12:45 PM, syed mehdi <> wrote:
> Thanks salih,
> i added the directive
>
> <Directory "/user/lib/cgi-bin/mine">
> AllowOverride AuthConfig
> </Directory>
> in config file after line: AccessFileName .htaccess,
> but now while accessing the same url i am getting the error as:
> [Tue Apr 22 14:11:28 2008] [alert] [client ]
> /usr/lib/cgi-bin/mine/.htaccess: Invalid command 'AuthLDAPURL', perhaps
> mis-spelled or defined by a module not included in the server configuration
> though the command is correct.
> regards
> syed
>
>
>
> On Tue, Apr 22, 2008 at 1:31 PM, Mohammed Salih <> wrote:
> >
> >
> >
> > Hi Sayed,
> >
> > Did you check if the directory /user/lib/cgi-bin/mine is having an
> > AllowOverride AuthConfig in the apache configuration.
> >
> > Example:
> >
> > <Directory "/user/lib/cgi-bin/mine">
> > AllowOverride AuthConfig
> > </Directory>
> >
> > OR
> >
> > <Directory "/user/lib/cgi-bin/mine">
> > AllowOverride All
> > </Directory>
> >
> > to allow all .htaccess-able directives.
> >
> > Cheers
> > Salih
> >
> >
> >
> >
> > On Tue, Apr 22, 2008 at 11:37 AM, syed mehdi <> wrote:
> > > just wanted to know why LDAP authentication is not working for me in
> given
> > > case (i have apache2 installed on my ubuntu 606):
> > > i have placed .htaccess with these contents in /user/lib/cgi-bin/mine:
> > > AuthType Basic
> > > AuthName 'LDAP Login (Please do not add domainname\\ before username)'
> > > AuthLDAPURL
> > >
> ldap://
> > >
> > > <Files "evaluatequery.py">
> > > require valid-user
> > > </Files>
> > >
> > > and whenever i am trying to access url (which executes evaluatequery.py)
> :
> > >
> > > i am not asked for ldap authentication, though the script gets executed
> > > successfully.
> > >
> > > please help
> > >
> > > Thanks & Regards
> > > Syed
> >
> > ------------------------------------------------------------ ---------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:> for more info.
> > To unsubscribe, e-mail:
> > " from the digest:
> > For additional commands, e-mail:
> >
> >
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
" from the digest:
For additional commands, e-mail:
------=_Part_1304_5898891.1208857453939--