Compare commits

...

30 Commits

Author SHA1 Message Date
28af340a58 Merge branch 'master' into dist/eole/2.7.2/master 2020-11-26 16:53:14 +01:00
52e5c433eb Enable option for SSL verify 2020-11-26 16:53:02 +01:00
55a6529380 Merge branch 'master' into dist/eole/2.7.2/master 2020-11-26 14:09:28 +01:00
d1ad6aeb25 Fix lm_loglevel 2020-11-26 14:09:15 +01:00
b6cf7bb9e3 Fix bad merge 2020-11-26 14:04:51 +01:00
ed37cb6666 fix conflict 2020-11-26 13:50:37 +01:00
815fca0e82 Merge branch 'master' of https://dev-eole.ac-dijon.fr/git/eole-lemonldap-ng 2020-11-26 13:49:34 +01:00
8ec486eafc Adding syslog configuration 2020-11-26 13:48:14 +01:00
4af11f3d28 Cleanup dico and support for loglevel 2020-11-26 13:47:47 +01:00
8af3ee655f Cleanup dico 2020-11-26 13:43:33 +01:00
774d06913b Fix conflict 2020-11-26 13:22:55 +01:00
5d4e572967 Fixing log format 2020-11-26 13:21:49 +01:00
15da7394f3 Make eole-lemonldap-ng compatible with eolebase 2020-11-24 15:47:38 +01:00
536da57382 parent d08c965ee8
author vfebvre <vfebvre@cadoles.com> 1599144265 +0200
committer Philippe Caseiro <pcaseiro@cadoles.com> 1606220045 +0100

Corrections diverses
2020-11-24 15:47:38 +01:00
7912544665 Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-11-24 14:45:14 +01:00
e348aa7381 Fix daemon default configuration 2020-11-24 14:45:02 +01:00
66c57c702b Fix missing dep 2020-11-24 14:41:09 +01:00
6aa8c6ceff Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-11-24 14:33:28 +01:00
dfeb49f3d6 Fix missing sso port 2020-11-24 14:33:17 +01:00
5ccad1d1f7 Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-11-24 14:27:36 +01:00
36fe95a0ca Adding eolesso_cas_folder variable redefine 2020-11-24 14:27:23 +01:00
2c8a46ab16 Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-11-24 14:22:43 +01:00
7ea9061878 Adding missing dep 2020-11-24 14:22:18 +01:00
027d549e18 we now need eole-ldapclient 2020-11-24 14:20:54 +01:00
0fda6b9e59 Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-11-24 14:17:13 +01:00
48c524c555 Fix ldap_tls redefine 2020-11-24 14:17:00 +01:00
f5c5681d5e Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-11-24 14:00:29 +01:00
24d49c49e3 Fix ldap_tls missing variable 2020-11-24 14:00:20 +01:00
e5b6b94f7c Merge branch '2.7.2/master' into dist/eole/2.7.2/master 2020-11-24 13:54:24 +01:00
578090525e Fix dicos 2020-11-24 13:54:10 +01:00
7 changed files with 35 additions and 10 deletions

2
debian/control vendored
View File

@ -10,7 +10,7 @@ Vcs-Browser: https://forge.cadoles.com/Cadoles/eole-lemonldap
Package: eole-lemonldap Package: eole-lemonldap
Architecture: all Architecture: all
Depends: ${misc:Depends}, eole-lemonldap-pkg Depends: ${misc:Depends}, eole-client-annuaire, python-configparser, eole-lemonldap-pkg
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

View File

@ -51,6 +51,10 @@
<value>4</value> <value>4</value>
</variable> </variable>
<variable name="lm_loglevel" type='string' description="Verbosité des journaux" mode='expert'>
<value>info</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>
@ -80,6 +84,9 @@
<variable name='llRegisterAccount' type='oui/non' description="Permettre aux utilisateurs de créer un compte"> <variable name='llRegisterAccount' type='oui/non' description="Permettre aux utilisateurs de créer un compte">
<value>oui</value> <value>oui</value>
</variable> </variable>
<variable name='lmldapverify' type='oui/non' description="Vérifier les certificats SSL du serveur LDAP">
<value>oui</value>
</variable>
<variable name='llRegisterDB' type='string' description="Base de comptes pour l'enregistrement"/> <variable name='llRegisterDB' type='string' description="Base de comptes pour l'enregistrement"/>
<variable name='llRegisterURL' type='string' description="Adresse de l'application de création de compte"/> <variable name='llRegisterURL' type='string' description="Adresse de l'application de création de compte"/>
<variable name='llCSPTargets' type='domain' description="Domaines vers lesquels le forumaire peut renvoyer" multi='True'/> <variable name='llCSPTargets' type='domain' description="Domaines vers lesquels le forumaire peut renvoyer" multi='True'/>
@ -117,6 +124,10 @@
<param>['ldaps','ldap']</param> <param>['ldaps','ldap']</param>
</check> </check>
<check name='valid_enum' target="lm_loglevel">
<param>['info','notice','warn','error','debug']</param>
</check>
<check name="valid_enum" target="llRegisterDB"> <check name="valid_enum" target="llRegisterDB">
<param>['LDAP','Demo','Custom']</param> <param>['LDAP','Demo','Custom']</param>
</check> </check>
@ -170,7 +181,7 @@
<variable name='managerWebName'>Nom DNS de l'application de gestion de LemonLDAP::NG ex:manager.example.fr</variable> <variable name='managerWebName'>Nom DNS de l'application de gestion de LemonLDAP::NG ex:manager.example.fr</variable>
<variable name='authWebName'>Nom DNS de service d'authentification de LemonLDAP::NG ex:auth.example.fr</variable> <variable name='authWebName'>Nom DNS de service d'authentification de LemonLDAP::NG ex:auth.example.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='ldapUserBaseDN'>DN de base de l'emplactement des utilisateurs dans l'annuaire (ex: ou=users,o=gouv,c=fr)</variable>
<variable name='ldapBindUsererDN'>DN de l'utilisateur de connection en lecture à l'annuaire (ex: cn=reader,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='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>
</help> </help>

View File

@ -6,7 +6,14 @@
<variables> <variables>
<family name='eole sso'> <family name='eole sso'>
<variable name='eolesso_adresse' type='domain_strict' description="Nom de domaine du serveur d'authentification SSO" redefine="True" exists='True' /> <variable name='eolesso_adresse' description="Nom de domaine du serveur d'authentification SSO" redefine="True" exists='True' />
<variable name='ldap_tls' redefine="True" exists='True' />
<variable name='eolesso_cas_folder' redefine="True" exists='True'>
<value>cas</value>
</variable>
<variable name='eolesso_port' redefine="True" exists='True'>
<value>443</value>
</variable>
</family> </family>
</variables> </variables>

View File

@ -1,5 +1,5 @@
# Number of process (default: 7) # Number of process (default: 7)
NPROC = %%lemonproc NPROC=%%lemonproc
# Unix socket to listen to # Unix socket to listen to
SOCKET=/run/llng-fastcgi-server/llng-fastcgi.sock SOCKET=/run/llng-fastcgi-server/llng-fastcgi.sock

View File

@ -36,7 +36,7 @@
; ;
; 1 - Defined logging level ; 1 - Defined logging level
; Set here one of error, warn, notice, info or debug ; Set here one of error, warn, notice, info or debug
logLevel = debug logLevel = %%lm_loglevel
; Note that this has no effect for Apache2 logging: Apache LogLevel is used ; Note that this has no effect for Apache2 logging: Apache LogLevel is used
; instead ; instead
; ;
@ -65,9 +65,9 @@ logLevel = debug
; 2.1 - Using Syslog ; 2.1 - Using Syslog
; ;
; For Syslog logging, you can also overwrite facilities. Default values: ; For Syslog logging, you can also overwrite facilities. Default values:
;logger = Lemonldap::NG::Common::Logger::Syslog logger = Lemonldap::NG::Common::Logger::Syslog
;syslogFacility = daemon syslogFacility = daemon
;userSyslogFacility = auth userSyslogFacility = auth
; ;
; 2.2 - Using Log4perl ; 2.2 - Using Log4perl
; ;

View File

@ -173,6 +173,13 @@
"ldapPpolicyControl": 0, "ldapPpolicyControl": 0,
"ldapPwdEnc": "utf-8", "ldapPwdEnc": "utf-8",
"ldapServer": "%%ldapScheme://%%ldapServer", "ldapServer": "%%ldapScheme://%%ldapServer",
%if %%ldapScheme == "ldaps"
%if %%lmldapverify == "oui"
"ldapVerify": "required",
%else
"ldapVerify": "none",
%end if
%end if
"ldapSetPassword": 0, "ldapSetPassword": 0,
"ldapTimeout": 120, "ldapTimeout": 120,
"ldapUsePasswordResetAttribute": 1, "ldapUsePasswordResetAttribute": 1,

View File

@ -1,3 +1,3 @@
log_format lm_combined '$remote_addr - $lmremote_user [$time_local] ' log_format lm_app '$remote_addr - $upstream_http_lm_remote_user [$time_local] '
'"$request" $status $body_bytes_sent ' '"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"'; '"$http_referer" "$http_user_agent" $upstream_http_lm_remote_custom';