forked from Libki/libki-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibki_local.conf.example
54 lines (50 loc) · 2.08 KB
/
libki_local.conf.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Model::DB>
<connect_info>
dsn dbi:mysql:libki
user libki
password "PASSWORD"
auto_savepoint 1
quote_names 1
mysql_enable_utf8mb4 1
</connect_info>
</Model::DB>
<SIP>
enable 0
host ils.mylibrary.org
port 6001
location LIB
username libki_sipuser
password PassW0rd
terminator CR
require_sip_auth 0
enable_split_messages 0
no_password_check 0 # If enabled, Libki won't validate the password given against the SIP server, any password will work.
fee_limit 5.00 # Can be either a fee amount, or a SIP2 field that defines the fee limit ( e.g. CC ), delete for no fee limit
deny_on charge_privileges_denied # You can set SIP2 patron status flags which will deny patrons the ability to log in
deny_on recall_privileges_denied # You can set as many or as few as you want. Delete these if you don't want to deny patrons.
deny_on excessive_outstanding_fines # The full listing is defined in the SIP2 protocol specification
deny_on_field AB:This is the reason we are denying you # You can require arbitrary SIP fields to have a value of Y for patrons to be allowed to log in.
# The format of the setting is Field:Message
category_field PC # Category field in SIP response
pattern_personal_name , # Pattern for spliting lastname et firstname in personal name field(AE) in SIP response
</SIP>
<printers>
<google_cloud_print>
client_id 938561285477-libc5aj9loflo5i2lcuuonj9ggqb37uc.apps.googleusercontent.com
client_secret jDjNevvk-PS4_LldF42jIXe3
</google_cloud_print>
<printer monochrome>
type google_cloud_printer
google_cloud_id c7233eb8-3b3b-9534-6343-8f9375632134
<ticket>
color {"type": "STANDARD_MONOCHROME"}
</ticket>
</printer>
<printer color>
type google_cloud_printer
google_cloud_id c7233eb8-3b3b-9534-6343-8f9375632134
<ticket>
color {"type": "STANDARD_COLOR"}
</ticket>
</printer>
</printers>