Advertisement
Guest User

Untitled

a guest
Nov 27th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. ;<?php die(''); ?>
  2. ;for security reasons, don't remove or modify the first line
  3.  
  4. [jdb]
  5.  
  6. ; name of the default profile to use for any connection
  7. default=jauth
  8. jacl2_profile=jauth
  9.  
  10. [jdb:jauth]
  11. driver="pgsql"
  12. database="lizmap"
  13. host="localhost"
  14. user="postgres"
  15. password="krneki2345"
  16.  
  17. [jdb:lizlog]
  18. driver="pgsql"
  19. database="lizmap"
  20. host="localhost"
  21. user="postgres"
  22. password="krneki2345"
  23.  
  24.  
  25. ;[jdb:jauth]
  26. ;driver=sqlite3
  27. ;database="var:db/jauth.db"
  28.  
  29. ;[jdb:lizlog]
  30. ;driver=sqlite3
  31. ;database="var:db/logs.db"
  32.  
  33. ; when you have charset issues, enable force_encoding so the connection will be
  34. ; made with the charset indicated in jelix config
  35. ;force_encoding = on
  36.  
  37. ; with the following parameter, you can specify a table prefix which will be
  38. ; applied to DAOs automatically. For manual jDb requests, please use method
  39. ; jDbConnection::prefixTable().
  40. ;table_prefix =
  41.  
  42. ; Example for pdo :
  43. ;driver=pdo
  44. ;dsn=mysql:host=localhost;dbname=test
  45. ;user=
  46. ;password=
  47.  
  48.  
  49. ; ldap configuration. See documentation
  50. [ldap:lizmapldap]
  51. hostname=localhost
  52. port=389
  53. adminUserDn="cn=admin,ou=lizmap,dc=com"
  54. adminPassword=""
  55.  
  56. ; base dn to search users. Used to search a user using the filter from searchUserFilter
  57. ; example for Active Directory: "ou=ADAM users,o=Microsoft,c=US", or "OU=Town,DC=my-town,DC=com"
  58. searchUserBaseDN="dc=XY,dc=fr"
  59.  
  60. ; filter to get user information, with the given login name
  61. ; example for Active Directory: "(sAMAccountName=%%LOGIN%%)"
  62. searchUserFilter="(&(objectClass=posixAccount)(uid=%%LOGIN%%))"
  63. ; it can be a list:
  64. ;searchUserFilter[]=...
  65. ;searchUserFilter[]=...
  66.  
  67. ; the dn to bind the user to login.
  68. ; The value can contain a `?` that will be replaced by the corresponding
  69. ; attribute value readed from the result of searchUserFilter.
  70. ; Or it can contain `%%LOGIN%%`, replaced by the given login
  71. ; Or it can contain only an attribute name, starting with a `$`: the
  72. ; attribute should then contain a full DN.
  73. bindUserDN="uid=%?%,ou=users,dc=XY,dc=fr"
  74. ;It can be a list of DN template:
  75. ;bindUserDN[]= ...
  76. ;bindUserDN[]= ...
  77.  
  78. ; attributes to retrieve for a user
  79. ; for dao mapping: "ldap attribute:dao attribute"
  80. ; ex: "uid:login,givenName:firstname,mail:email" : uid goes into the login property,
  81. ; ldap attribute givenName goes to the property firstname etc..
  82. ; example for Active Directory: "cn,distinguishedName,name"
  83. ; or "sAMAccountName:login,givenName:firstname,sn:lastname,mail:email,distinguishedName,name,dn"
  84. searchAttributes="uid:login,givenName:firstname,sn:lastname,mail:email"
  85.  
  86. ; search ldap filter to retrieve groups of a user.
  87. ; The user will be assign to jAcl2 groups having the same name of ldap groups.
  88. ; Leave empty if you don't want this synchronisation between jAcl2 groups and
  89. ; ldap groups.
  90. ; !!! IMPORTANT !!! : if searchGroupFilter is not empty,
  91. ; the plugin will remove the user from all existing jelix groups
  92. ; and only keep the relation between the user and the group retrieved from LDAP
  93. ;searchGroupFilter="(&(objectClass=posixGroup)(cn=XYZ*)(memberUid=%%LOGIN%%))"
  94. searchGroupFilter=
  95.  
  96. ; the property in the ldap entry corresponding to a group, that indicate the
  97. ; the group name
  98. searchGroupProperty="cn"
  99.  
  100. ; base dn to search groups. Used to search a group using the filter from searchGroupFilter
  101. searchGroupBaseDN=""
  102.  
  103.  
  104. [jcache]
  105.  
  106. ; name of the default profil to use for cache
  107. default=myapp
  108.  
  109.  
  110. [jcache:myapp]
  111. ; disable or enable cache for this profile
  112. enabled=1
  113. ; driver type (file, db, memcached)
  114. driver=file
  115. ; TTL used (0 means no expire)
  116. ttl=0
  117.  
  118.  
  119. ; Automatic cleaning configuration (not necessary with memcached)
  120. ; 0 means disabled
  121. ; 1 means systematic cache cleaning of expired data (at each set or add call)
  122. ; greater values mean less frequent cleaning
  123. ;automatic_cleaning_factor = 0
  124.  
  125. ; Parameters for file driver :
  126.  
  127. ; directory where to put the cache files (optional default 'JELIX_APP_TEMP_PATH/cache/')
  128. cache_dir=
  129. ; enable / disable locking file
  130. file_locking=1
  131. ; directory level. Set the directory structure level. 0 means "no directory structure", 1 means "one level of directory", 2 means "two levels"...
  132. directory_level=0
  133. ; umask for directory structure (default jelix one : 0775)
  134. directory_umask=
  135. ; prefix for cache files (default 'jelix_cache')
  136. file_name_prefix=
  137. ; umask for cache files (default jelix one: 0664)
  138. cache_file_umask=
  139.  
  140. ; Parameters for db driver :
  141.  
  142. ; dao used (default 'jelix~jcache')
  143. ;dao = ""
  144. ; dbprofil (optional)
  145. ;dbprofile = ""
  146.  
  147.  
  148. ; Parameters for memcached driver :
  149.  
  150. ; Memcached servers.
  151. ; Can be a list e.g
  152. ;servers = memcache_host1:11211,memcache_host2:11211,memcache_host3:11211 i.e HOST_NAME:PORT
  153. ;servers =
  154.  
  155. [jcache:qgisprojects]
  156. enabled=1
  157. driver=file
  158. ttl=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement