mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
39 lines
1.8 KiB
INI
39 lines
1.8 KiB
INI
## ---------------------------------------------------------------------------------------------------------------
|
|
## form_completion.cfg - configuration data for form_completion
|
|
## ---------------------------------------------------------------------------------------------------------------
|
|
## X509_SUBJECT_VARIABLE var environment to elaborate (ex: X509_SUBJECT)
|
|
## X509_SUBJECT_FILTER scanf form to extract data (ex: /C=IT/L=Rome/O=Eraclito/OU=Tac/CN=%[^/]s/Email=%*s)
|
|
## LDAP_SERVER_ADDRESS name ldap host (ex: slessi)
|
|
## LDAP_SERVER_PORT port ldap host (ex: 389)
|
|
## LDAP_SERVER_BASE
|
|
## LDAP_SERVER_ROOTDN bind DN for ldap query data
|
|
## LDAP_SERVER_ROOTPW bind password for ldap query data
|
|
## LDAP_SUBJECT_ATTRIBUTE attribute for query filter
|
|
## LDAP_USER_ATTRIBUTE name user attribute (ex: uid)
|
|
## LDAP_PASSWD_ATTRIBUTE name password attribute (ex: tacPassword)
|
|
## TEMPLATE name form completion to print (ex: ./lms1.templ)
|
|
## ---------------------------------------------------------------------------------------------------------------
|
|
|
|
FORM_COMPLETION
|
|
{
|
|
X509_SUBJECT_VARIABLE X509_SUBJECT
|
|
X509_SUBJECT_FILTER "/C=IT/L=Rome/O=Eraclito/OU=Tac/CN=%[^/]s/Email=%*s"
|
|
|
|
## LDAP_SERVER_ADDRESS slessi
|
|
LDAP_SERVER_ADDRESS rosso.unirel.intranet
|
|
## LDAP_SERVER_PORT 389
|
|
|
|
## LDAP_SERVER_BASE ou=Tac,o=Eraclito
|
|
LDAP_SERVER_BASE ou=user,dc=giustino,dc=com
|
|
LDAP_SERVER_ROOTDN cn=Manager,dc=giustino,dc=com
|
|
LDAP_SERVER_ROOTPW caciucco
|
|
|
|
LDAP_SUBJECT_ATTRIBUTE uid
|
|
|
|
LDAP_USER_ATTRIBUTE uid
|
|
## LDAP_PASSWD_ATTRIBUTE tacPassword
|
|
LDAP_PASSWD_ATTRIBUTE userPassword
|
|
|
|
TEMPLATE inp/form/tmpl/lms2.templ
|
|
}
|