Re: urgent help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thank you very much salih, it worked.

On Tue, Apr 22, 2008 at 2:37 PM, Mohammed Salih <linusali@xxxxxxxxx> 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#authldapurl
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 <smmehadi@xxxxxxxxx> 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 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 <linusali@xxxxxxxxx> 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 <smmehadi@xxxxxxxxx> 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=*)
> > >
> > > <Files "evaluatequery.py">
> > >          require valid-user
> > > </Files>
> > >
> > > 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 <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
> >
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux