RE: Auth aliases problem

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

 



You can also try authenticating to PAM, and then in

 

/etc/pam.d/apache2 (or httpd, I’ll have to check)

 

You specify

 

Auth                      sufficient             pam_ldap.so

Account               sufficient             pam_ldap.so

 

Pam_ldap is part of  the nss_ldap package.

 

This tells PAM to authenticate with LDAP.

 

On your VirtualHost directive, you’ll also need to add:

 

<Directory /var/www/myrestrictedarea>
AuthType Basic
AuthName "Restricted area for My Server"
AuthPAM_Enabled On
Require group mygroup
</Directory>

 

This should allow you to authenticate to LDAP.

 

From: Tymiński Jan [mailto:Jan.Tyminski@xxxxxxxxxxxxxxx]
Sent: Tuesday, June 25, 2013 9:46 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Auth aliases problem

 

I'd like to ask again about my problem: I want to make aliases for ldap authorization with mod_authn_alias, I have set everything up correctly, according to the documentation, enabled required module, set "AuthBasicProvider aaa" in my configuration, and I receive error: "Unknown Authn provider: aaa" - there is no single line in error.log, there is no information I can google, as all forward to: "Unknown Authn provider: ldap" and this is not the problem I experience - there is certainly other basis of the problem.

 

King Regards,

 

Jan TYMIŃSKI

IT System Administrator

 

Exorigo-UPOS Group

 

tel.: +48 32 44 28 172

mobile.: +48 607 410 656

mailto:jan.tyminski@xxxxxxxxxxxxxxx

 


--
Exorigo-Upos sp. z o.o., ul. Kolejowa 5/7, 01-217 Warszawa, NIP 526-26-02-464, REGON 017389996, KRS: 0000053959.
Rejestracja w Sądzie Rejonowym dla m. st. Warszawy w Warszawie, XII Wydział Gospodarczy KRS. Kapitał zakładowy 2.045.000 zł.


[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