175 lines
5.4 KiB
Plaintext
175 lines
5.4 KiB
Plaintext
|
;<?php die(''); ?>
|
||
|
;for security reasons, don't remove or modify the first line
|
||
|
|
||
|
[jdb]
|
||
|
|
||
|
; name of the default profile to use for any connection
|
||
|
default=jauth
|
||
|
jacl2_profile=jauth
|
||
|
|
||
|
[jdb:jauth]
|
||
|
driver=sqlite3
|
||
|
database="var:db/jauth.db"
|
||
|
|
||
|
[jdb:lizlog]
|
||
|
driver=sqlite3
|
||
|
database="var:db/logs.db"
|
||
|
|
||
|
; when you have charset issues, enable force_encoding so the connection will be
|
||
|
; made with the charset indicated in jelix config
|
||
|
;force_encoding = on
|
||
|
|
||
|
; with the following parameter, you can specify a table prefix which will be
|
||
|
; applied to DAOs automatically. For manual jDb requests, please use method
|
||
|
; jDbConnection::prefixTable().
|
||
|
;table_prefix =
|
||
|
|
||
|
; Example for pdo :
|
||
|
;driver=pdo
|
||
|
;dsn=mysql:host=localhost;dbname=test
|
||
|
;user=
|
||
|
;password=
|
||
|
|
||
|
|
||
|
; ldap configuration. See documentation
|
||
|
[ldap:lizmapldap]
|
||
|
hostname=localhost
|
||
|
port=389
|
||
|
adminUserDn="cn=admin,ou=lizmap,dc=com"
|
||
|
adminPassword=""
|
||
|
|
||
|
; base dn to search users. Used to search a user using the filter from searchUserFilter
|
||
|
; example for Active Directory: "ou=ADAM users,o=Microsoft,c=US", or "OU=Town,DC=my-town,DC=com"
|
||
|
searchUserBaseDN="dc=XY,dc=fr"
|
||
|
|
||
|
; filter to get user information, with the given login name
|
||
|
; example for Active Directory: "(sAMAccountName=%%LOGIN%%)"
|
||
|
searchUserFilter="(&(objectClass=posixAccount)(uid=%%LOGIN%%))"
|
||
|
; it can be a list:
|
||
|
;searchUserFilter[]=...
|
||
|
;searchUserFilter[]=...
|
||
|
|
||
|
; the dn to bind the user to login.
|
||
|
; The value can contain a `?` that will be replaced by the corresponding
|
||
|
; attribute value readed from the result of searchUserFilter.
|
||
|
; Or it can contain `%%LOGIN%%`, replaced by the given login
|
||
|
; Or it can contain only an attribute name, starting with a `$`: the
|
||
|
; attribute should then contain a full DN.
|
||
|
bindUserDN="uid=%?%,ou=users,dc=XY,dc=fr"
|
||
|
;It can be a list of DN template:
|
||
|
;bindUserDN[]= ...
|
||
|
;bindUserDN[]= ...
|
||
|
|
||
|
; attributes to retrieve for a user
|
||
|
; for dao mapping: "ldap attribute:dao attribute"
|
||
|
; ex: "uid:login,givenName:firstname,mail:email" : uid goes into the login property,
|
||
|
; ldap attribute givenName goes to the property firstname etc..
|
||
|
; example for Active Directory: "cn,distinguishedName,name"
|
||
|
; or "sAMAccountName:login,givenName:firstname,sn:lastname,mail:email,distinguishedName,name,dn"
|
||
|
searchAttributes="uid:login,givenName:firstname,sn:lastname,mail:email"
|
||
|
|
||
|
; search ldap filter to retrieve groups of a user.
|
||
|
; The user will be assign to jAcl2 groups having the same name of ldap groups.
|
||
|
; Leave empty if you don't want this synchronisation between jAcl2 groups and
|
||
|
; ldap groups.
|
||
|
; !!! IMPORTANT !!! : if searchGroupFilter is not empty,
|
||
|
; the plugin will remove the user from all existing jelix groups
|
||
|
; and only keep the relation between the user and the group retrieved from LDAP
|
||
|
;searchGroupFilter="(&(objectClass=posixGroup)(cn=XYZ*)(memberUid=%%LOGIN%%))"
|
||
|
searchGroupFilter=
|
||
|
|
||
|
; the property in the ldap entry corresponding to a group, that indicate the
|
||
|
; the group name
|
||
|
searchGroupProperty="cn"
|
||
|
|
||
|
; base dn to search groups. Used to search a group using the filter from searchGroupFilter
|
||
|
searchGroupBaseDN=""
|
||
|
|
||
|
|
||
|
[jcache]
|
||
|
|
||
|
; name of the default profil to use for cache
|
||
|
default=lizmap
|
||
|
|
||
|
|
||
|
[jcache:lizmap]
|
||
|
; disable or enable cache for this profile
|
||
|
enabled=1
|
||
|
; driver type (file, db, memcached)
|
||
|
driver=file
|
||
|
; TTL used (0 means no expire)
|
||
|
ttl=0
|
||
|
|
||
|
|
||
|
; Automatic cleaning configuration (not necessary with memcached)
|
||
|
; 0 means disabled
|
||
|
; 1 means systematic cache cleaning of expired data (at each set or add call)
|
||
|
; greater values mean less frequent cleaning
|
||
|
;automatic_cleaning_factor = 0
|
||
|
|
||
|
; Parameters for file driver :
|
||
|
|
||
|
; directory where to put the cache files (optional default 'JELIX_APP_TEMP_PATH/cache/')
|
||
|
cache_dir=
|
||
|
; enable / disable locking file
|
||
|
file_locking=1
|
||
|
; directory level. Set the directory structure level. 0 means "no directory structure", 1 means "one level of directory", 2 means "two levels"...
|
||
|
directory_level=0
|
||
|
; umask for directory structure (default jelix one : 0775)
|
||
|
directory_umask=
|
||
|
; prefix for cache files (default 'jelix_cache')
|
||
|
file_name_prefix=
|
||
|
; umask for cache files (default jelix one: 0664)
|
||
|
cache_file_umask=
|
||
|
|
||
|
; Parameters for db driver :
|
||
|
|
||
|
; dao used (default 'jelix~jcache')
|
||
|
;dao = ""
|
||
|
; dbprofil (optional)
|
||
|
;dbprofile = ""
|
||
|
|
||
|
|
||
|
; Parameters for memcached driver :
|
||
|
|
||
|
; Memcached servers.
|
||
|
; Can be a list e.g
|
||
|
;servers = memcache_host1:11211,memcache_host2:11211,memcache_host3:11211 i.e HOST_NAME:PORT
|
||
|
;servers =
|
||
|
|
||
|
[jcache:qgisprojects]
|
||
|
enabled=1
|
||
|
driver=file
|
||
|
ttl=0
|
||
|
|
||
|
[smtp:mailer]
|
||
|
;; to send emails via smtp, uncomment these lines and indicate all needed values.
|
||
|
;; In localconfig.ini, set mailerType=smtp in the [mailer] section.
|
||
|
;host=localhost
|
||
|
;port=25,
|
||
|
;; "" or "ssl" or "tls"
|
||
|
;secure_protocol=
|
||
|
;helo=
|
||
|
;auth_enabled=true
|
||
|
;username=
|
||
|
;password=
|
||
|
;timeout=10
|
||
|
|
||
|
;; Connection profile to webdav server
|
||
|
;; To use remote webdav storage for store files uncomment the following lines
|
||
|
;; This configuration must mirror the 'Attachment widget' settings in the qgis project:
|
||
|
;;
|
||
|
;; baseUri -> must be the root of webdav server (must end with '/')
|
||
|
;; e.g. if the QGIS store url is set as 'http(s)://webdavserver.tld/shapeData/'||file_name(@selected_file_path) baseUri should be 'http(s)://webdavserver.tld/'
|
||
|
;;
|
||
|
;; WARNING: the 'baseUri' will be exposed on the web client
|
||
|
;;
|
||
|
;; user -> same as configured in the Authentication section of External storage configuration (Attachment widget)
|
||
|
;; password -> same as configured in the Authentication section of External storage configuration (Attachment widget)
|
||
|
;;
|
||
|
[webdav:default]
|
||
|
;baseUri=
|
||
|
;enabled=1
|
||
|
;user=
|
||
|
;password=
|