Move away from generate.conf and use the information provided in the ldap
[mirror/userdir-ldap.git] / userdir-ldap.conf
1 # Config file for ldap scripts
2
3 # ud-replicate client configuration:
4 # host from which to rsync the information (the one running ud-generate)
5 synchost = "db";
6 # hosts on which to use a local path to get the data (used as a shell glob later)
7 localsyncon = "*draghi*";
8
9 # Basic LDAP configuration
10 ldaphost = "db.debian.org";
11 usessl   = True;
12 basedn   = "ou=users,dc=debian,dc=org";
13 hostbasedn = "ou=hosts,dc=debian,dc=org";
14 adminuser = "admin";
15
16 # Printable email addresses are shown as: 'cn mn sn <uid@emailappend>'
17 emailappend = "debian.org";
18
19 # Domain for hosts, defaults to emailappend if not present
20 #hostdomain = "debian.org"
21
22 # For the mail interface
23 maildomain = "db.debian.org";
24 replyto = "admin@" + maildomain;
25 pingfrom = "ping@" + maildomain;
26 chpassfrom = "chpasswd@" + maildomain;
27 changefrom = "change@" + maildomain;
28 templatesdir = "/etc/userdir-ldap/templates/";
29 replaycachefile = "/var/cache/userdir-ldap/mail/replay";
30 #replaycachefile = "/tmp/replay";
31 fingerprintfile = "/etc/userdir-ldap/badfingerprints"
32
33 # Echelon
34 ech_errorlog = "/org/db.debian.org/mail/Log/ech-errors.log"
35 ech_mainlog = "/org/db.debian.org/mail/Log/ech.log"
36
37 # User properties
38 defaultgid = 800;
39
40 # For the output generator
41 generatedir = "/var/cache/userdir-ldap/hosts/";
42 passdir = "/etc/userdir-ldap/";
43 allowedgroupspreload = "adm";
44 homeprefix = "/home/";
45
46 # GPG Things
47 gpg = "/usr/bin/gpg";
48 # The whole set of all keyrings
49 keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-keyring.pgp:/org/keyring.debian.org/keyrings/removed-keys.gpg:/org/keyring.debian.org/keyrings/removed-keys.pgp:/srv/db.debian.org/keyring-guest/guest-keyring/debian-guest.gpg"
50 # Keyrings synced to other machines, if they need them
51 sync_keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-keyring.pgp"
52 # Keyrings used to search in when new developers get added
53 add_keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-keyring.pgp:/srv/db.debian.org/keyring-guest/guest-keyring/debian-guest.gpg"
54
55 # For the WEB interface
56 webloginhtml = "login.html";
57 websearchhtml = "searchform.html";
58 websearchresulthtml = "searchresults.html";
59 webupdatehtml = "update.html";
60 hosthtml = "hostinfo.html";
61
62 webloginurl = "login.cgi";
63 websearchurl = "search.cgi";
64 webupdateurl = "update.cgi";
65
66 weblogfile = "/var/log/userldap-web.log";
67
68 # When should authentication tokens expire?
69 authexpires = 600;
70
71 # How many bytes to use for the blowfish key (max = 56 (448 bits))
72 blowfishkeylen = 10;
73
74 # Change this!
75 authtokenpath = "/var/cache/userdir-ldap/web-cookies";
76 countrylist = "/var/www/userdir-ldap/domains.tab";
77
78 # Finger daemon settings
79 # use_inetd = 1;