Compare commits
26 Commits
pkg/stable
...
0a5f0f7d94
Author | SHA1 | Date | |
---|---|---|---|
0a5f0f7d94 | |||
beb6341981 | |||
b81f96f0dd | |||
eafbc3bd8a | |||
46c699813e | |||
7e3f6d3408 | |||
84ad8d7fbd | |||
edc22cacc2 | |||
8f5885406f | |||
eb06eaaf5a | |||
eb15ad0846 | |||
22f5af608e | |||
ad9059bfae | |||
7d05697ad0 | |||
667384db1f | |||
7328d4b968 | |||
01d1cb3811 | |||
267b96bd16 | |||
26d696d6f8 | |||
11aca56f4e | |||
85f8f7b079 | |||
2d8082913c | |||
a53fe39db1 | |||
44ee4421c1 | |||
24a5264933 | |||
f5631ff980 |
4
Makefile
4
Makefile
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
SOURCE=eole-lemonldap
|
SOURCE=eole-lemonldap
|
||||||
VERSION=0.1
|
VERSION=0.1
|
||||||
EOLE_VERSION=2.6
|
EOLE_VERSION=2.7
|
||||||
EOLE_RELEASE=2.6.2
|
EOLE_RELEASE=2.7.2
|
||||||
PKGAPPS=non
|
PKGAPPS=non
|
||||||
#FLASK_MODULE=<APPLICATION>
|
#FLASK_MODULE=<APPLICATION>
|
||||||
|
|
||||||
|
@ -10,14 +10,14 @@ LemonLDAP::NG EOLE integration
|
|||||||
|
|
||||||
GenConfig -> Mode Expert -> Dépôts tiers -> Libellé du dépôt
|
GenConfig -> Mode Expert -> Dépôts tiers -> Libellé du dépôt
|
||||||
|
|
||||||
#### LemonLDAP::NG repository
|
#### LemonLDAP::NG repository (if you use EOLE 2.7.2 this is not needed anymore)
|
||||||
|
|
||||||
* deb https://lemonldap-ng.org/deb 1.9 main
|
* deb https://lemonldap-ng.org/deb 1.9 main
|
||||||
* deb-src https://lemonldap-ng.org/deb 1.9 main
|
* deb-src https://lemonldap-ng.org/deb 1.9 main
|
||||||
* Key URL : https://lemonldap-ng.org/_media/rpm-gpg-key-ow2
|
* Key URL : https://lemonldap-ng.org/_media/rpm-gpg-key-ow2
|
||||||
|
|
||||||
#### Cadoles Repository
|
#### Cadoles Repository
|
||||||
* deb [ arch=all ] https://vulcain.cadoles.com 2.6.2-dev main
|
* deb [ arch=all ] https://vulcain.cadoles.com 2.7.2-dev main
|
||||||
* Key URL : https://vulcain.cadoles.com/cadoles.gpg
|
* Key URL : https://vulcain.cadoles.com/cadoles.gpg
|
||||||
|
|
||||||
### Install packages
|
### Install packages
|
||||||
|
18
debian/control
vendored
18
debian/control
vendored
@ -10,15 +10,21 @@ Vcs-Browser: https://forge.cadoles.com/Cadoles/eole-lemonldap
|
|||||||
|
|
||||||
Package: eole-lemonldap
|
Package: eole-lemonldap
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends}, lemonldap-ng, lemonldap-ng-doc, lemonldap-ng-fastcgi-server,
|
Depends: ${misc:Depends}, eole-lemonldap-pkg
|
||||||
libxml-libxml-perl, libxml-libxslt-perl, libcgi-emulate-psgi-perl, libauthen-captcha-perl, liblasso-perl,
|
|
||||||
libxml-simple-perl, libcgi-compile-perl, libmouse-perl, libio-string-perl, libnet-openid-server-perl,
|
|
||||||
libemail-sender-perl, libgd-securityimage-perl, libimage-magick-perl, libnet-ldap-perl,
|
|
||||||
libunicode-string-perl, libsoap-lite-perl, libhtml-template-perl, libcache-cache-perl,
|
|
||||||
libdbi-perl, perl-modules, libwww-perl
|
|
||||||
Conflicts: eole-sso
|
Conflicts: eole-sso
|
||||||
Provides: eole-sso
|
Provides: eole-sso
|
||||||
Description: Dictionnaires et templates pour la configuration d'un serveur LemonLDAP::NG, testée uniquement avec eolebase
|
Description: Dictionnaires et templates pour la configuration d'un serveur LemonLDAP::NG, testée uniquement avec eolebase
|
||||||
.
|
.
|
||||||
Pour toute information complémentaire, veuillez vous rendre sur la forge Cadoles.
|
Pour toute information complémentaire, veuillez vous rendre sur la forge Cadoles.
|
||||||
|
|
||||||
|
Package: eole-lemonldap-pkg
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}, lemonldap-ng, lemonldap-ng-doc, lemonldap-ng-fastcgi-server,
|
||||||
|
libxml-libxml-perl, libxml-libxslt-perl, libcgi-emulate-psgi-perl, libauthen-captcha-perl, liblasso-perl,
|
||||||
|
libxml-simple-perl, libcgi-compile-perl, libmouse-perl, libio-string-perl, libnet-openid-server-perl,
|
||||||
|
libemail-sender-perl, libgd-securityimage-perl, libimage-magick-perl, libnet-ldap-perl,
|
||||||
|
libunicode-string-perl, libsoap-lite-perl, libhtml-template-perl, libcache-cache-perl,
|
||||||
|
libdbi-perl, perl-modules, libwww-perl
|
||||||
|
Description: Paquet de dépendances pour eole-lemonldap.
|
||||||
|
.
|
||||||
|
Pour toute information complémentaire, veuillez vous rendre sur la forge Cadoles.
|
||||||
|
1
debian/eole-lemonldap.install
vendored
Normal file
1
debian/eole-lemonldap.install
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
usr
|
@ -8,6 +8,7 @@
|
|||||||
<file filelist='lemon' name='/etc/lemonldap-ng/test-nginx.conf' mkdir='True' rm='True'/>
|
<file filelist='lemon' name='/etc/lemonldap-ng/test-nginx.conf' mkdir='True' rm='True'/>
|
||||||
<file filelist='lemon' name='/etc/lemonldap-ng/lemonldap-ng.ini' mkdir='True' rm='True'/>
|
<file filelist='lemon' name='/etc/lemonldap-ng/lemonldap-ng.ini' mkdir='True' rm='True'/>
|
||||||
<file filelist='lemon' name='/var/lib/lemonldap-ng/conf/lmConf-1.json' mkdir='True' rm='True'/>
|
<file filelist='lemon' name='/var/lib/lemonldap-ng/conf/lmConf-1.json' mkdir='True' rm='True'/>
|
||||||
|
<file filelist='lemon' name='/etc/default/lemonldap-ng-fastcgi-server' mkdir='True' rm='True'/>
|
||||||
<file filelist='lemonCAS' name='/usr/share/php/configCAS/cas.inc.php' source='cas.inc.php.tmpl' mkdir='True'/>
|
<file filelist='lemonCAS' name='/usr/share/php/configCAS/cas.inc.php' source='cas.inc.php.tmpl' mkdir='True'/>
|
||||||
<file filelist='lemonCAS' name='/usr/share/php/CAS/eoleCASConfig.php' source='eoleCASConfig.php.tmpl' mkdir='True'/>
|
<file filelist='lemonCAS' name='/usr/share/php/CAS/eoleCASConfig.php' source='eoleCASConfig.php.tmpl' mkdir='True'/>
|
||||||
<file filelist='lemonCAS' name='/etc/pam_cas.conf' source="pam_cas_auth.conf"/>
|
<file filelist='lemonCAS' name='/etc/pam_cas.conf' source="pam_cas_auth.conf"/>
|
||||||
@ -34,6 +35,10 @@
|
|||||||
<variable name='ldapBindUserDN' type='string' description="Utilisateur de connection à l'annuaire" mandatory="True"/>
|
<variable name='ldapBindUserDN' type='string' description="Utilisateur de connection à l'annuaire" mandatory="True"/>
|
||||||
<variable name='ldapBindUserPassword' type='string' description="Mot de passe de l'utilisateur de connection à l'annuaire" mandatory="True"/>
|
<variable name='ldapBindUserPassword' type='string' description="Mot de passe de l'utilisateur de connection à l'annuaire" mandatory="True"/>
|
||||||
<variable name="samlOrganizationName" type='string' description="Nom de l'organisation SAML" mode='expert'/>
|
<variable name="samlOrganizationName" type='string' description="Nom de l'organisation SAML" mode='expert'/>
|
||||||
|
<variable name="lemonproc" type='number' description="Nombre de processus dédié à Lemon (équivalent au nombre de processeur)" mandatory="True">
|
||||||
|
<value>4</value>
|
||||||
|
</variable>
|
||||||
|
|
||||||
<variable name="lemonAdmin" type='string' description="LemonLDAP Administrator username" mode='expert'>
|
<variable name="lemonAdmin" type='string' description="LemonLDAP Administrator username" mode='expert'>
|
||||||
<value>admin</value>
|
<value>admin</value>
|
||||||
</variable>
|
</variable>
|
||||||
@ -49,7 +54,7 @@
|
|||||||
<value>oui</value>
|
<value>oui</value>
|
||||||
</variable>
|
</variable>
|
||||||
<variable name='ssoCALocation' type='string' description="Chemin de l'autorité de certification (ou rien)" mode="expert"/>
|
<variable name='ssoCALocation' type='string' description="Chemin de l'autorité de certification (ou rien)" mode="expert"/>
|
||||||
<variable name='ssoDebug' type='string' description="Activer le Debug pour la lib php-CAS" mode="expert">
|
<variable name='ssoDebug' type='oui/non' description="Activer le Debug pour la lib php-CAS" mode="expert">
|
||||||
<value>non</value>
|
<value>non</value>
|
||||||
</variable>
|
</variable>
|
||||||
<variable name='llSkin' type='string' description="Skin utilisé par LemonLDAP::NG">
|
<variable name='llSkin' type='string' description="Skin utilisé par LemonLDAP::NG">
|
||||||
@ -130,7 +135,8 @@
|
|||||||
<variable name='activerLemon'>Activer l'hébergement d'une place de marché HTTP pour OpenNebula</variable>
|
<variable name='activerLemon'>Activer l'hébergement d'une place de marché HTTP pour OpenNebula</variable>
|
||||||
<variable name='managerWebName'>Nom DNS de l'application de gestion de LemonLDAP::NG ex:manager.cadoles.com</variable>
|
<variable name='managerWebName'>Nom DNS de l'application de gestion de LemonLDAP::NG ex:manager.cadoles.com</variable>
|
||||||
<variable name='authWebName'>Nom DNS de service d'authentification de LemonLDAP::NG ex:auth.cadoles.com</variable>
|
<variable name='authWebName'>Nom DNS de service d'authentification de LemonLDAP::NG ex:auth.cadoles.com</variable>
|
||||||
<variable name='ldapUserBaseDN'>DN de l'utilisateur de connection en lecture à l'annuaire (ex: cn=reader,o=gouv,c=fr)</variable>
|
<variable name='ldapUserBaseDN'>DN de base de l'emplactement des utilisateurs dans l'annuaire (ex: ou=users,o=gouv,c=fr)</variable>
|
||||||
|
<variable name='ldapBindUserDN'>DN de l'utilisateur de connection en lecture à l'annuaire (ex: cn=reader,o=gouv,c=fr)</variable>
|
||||||
<variable name='nginxBucketSize'>server_names_hash_bucket_size Taille du hash des noms de serveur pour NGINX</variable>
|
<variable name='nginxBucketSize'>server_names_hash_bucket_size Taille du hash des noms de serveur pour NGINX</variable>
|
||||||
<variable name='llCheckLogins'>Affiche une case à cocher sur la mire SSO qui permet a l'utilisateur de voir l'historique de connection de son compte avant d'être redirigé vers le service demandé</variable>
|
<variable name='llCheckLogins'>Affiche une case à cocher sur la mire SSO qui permet a l'utilisateur de voir l'historique de connection de son compte avant d'être redirigé vers le service demandé</variable>
|
||||||
<variable name='llCSPTargets'>Liste des domaines à ajouter à la directive form-action.</variable>
|
<variable name='llCSPTargets'>Liste des domaines à ajouter à la directive form-action.</variable>
|
||||||
|
15
tmpl/lemonldap-ng-fastcgi-server
Normal file
15
tmpl/lemonldap-ng-fastcgi-server
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Number of process (default: 7)
|
||||||
|
NPROC = %%lemonproc
|
||||||
|
|
||||||
|
# Unix socket to listen to
|
||||||
|
SOCKET=/run/llng-fastcgi-server/llng-fastcgi.sock
|
||||||
|
|
||||||
|
# Pid file
|
||||||
|
PID=/run/llng-fastcgi-server/llng-fastcgi-server.pid
|
||||||
|
|
||||||
|
# User and GROUP
|
||||||
|
USER=www-data
|
||||||
|
GROUP=www-data
|
||||||
|
|
||||||
|
# Custom functions file
|
||||||
|
#CUSTOM_FUNCTIONS_FILE=/var/lib/lemonldap-ng/myfile.pm
|
@ -392,10 +392,12 @@
|
|||||||
"oidcOPMetaDataJWKS": null,
|
"oidcOPMetaDataJWKS": null,
|
||||||
"webIDAuthnLevel": 1,
|
"webIDAuthnLevel": 1,
|
||||||
"issuerDBOpenIDActivation": "1",
|
"issuerDBOpenIDActivation": "1",
|
||||||
%if %%is_empty(%%llResetUrl)
|
%if %%llResetPassword == "oui"
|
||||||
|
%if %%is_empty(%%llResetUrl)
|
||||||
"mailUrl": "https://%%authWebName/mail.pl",
|
"mailUrl": "https://%%authWebName/mail.pl",
|
||||||
%else
|
%else
|
||||||
"mailUrl": "%%llResetUrl",
|
"mailUrl": "%%llResetUrl",
|
||||||
|
%end if
|
||||||
%end if
|
%end if
|
||||||
"maintenance": 0,
|
"maintenance": 0,
|
||||||
"jsRedirect": 0,
|
"jsRedirect": 0,
|
||||||
|
@ -25,6 +25,7 @@ server {
|
|||||||
ssl_certificate_key %%server_key;
|
ssl_certificate_key %%server_key;
|
||||||
%end if
|
%end if
|
||||||
ssl_client_certificate /etc/ssl/certs/ca..crt;
|
ssl_client_certificate /etc/ssl/certs/ca..crt;
|
||||||
|
ssl_session_cache shared:SSL:10m;
|
||||||
access_log /var/log/nginx/auth-lemon-ldap.access-ssl.log;
|
access_log /var/log/nginx/auth-lemon-ldap.access-ssl.log;
|
||||||
server_name %%authWebName;
|
server_name %%authWebName;
|
||||||
root /usr/share/lemonldap-ng/portal/htdocs/;
|
root /usr/share/lemonldap-ng/portal/htdocs/;
|
||||||
|
Reference in New Issue
Block a user