Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - sochi

Pages: [1]
1
Installation and Upgrades / LDAP- Virtual host authentication
« on: October 26, 2015, 10:12:27 am »
Hey there!
I need your help.
I need to configure ldap authentication to restrict access to virtual host based sites running, on my Zentyals apache2 webserver. I can't find any information about that.

2
Magyar / LDAP- Virtual host authentication
« on: October 21, 2015, 10:26:39 pm »
Kedves mindenki!
Zentyal 4.1 tartományi szerveren futó virtuális hosztokhoz LDAP autentikációval, csoportok a megfelelő oldalakhoz való hozzáférését kell engedélyezteznem/kolátoznom. Webserver apache2, Authnz_ldap és ldap modulokkal csatlakoztatva. A kliens gépek tartományba való beléptetése, probléma nélkül megtörtént. Az ldap felhasználók a kliensen való bejelentkezése is sikeres. Viszont a weboldalra semmilyen felhasználó névvel és jelszóval nem enged belépni.
A virtual host config fálja a következő:

<VirtualHost *:80>
ServerAdmin admin@oprelab.hu
ServerName crm.oprelab.hu
DocumentRoot /var/www/crm.oprelab.hu/public_html
ServerAlias crm.oprelab.hu

<Directory "/var/www/crm.oprelab.hu/public_html">
Options FollowSymLinks Includes
AllowOverride None
Order allow,deny
Allow from all

# -- LDAP Autentikáció -- #

AuthType Basic
AuthName LDAP_Auth_Test
AuthBasicProvider ldap
AuthLDAPBindDN          cn=Users,dc=oprelab,dc=hu
AuthLDAPBindPassword    hosszujelszo
AuthLDAPURL ldap://localhost/dc=oprelab,dc=hu?cn
Require valid-user

</Directory>
</VirtualHost>


LDAP Információk:
Alap DN
DC=oprelab,DC=hu
Alapértelmezett felhasználói megkülönböztető név
CN=Users,DC=oprelab,DC=hu
Alapértelmezett csoport megkülönböztető név
CN=Users,DC=oprelab,DC=hu

A többi oldalnál, ahol nem írtam ldap-ot, azoknál simán belép. Sajnos még kezdő vagyok, így nézzék el nekem, ha valahol dúrván hibáztam, csak tanulok.
Segítségüket előre is köszönöm.

Pages: [1]