X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=config%2Flx_office.conf.default;h=b4d4471f72875198b057556ed5ebd51100742db5;hb=dfa7a3a99a0b1ba731d1d4f81768308c10ace0d3;hp=dfaf17c0f40b2bdef2b227a96de4eff97743b735;hpb=1072cd08c6f5b1905a34dcb3eeab3ddec98d6905;p=kivitendo-erp.git diff --git a/config/lx_office.conf.default b/config/lx_office.conf.default index dfaf17c0f..b4d4471f7 100644 --- a/config/lx_office.conf.default +++ b/config/lx_office.conf.default @@ -1,3 +1,61 @@ +[authentication] +# The cleartext password for access to the administrative part. It +# can only be changed in this file, not via the administrative +# interface. +admin_password = admin123 + +# Which module to use for authentication. Valid values are 'DB' and +# 'LDAP'. If 'LDAP' is used then users cannot change their password +# via Lx-Office. +module = DB + +# The cookie name can be changed if desired. +cookie_name = lx_office_erp_session_id + +# The number of minutes a session is valid. The default value is eight +# hours. +session_timeout = 480 + +[authentication/database] +# Connection information for the database with the user and group +# inforamtion. This information is always needed, even if LDAP is +# used for authentication, as the user information is stored in this +# database while LDAP is only used for password verification. +# +# If 'module' is set to 'DB' then this database also contains the +# users' passwords. +host = localhost +port = 5432 +db = lxerp_auth +user = postgres +password = + +[authentication/ldap] +# This section is only relevant if 'module' is set to 'LDAP'. It names +# the LDAP server the passwords are verified against by doing a LDAP +# bind operation. +# +# At least the parameters 'host', 'aatribute' and 'base_dn' have to be +# specified. +# +# tls: Activate encryption via TLS +# attribute: Name of the LDAP attribute containing the user's login name +# base_dn: Base DN the LDAP searches start from +# filter: An optional LDAP filter specification. The string '<%login%>' +# is replaced by the user's login name before the search is started. +# bind_dn and bind_password: +# If searching the LDAP tree requires user credentials +# (e.g. ActiveDirectory) then these two parameters specify +# the user name and password to use. +host = localhost +port = 389 +tls = 0 +attribute = uid +base_dn = +filter = +bind_dn = +bind_password = + [system] # EUR: Einnahmen-Überschussrechnung (net income method). Set this to 1 # if your company uses the net income method and to 0 for balacing. @@ -82,7 +140,7 @@ openofficeorg_daemon_port = 2002 [task_server] # User name to use for database access -login = mb +login = # Set to 1 for debug messages in /tmp/lx-office-debug.log debug = 1 # Chose a system user the daemon should run under when started as root. @@ -101,16 +159,14 @@ email_template = templates/webpages/oe/periodic_invoices_email.txt [console] # autologin to use if none is given -login = mb +login = # autorun lines will be executed after autologin. # be warned that loading huge libraries will noticably lengthen startup time. -autorun = require "bin/mozilla/common.pl"; - = use English qw(-no_match_vars); - = use List::Util qw(min max); - = use Sort::Naturally; - = my ($a, $b, $e, $f, @a1, @a2, %h); - = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; } +#autorun = require "bin/mozilla/common.pl"; +# = use English qw(-no_match_vars); +# = use List::Util qw(min max); +# = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; } # location of history file for permanent history history_file = users/console_history