X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=userdir-ldap.conf;h=7d2643be4ee89c75031d4b22d9d2aa6301ed5806;hp=f262529ee5d88e0de330d50cac4e98769fa55c4a;hb=871ab5f2e8bda25130c70834052fa8fb020a5373;hpb=9d35dc5360141709edea838f0eb012f2514a01bf diff --git a/userdir-ldap.conf b/userdir-ldap.conf index f262529..7d2643b 100644 --- a/userdir-ldap.conf +++ b/userdir-ldap.conf @@ -4,15 +4,19 @@ # host from which to rsync the information (the one running ud-generate) synchost = "db"; # hosts on which to use a local path to get the data (used as a shell glob later) -localsyncon = "*notanymoretheoldbdhostsamosasamosa*"; +localsyncon = "*draghi*"; # Basic LDAP configuration ldaphost = "db.debian.org"; usessl = True; basedn = "ou=users,dc=debian,dc=org"; +basebasedn = "dc=debian,dc=org"; hostbasedn = "ou=hosts,dc=debian,dc=org"; adminuser = "admin"; +#import re +#ignoreusersforuidnumbergen = ['nobody', re.compile('\$$') ] + # Printable email addresses are shown as: 'cn mn sn ' emailappend = "debian.org"; @@ -30,26 +34,28 @@ replaycachefile = "/var/cache/userdir-ldap/mail/replay"; #replaycachefile = "/tmp/replay"; fingerprintfile = "/etc/userdir-ldap/badfingerprints" +# do we have a debian-private like list that we should ask about in ud-useradd +haveprivatelist = True; + # Echelon ech_errorlog = "/org/db.debian.org/mail/Log/ech-errors.log" ech_mainlog = "/org/db.debian.org/mail/Log/ech.log" -# User properties -defaultgid = 800; - # For the output generator -generateconf = "/etc/userdir-ldap/generate.conf" generatedir = "/var/cache/userdir-ldap/hosts/"; passdir = "/etc/userdir-ldap/"; +allowedgroupspreload = "adm"; +homeprefix = "/home/"; # GPG Things gpg = "/usr/bin/gpg"; # The whole set of all keyrings -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" +keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/removed-keys.gpg:/srv/db.debian.org/keyring-guest/guest-keyring/debian-guest.gpg:/org/keyring.debian.org/keyrings/debian-maintainers.gpg" # Keyrings synced to other machines, if they need them -sync_keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-keyring.pgp" +sync_keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-maintainers.gpg" # Keyrings used to search in when new developers get added -add_keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg:/org/keyring.debian.org/keyrings/debian-keyring.pgp" +add_keyrings = "/org/keyring.debian.org/keyrings/debian-keyring.gpg" +add_keyrings_guest = "/org/keyring.debian.org/keyrings/debian-maintainers.gpg:/srv/db.debian.org/keyring-guest/guest-keyring/debian-guest.gpg" # For the WEB interface webloginhtml = "login.html"; @@ -76,3 +82,8 @@ countrylist = "/var/www/userdir-ldap/domains.tab"; # Finger daemon settings # use_inetd = 1; + +# only create sshfp and A records for hostnames matching this: +dns_hostmatch = "[a-zA-Z0-9\.]+\.debian\.org$" + +MX_remap = '{"0 INCOMING-MX": ["10 mailly.debian.org.", "10 merikanto.debian.org.", "10 muffat.debian.org."]}'