Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision dfa7a3a9

Von Moritz Bunkus vor fast 14 Jahren hinzugefügt

  • ID dfa7a3a99a0b1ba731d1d4f81768308c10ace0d3
  • Vorgänger 7b4699d8
  • Nachfolger 78740763

Konfigurationsdatei config/authentication.pl nach config/lx_office.conf(.default) gemerget

Unterschiede anzeigen:

config/lx_office.conf.default
1
[authentication]
2
# The cleartext password for access to the administrative part.  It
3
# can only be changed in this file, not via the administrative
4
# interface.
5
admin_password = admin123
6

  
7
# Which module to use for authentication. Valid values are 'DB' and
8
# 'LDAP'.  If 'LDAP' is used then users cannot change their password
9
# via Lx-Office.
10
module = DB
11

  
12
# The cookie name can be changed if desired.
13
cookie_name = lx_office_erp_session_id
14

  
15
# The number of minutes a session is valid. The default value is eight
16
# hours.
17
session_timeout = 480
18

  
19
[authentication/database]
20
# Connection information for the database with the user and group
21
# inforamtion.  This information is always needed, even if LDAP is
22
# used for authentication, as the user information is stored in this
23
# database while LDAP is only used for password verification.
24
#
25
# If 'module' is set to 'DB' then this database also contains the
26
# users' passwords.
27
host     = localhost
28
port     = 5432
29
db       = lxerp_auth
30
user     = postgres
31
password =
32

  
33
[authentication/ldap]
34
# This section is only relevant if 'module' is set to 'LDAP'. It names
35
# the LDAP server the passwords are verified against by doing a LDAP
36
# bind operation.
37
#
38
# At least the parameters 'host', 'aatribute' and 'base_dn' have to be
39
# specified.
40
#
41
# tls:       Activate encryption via TLS
42
# attribute: Name of the LDAP attribute containing the user's login name
43
# base_dn:   Base DN the LDAP searches start from
44
# filter:    An optional LDAP filter specification. The string '<%login%>'
45
#            is replaced by the user's login name before the search is started.
46
# bind_dn and bind_password:
47
#            If searching the LDAP tree requires user credentials
48
#            (e.g. ActiveDirectory) then these two parameters specify
49
#            the user name and password to use.
50
host          = localhost
51
port          = 389
52
tls           = 0
53
attribute     = uid
54
base_dn       =
55
filter        =
56
bind_dn       =
57
bind_password =
58

  
1 59
[system]
2 60
# EUR: Einnahmen-Überschussrechnung (net income method). Set this to 1
3 61
# if your company uses the net income method and to 0 for balacing.

Auch abrufbar als: Unified diff