userdir-ldap (0.3.95) unstable; urgency=medium * Fix more typos in ud-mailgate. -- Julien Cristau Sun, 10 Feb 2019 12:12:31 +0100 userdir-ldap (0.3.94) unstable; urgency=medium * Fix typo in ud-mailgate. -- Tollef Fog Heen Wed, 02 Jan 2019 19:13:52 +0100 userdir-ldap (0.3.93) unstable; urgency=medium [ Peter Palfrader ] * Also export a host's SSHFP records to additional dns names (sshfpHostname). * UDLdap.py: more useful exception if our array assumptions are violated. * ud-guest-upgrade: do not add but replace privateSub. * Editorial edits to the salsa paragraph prepared by Joseph Herlant. * ud-replicate: remove chroot support as we no longer use historical dchroot. * ud-replicate: move from lockfile(1) to flock. * ud-replicate: manually remove __db..db.t files before makedb calls. * remove gender attribute from ud-ldap: How one identifies is not relevant to their work in Debian. [ Ansgar Burchardt ] * ud-mailgate: include name of unknown host in error message [ Joseph Herlant ] * Change references from alioth to salsa in the DD welcome email (Closes: #910057) [ Tollef Fog Heen ] * pep8-ify ud-mailgate, no functional changes. -- Tollef Fog Heen Wed, 02 Jan 2019 19:08:53 +0100 userdir-ldap (0.3.92) unstable; urgency=medium [ Héctor Orón Martínez ] * welcome-message-Debian: update SSL certificate authority info. [ Julien Cristau ] * Fix sigcheck pgp/mime processing with gnupg 2 -- Julien Cristau Thu, 26 Oct 2017 20:29:10 +0200 userdir-ldap (0.3.91) UNRELEASED; urgency=medium [ Michael Stapelberg (merged by Luca Filipozzi) ] * ud-mailgate: add support for colons in TXT records -- Luca Filipozzi Thu, 24 Jun 2017 09:49:00 -0700 userdir-ldap (0.3.90) UNRELEASED; urgency=medium [ Paul Wise ] * Switch from /org to /srv [ Peter Palfrader ] * Replace RSA authentication with public-key authentication in welcome messages. * ud-generate: Do not create a global ssh-gitolite. Instead create them per-host where needed so we can accomodate per-host ssh authorized-keys. [ Tollef Fog Heen ] * Add totpSeed to LDAP schema. * Add support for changing TOTP seed by mailing ud-mailgate. * Fix ud-mailgate to handle the SHA256:$fingerprint output format that stretch's ssh-keygen has switched to. -- Paul Wise Sat, 17 Jun 2017 14:38:00 +0800 userdir-ldap (0.3.89) unstable; urgency=medium [ Julien Cristau ] * Fix half-assed switch away from python-support. [ Christoph Berg] * Add option "use_mq" to allow disabling the use of mq_notify in ud-generate -- Julien Cristau Mon, 27 Mar 2017 14:03:00 +0200 userdir-ldap (0.3.88) unstable; urgency=medium [ Peter Palfrader ] * ud-useradd: When looking for free UIDs/GIDs, also consider groups. [ Julien Cristau ] * Update Uploaders list. * Use dh-python instead of python-support. -- Peter Palfrader Sun, 26 Mar 2017 14:05:57 +0200 userdir-ldap (0.3.87) unstable; urgency=medium [ Peter Palfrader ] * remove dnsZoneEntry from restricted attributes to match config on db.d.o * ssh keys: Also accept ed25519 keys. RSA keys must be at least 2k. * ud-useradd: now does usergroups by default. * ud-guest-upgrade: add. * ud-guest-extend: add * ud-replicate: only install/reload RTC files when they have changed. * ud-replicate: use persistent ssh connections. * ud-generate: get RTC domain/realm from config file. [ Paul Wise ] * Update ud-ldapshow and cleanup cruft around the usergroups changes [ Julien Cristau ] * Replace dependency on perl5 with perl. -- Julien Cristau Sun, 29 Jan 2017 12:14:50 +0100 userdir-ldap (0.3.86) unstable; urgency=medium * ud-generate: support ssh-ed25519 keys for SSHFP records. * ud-replicated: only restore TERM if it was set before. If it wasn't leave it at dumb. -- Peter Palfrader Sun, 07 Dec 2014 16:25:22 +0100 userdir-ldap (0.3.85) unstable; urgency=low [ Stephen Gran ] * ud-generate: + Correct thinkos + notification is now the default [ Peter Palfrader ] * ud-mailgate: - fix sudopassword confirm handling. - sudopassword: allow dashes in hostnames. * ud-generate: update gitolite authkeys generation - skip ssh keys with non-local allowed_hosts - skip all keys with other restrictions - make including keys for hosts optional (on by default) - support overriding the command we restrict to - sudopassword: allow dashes in hostnames. * ud-replicated: - only use /var/run/log if it's a socket. * High version number to supersede locally built, non-tracked versions. -- Peter Palfrader Sat, 06 Dec 2014 09:59:12 +0100 userdir-ldap (0.3.82) unstable; urgency=low [ Stephen Gran ] * KFreeBSD uses a different syslog socket just because * Change cron job to weekly [ Peter Palfrader ] * sigcheck: Import userdir_ldap so CheckLDAP() can find connectLDAP(). -- Peter Palfrader Mon, 20 Jan 2014 23:18:17 +0100 userdir-ldap (0.3.81) unstable; urgency=low * Gratuitous version bump -- Stephen Gran Sat, 18 Jan 2014 10:37:40 +0000 userdir-ldap (0.3.80) unstable; urgency=low [ Peter Palfrader ] * some ud-echelon fixes, * userdir_gpg.py: GetClearSig: add lax_multipart to deal with random multipart mails. * naming your variable like a module is unsmart. * ud-generate: - filter on shadowAccount. - fix breaking old ud-generate locks. * ud-mailgate: only run ldapmodfiy if we actually have attributes to modify. * ud-replicate: - do not hard-code 'debian.org' in the 'write-zonefile debian.org' call, but instead re-use the domain from email-append. - now preserve server side modifcation times when rsyncing data. * userdir_ldap.py: read auth password from environment if set. * Introduce BaseBaseDN which is the real base dn. BaseDN itself has historically been used as the root of the user tree. * Allow a set of users to be ignored for picking UIDs. * When picking uid/gid numbers try to pick the same number for both. * Merge from torproject.org: - Allow sshRSAAuthKey for role accounts. - Support ssh key attributes for gitolite export. - Add ssh-gitolite support. * debianGroups may have cn attribute (helpful when putting samba stuff into ldap). * ud-mailgate: Do not try to do an ldap modify with no changes - now show command to changes@ should work again. * ud-generate: No longer expand $ in dnsZoneEntry data to a \n\t. * ud-generate: Move code into getLastBuildTime() and getLastLDAPChangeTime() functions. * ud-generate: Add -f option to build even if cache is current. * ud-generate: Move main code into a ud_generate() * ud-generate: speed improvements: - cut down on calls to IsInGroup by doing it once in generate_host() and not having the individual generators run it. o side effect: Up until now we exported empty groups to a host, if that group had a user with that group as their primary group - even if that particular user was not exported to this this. No we no longer export empty groups. - speed up ssh tarball generation: No longer write indidividual user's ssh authorized_keys to disk, only to read them later. Directly create a TarInfo object without referring to any on-disk files. - get rid of global state variable CurrentHost. This will enable upcoming changes. - UDLdap.py: make a cache for __getitem__() decisions. - wrap cdbmake calls in eatmydata. Nothing else does any fsync stuff, so doing it here just costs a lot. * ud-generate: Use a flock() lock instead of python's lockfile class. * ud-generate: The ssh authorized_keys file for the sshdist user now wraps the rsync call in an flock wrapper that acquires a shared lock on ud-generate's lock. This prevents syncing while ud-generate runs. * ud-lock: support supplying a status to set instead of 'retiring'. * ud-generate: Also rebuild if one of our keyrings has changed, even if ldap has not. * userdir-ldap-slapd.conf.in: explicitly list readable attributes. End with 'by * none'. * ud-generate: Allow more than one email address in userForward. Quite useful for role accounts. * ud-generate: Support writing gitolite config for just one user-group. * ud-generate: Support MX remapping. * ud-generate: Fix ipv6 check. * ud-generate: Fix unix mtime triggers. [ Stephen Gran ] * Fix deprecation warnings for sha module by using hashlib module instead * ud-fingerserv: update Net::LDAP import * Implement audit logging for ldap * stop running ud-generate if nothing has changed, based on audit logs * Change to trigger based replication [ Martin Zobel-Helas ] * ud-generate: generate webPasswords * ud-generate: generate voipPasswords * ud-replicate: set correct permissions for web-passwords * ud-replicate: set correct permissions for voip-passwords * add freecdb to depends * userdir-ldap.schema - add webPasswords - add mailPreserveSuffixSeperator - add voipPasswords [ Tollef Fog Heen ] * Export SSH host keys for gitolite, subject to a regex filter. [ Luca Filipozzi ] * rename voipPassword to rtcPassword in schema * update code to match -- Luca Filipozzi Thu, 16 Jan 2014 22:52:47 +0000 userdir-ldap (0.3.79) unstable; urgency=low * Add ud-sync-accounts-to-afs, a script to sync accounts to an AFS protection database. * ud-generate: - support host ACLs that expire. - lock output directory when generating. - support sync keyring dirs now too. * ud-useradd: A new -g switch for adding guest accounts, with proper setting hostacls and shadowexpire and picking the right keyring. * Remove .pgp (v3 pgp key) keyrings from config. * Update guest welcome template. * ud-gpgimport: handle guest keyrings. * ud-mailgate: - Make updating of gender actually work. - Do not mess with sudo passwords if nothing changed. * templates/change-reply: say a word about subjects in mail to admin@db. * move gpgwrapper to unmaintained/ - it is now using obsolete interfaces. * try to properly handle some more mime stuff. - use email module instead of deprecated mimetools and multifile modules - changes: sigcheck ud-echelon ud-mailgate userdir_gpg.py * move ud-echelon and sigcheck to GPGCheckSig2 interface. -- Peter Palfrader Sat, 21 May 2011 14:53:18 +0200 userdir-ldap (0.3.78) unstable; urgency=low * Start refactoring ud-generate: - If environment variables UD_CREDENTIALS, UD_GENERATEDIR, UD_HMAC_KEY are set, use their respective value instead of the default. This makes it possible to run ud-generate as a non-privileged user for testing purposes. - Start wrapping ldap search results in classes. For now we have done this with just an ldap account. - Also got rid of the global PasswdAttrs variable. Now functions get the account list (now a list of Account classes instead of ldap result array of tuples of hashes) passed to them like well-behaved functions. * userdir-ldap-slapd.conf: Fix ACL rule for keyring maintainers (we want group=..., not dn=...). * Add ud-krb-reset, and make ud-mailgate call it when receiving a mail at chpasswd@ saying 'Please change my Kerberos password'. * ud-generate: Add an extra output file called all-users.json that can be used on one of the AFS hosts to create afs users. -- Peter Palfrader Mon, 13 Sep 2010 19:08:34 +0200 userdir-ldap (0.3.77) unstable; urgency=low [ Peter Palfrader ] * ud-mailgate: Remove a global declaration after a variable has already been assigned globally. * ud-mailgate: We use the result of the pgp check for quite a long time in the main program. Give it its own variable instead of using Res which was overwritten a bit later. Also make a new gpgcheck2 class that allows us to access the values of the gpg signature check in a saner way. * ud-gpgimport: Get rid of "0x" when printing keyids/fingerprints. * Add ud-lock. * Fix a typo in welcome-message-800 noticed by Tommi Vainikainen. * Refactor the LDAP acls to be easier to manage. Effective changes: - Keyring Maintainers ldap group gets to write to the keyFingerPrint attribute. - sshrsaauthkey is no longer compareable by *. * ud-generate: refuse to run as root. [ Stephen Gran ] * Add txt record support to ud-mailgate * Clean up addition of identifying txt records to debian.net slightly -- Peter Palfrader Fri, 30 Jul 2010 19:46:48 +0200 userdir-ldap (0.3.76) unstable; urgency=low [ Peter Palfrader ] * ud-generate: Export groups even if nobody has that group as a supplementary group, as long as there are users that have it as a primary group. * ud-useradd: If we do not have a template for a specific group, use the general purpose template file (welcome-message). * ud-useradd: Fix usergroup support: - Move ldap call to actually add the user to the right place, - Properly compare strings and numbers. * ud-useradd: Only ask for private subscription if this installation has a debian-private like mailinglist whose membership is configured by ud-ldap. (defaults to true.) * Fix welcome-message to be like welcome-message-800 and 60000 wrt email headers * ud-useradd: Properly encode realname in subjects and to header lines regardless of which template is being used. * ud-generate: move the regex that determines whether or not to include a host in the dns-sshfp zone snippet (for SSHFP and A, AAAA and MX records) to the config file. * Include a host in DNS even if we do not have both ssh keys and an arch for that host configured. [ Stephen Gran ] * Add patches from Helmut Grohne : Allow ssh keys to be exported only to specific hosts by prefixing them with allowed_hosts=[host1[,host2 ...]]] when adding them using ud-mailgate. -- Stephen Gran Sat, 30 Jan 2010 13:33:40 +0000 userdir-ldap (0.3.75) unstable; urgency=low * Enable support for mailDefaultOptions * Make a stab at really not exporting empty groups. -- Stephen Gran Mon, 16 Nov 2009 21:36:53 +0000 userdir-ldap (0.3.74) unstable; urgency=low [ Peter Palfrader ] * ud-generate: Make sure we only add people in gid 800 to debian-private. (DebianUsers was just a copy of PasswdAttrs. So use PasswdAttrs in all the places that currently use DebianUsers. Make a filtered list DebianDDUsers (accounts in gid 800), and use that for building the debian-private subscription list.) * welcome-message-60000: improve wording of a sentence. Sometimes less is more. [ Stephen Gran ] * Initial support for BATV token storage. * generate a new file for mail forwards for users present on this machine -- Stephen Gran Sun, 15 Nov 2009 11:54:41 +0000 userdir-ldap (0.3.73) unstable; urgency=low * Add dnsTTL host attribute to override the zone default TTL for A and AAAA records. Also for MX, HINFO and SSHFP. -- Peter Palfrader Sun, 18 Oct 2009 12:38:51 +0200 userdir-ldap (0.3.72) unstable; urgency=low [ Peter Palfrader ] * ud-useradd: Allow unsetting of middle names by entering a space. * userdir-ldap.conf: Add debian-maintainers.gpg to keyrings and sync_keyrings. * ud-useradd: force gidNumber to be an int when we open the welcome template (it can be different when we read it from input using -n). * Tweak templates/welcome-message-60000. * ud-generate: don't blow up when a host does not have IP-addresses. * We autogenerate the authorized_keys files for sshdist on db-master. It limits the hosts' ssh key to coming from their respective addresses. Now we can add additional source addresses to accept for this since not all hosts appear to come from their published address (or have a published address for that matter). [ Stephen Gran ] * Make zone reloads work when ud-generate updates zone files -- Stephen Gran Mon, 05 Oct 2009 00:54:43 +0100 userdir-ldap (0.3.71) unstable; urgency=low * Enable autogeneration of DNS records for .d.o hosts -- Stephen Gran Sun, 23 Aug 2009 12:50:01 +0000 userdir-ldap (0.3.70) unstable; urgency=low * Enable autogeneration of sshdist's authorized_keys file -- Stephen Gran Sun, 09 Aug 2009 16:10:35 +0000 userdir-ldap (0.3.69) unstable; urgency=low * Make ud-host do allowedGroups, exportOptions. -- Peter Palfrader Thu, 23 Jul 2009 22:52:08 +0200 userdir-ldap (0.3.68) unstable; urgency=low * userdir-ldap.conf: localsyncon = "*draghi*" * userdir-ldap-slapd.conf.in: database hdb * schema: allowedGroups, exportOptions attribute for servers * Move away from generate.conf and use the information provided in the ldap. -- Peter Palfrader Thu, 23 Jul 2009 22:32:44 +0200 userdir-ldap (0.3.67) unstable; urgency=low [ Stephen Gran ] * ud-replicate no longer uses localsyncon=*samosa*. * ud-generate cleanup: - general code tidy (whitespace, semi-colons, python idioms) - loop cleanup, so that fewer redundant checks are done - split groups up so mail is only handled for gid Debian - Stop exporting information about retired developers - Stop exporting locked accounts - begin cleanup of use of string exceptions [ Peter Palfrader ] * .debian.net DNS creates BSMTP maps for MX 0 master in addition to gluck. * .debian.net DNS no longer creates BSMTP maps for MX 0 gluck. * Remove mailSpamOptOut ldap attribute - it isn't used anywhere. * schema, ud-info, ud-mailgate, ud-generate: Add mailContentInspectionAction attribute. Possible values are reject, blackhole and markup. -- Peter Palfrader Tue, 14 Jul 2009 11:02:27 +0200 userdir-ldap (0.3.66) unstable; urgency=low * We would previously ignore purpose hosts for ssh known hosts purposes if the service name would not start the purpose field. Fix this. -- Peter Palfrader Fri, 01 May 2009 17:10:05 +0200 userdir-ldap (0.3.65) unstable; urgency=low * userdir-ldap.conf: remove from default keyrings: - /home/jgg/keys/extrakeys.gpg - /home/jgg/keys/guest-keys.gpg -- Peter Palfrader Mon, 06 Apr 2009 01:40:37 +0200 userdir-ldap (0.3.64) unstable; urgency=low * userdir-ldap.conf: add keyring.pgp to default add_keyrings. * userdir_gpg.py: add a ClearKeyrings(). * ud-gpgimport: work on add_keyrings if no keyrings are given on the command line. -- Peter Palfrader Mon, 06 Apr 2009 01:35:12 +0200 userdir-ldap (0.3.63) unstable; urgency=low * Print gpg's exit status when it fails. -- Peter Palfrader Mon, 23 Mar 2009 12:39:27 +0100 userdir-ldap (0.3.62) unstable; urgency=low * ud-generate: do not die when building ssh_known_hosts just because a host is not (yet) in DNS. -- Peter Palfrader Fri, 20 Mar 2009 16:35:02 +0100 userdir-ldap (0.3.61) unstable; urgency=low * Gratuitous version increment -- Stephen Gran Sat, 28 Feb 2009 12:42:45 +0000 userdir-ldap (0.3.60) unstable; urgency=low * Stop using string exceptions in ud-mailgate. We should probably stop using them everywhere, but this one is causing bounces, so we'll deal with it first. * Create an exception generator to make it easy to create new types of exceptions. * Actually install the new exceptions module -- Stephen Gran Sat, 28 Feb 2009 12:10:35 +0000 userdir-ldap (0.3.59) unstable; urgency=low * Role accounts may have dnsZoneEntry attributes. * ud-generate: and export dns zones to the zonefile for roleaccounts. * Remove a lie from welcome-message-60000 - not that it's the only one. * Apply patch to welcome-message-800 provided by Sandro Tosi: - some machines/services have been renamed - point to http://wiki.debian.org/MigrateToDDAccount * More tweaks on welcome-message-800. -- Peter Palfrader Wed, 07 Jan 2009 17:13:09 +0100 userdir-ldap (0.3.58) unstable; urgency=low * ud-info: Fix regression from r493: When we log in as admin user and modify another user we got shown that other user but all changes would be made against our own record. -- Peter Palfrader Fri, 19 Dec 2008 09:25:20 +0100 userdir-ldap (0.3.57) unstable; urgency=low * In ud-mailgate use an empty envelope from when sending error messages. -- Peter Palfrader Thu, 18 Dec 2008 10:03:35 +0100 userdir-ldap (0.3.56) unstable; urgency=low * There is a deadlock situation when ud-mailgate gets a mail claiming to be from itself: - ud-mailgate opens and locks the replay cache - verification of the mail fails for whatever reason - a reply is sent (to itself) - exim tries to deliver the mail by directly calling ud-mailgate - ud-mailgate tries to acquire the lock -> deadlock Fix this by changing when we open the replay cache, and unlock it as soon as we are done. -- Peter Palfrader Wed, 17 Dec 2008 12:54:10 +0100 userdir-ldap (0.3.55) unstable; urgency=low [ Joey Schulze ] * Adjust boolean value detection code to use upper case letters in the end. Enable it for all three boolean attributes. Widen tabular display by one character so the description fits again. [ Martin Zobel-Helas ] * Copy new mailSpamOptOut to debianDeveloper accounts as well -- Joey Schulze Sun, 14 Dec 2008 02:55:41 +0100 userdir-ldap (0.3.54) unstable; urgency=low [ Martin Zobel-Helas ] * Add new attribute mailSpamOptOut to turn on/off spam filtering entirely. [ Joey Schulze ] * Add support for this attribute in ud-info taking into account that only boolean values are acceptable. [ Thomas Viehmann ] * ud-generate: Add IPv6 addresses to debianhosts. * ud-info, userdir_ldap.py: remove function getpass and use the one from python standard library getpass. -- Martin Zobel-Helas Sun, 14 Dec 2008 02:22:55 +0100 userdir-ldap (0.3.53) unstable; urgency=low * Properly show shadowlastchange and mail disabled message when locking an account, but not disabling email. It was written to ldap correctly, but we updated the data to display wrongly. * Fix formatting of PGP fingerprints - the double space was always one element too early. * Do not call FinishConfirmSudopassword if we already decided to not commit this change mail because of parse errors. -- Peter Palfrader Mon, 08 Dec 2008 11:39:54 +0100 userdir-ldap (0.3.52) unstable; urgency=low * Remove cruft comment. * Fix group does not exist warning (layout/spacing issues). * call addGroups with the proper number of arguments, when doing so recursively. * Also do the subgroups/transitive stuff dance when considering if a user is in a group for exporting them to a host in the first place. -- Peter Palfrader Sun, 23 Nov 2008 22:09:07 +0100 userdir-ldap (0.3.51) unstable; urgency=low * Update template/welcome-message-800 to match the actual template used on db.debian.org. * Add subgroup support: A group can now have subgroups. This means that if a user is a member of a group he also becomes a member of all its subgroups. E.g. members of a wb-all group will automatically be members of wb-i386, wb-arm, wb-mips, etc. [Luk Claes] * Extend that support so that subgroups work on a per host basis too, so that for instance the debbugs group can be in group maillog@rietz.debian.org. * Add hostnames from the host purpose field to the ssh_known_hosts file [Thomas Viehmann]. -- Peter Palfrader Sun, 23 Nov 2008 21:22:58 +0100 userdir-ldap (0.3.50) unstable; urgency=low * ud-generate: Support $gid@$host supplementary group entries for users. -- Peter Palfrader Sat, 15 Nov 2008 11:20:09 +0100 userdir-ldap (0.3.49) unstable; urgency=low * ud-replicate: Only link ssh-rsa-shadow to var/lib/misc/$host and etc/ssh if it exists. Else remove the symlink. -- Peter Palfrader Fri, 14 Nov 2008 23:14:58 +0100 userdir-ldap (0.3.48) unstable; urgency=low * ud-generate: Remove support for single ssh key shadow file. * ud-generate: Make ssh key tarballs the default. * ud-generate: Move ssh tarball generation into its own function. Currently it's part of the main loop. -- Peter Palfrader Fri, 14 Nov 2008 23:04:21 +0100 userdir-ldap (0.3.47) unstable; urgency=low * Fix a typo on ud-mailgate. -- Peter Palfrader Fri, 14 Nov 2008 20:40:19 +0100 userdir-ldap (0.3.46) unstable; urgency=low * Change the hmac that protect sudopassword entries to also hash the purpose ("sudo") and the owning user's uid into the mac. -- Peter Palfrader Fri, 14 Nov 2008 20:27:38 +0100 userdir-ldap (0.3.45) unstable; urgency=low * ud-generate: Declare [UNTRSUTED] flag as obsolete. * ud-generate: Add [NOMARKERS] flag to not push markers (gps coordinates) to host. * ud-replicate: Use --delete-after with rsync. Previously we didn't delete stuff ever. * ud-replicate: Sync only ssh_known_hosts into chroots, not ssh*. * ud-replicate: Clean up better, correcting some mistakes done by earlier versions. -- Peter Palfrader Sun, 26 Oct 2008 22:31:46 +0100 userdir-ldap (0.3.44) unstable; urgency=low * ud-mailgate: Do not support del requests for sshDSAAuthKey - there is no such attribute. * ud-generate: do not export sudopassword to untrusted or nopasswd hosts, unless the password is explicitly added for this host and not just for '*'. -- Peter Palfrader Fri, 03 Oct 2008 13:23:22 +0200 userdir-ldap (0.3.43) unstable; urgency=low * FQHNs sometimes, well always, include dots. -- Peter Palfrader Tue, 16 Sep 2008 15:07:21 +0200 userdir-ldap (0.3.42) unstable; urgency=low * Export all accounts into sudo-passwd, even if they do not have a sudo password set. Set their password to '*' then. etc/pam.d/sudo should look like this then: auth [authinfo_unavail=ignore success=done ignore=ignore default=die] pam_pwdfile.so pwdfile=/var/lib/misc/thishost/sudo-passwd auth required pam_unix.so nullok_secure try_first_pass @include common-account -- Peter Palfrader Tue, 16 Sep 2008 14:30:41 +0200 userdir-ldap (0.3.41) unstable; urgency=low * ud-generate: lower casing the sudopasswd ldap entry prior to parsing and verifying it was a bad idea. -- Peter Palfrader Mon, 15 Sep 2008 19:26:14 +0200 userdir-ldap (0.3.40) unstable; urgency=low * Reading the hmac key only once is too troublesome. -- Peter Palfrader Mon, 15 Sep 2008 01:12:23 +0200 userdir-ldap (0.3.39) unstable; urgency=low * Lowercasing hashed sudo passwords in ud-mailgate not considered smart. -- Peter Palfrader Mon, 15 Sep 2008 00:40:13 +0200 userdir-ldap (0.3.38) unstable; urgency=low * Fix order of some calls so stuff works again. * And import pwd and os and the hmac crowed in userdir_ldap.py. * Using the right variable name will also help. -- Peter Palfrader Mon, 15 Sep 2008 00:18:37 +0200 userdir-ldap (0.3.37) unstable; urgency=low * ud-mailgate: Do not commit any changes if one of the requests is invalid or could not be parsed or caused an error or anything. * Add sudoPassword to schema, and the slapd.conf/ACL snippet A sudoPassword entry in LDAP has the form of " unconfirmed ", or " confirmed:::")> " * ud-mailgate: Implement confirmation of sudoPassword field: A confirmationation is of the form "confirm sudopassword ::")>" * ud-generate: generate a sudo passwd file -- Peter Palfrader Sun, 14 Sep 2008 23:45:36 +0200 userdir-ldap (0.3.36) unstable; urgency=low * Aha. Error is not some magic variable or exception, it's a normal string that needs defining when we use it. -- Peter Palfrader Sat, 19 Jul 2008 21:35:39 +0200 userdir-ldap (0.3.35) unstable; urgency=low * Check if a key has encryption capabilities and fail saying so when trying to encrypt stuff (like passwords) to users. All this does is give nicer error messages, it previously failed with just "gpg failed". -- Peter Palfrader Sat, 19 Jul 2008 16:17:13 +0200 userdir-ldap (0.3.34) unstable; urgency=low * ud-info: fix changing of DD status/DD status comment - we were missing prompt information so we got a backtrace. * ud-info: Warn when we don't have a prompt string for attributes on startup. * ud-info: Change the "retired" status to "inactive". inactive covers memorial, removed, expelled more clearly. * userdir_gpg.py - do not use SIGEXPIRED, it's deprecated - use EXPKEYSIG to tell if a signature is made by an expired key. - Check that the primary key is not expired, even if we get a GOODSIG status from gnupg. Based on patch by Jeremy T. Bouse. -- Peter Palfrader Tue, 08 Jul 2008 14:33:08 +0200 userdir-ldap (0.3.33) unstable; urgency=low * add "security simple_bind=128" to sample slapd.conf. * ud-info: Only show "Lock account" in root mode. * ud-info: Add "retire developer" option that sets accountStatus properly to either retiring, retired, memorial or active. Active is for all currently active developers, memorial is for those who have passed away and whose accounts will never be reused, retiring is a developer who is retired but still receives mail at their @debian.org address. After a few months they should move on to retired, with their mail also disabled. accountStatus is just a freeform text, but these 4 options should be the only ones that exist. * Allow setting of gender in ud-mailgate. Based on patch by Bernhard R. Link. * Add userdir-ldap-slapd.conf, a snipped to be included in slapd.conf to the package. -- Peter Palfrader Mon, 23 Jun 2008 22:59:02 +0200 userdir-ldap (0.3.32) unstable; urgency=low * Do SSL when connecting to the ldap server. -- Peter Palfrader Fri, 23 May 2008 23:50:03 +0200 userdir-ldap (0.3.31) unstable; urgency=low [ Joerg Jaspert ] * Use sync_keyrings from config file in ud-generate instead of a hardcoded list * Use add_keyrings from config file in ud-useradd instead of a hardcoded list * Use ud-config to get the emailappend value in ud-replicate, no longer hardcoding @debian.org [ Stephen Gran ] * Document how to use unique overlay for uid and keyFingerPrint -- Peter Palfrader Fri, 23 May 2008 10:01:51 +0200 userdir-ldap (0.3.30) unstable; urgency=low * When we touch usePassword in ud-info or ud-mailgate we now also update shadowLastChange. * When we lock accounts, set shadowExpire to 1. shadowExpire is "days since Jan 1, 1970 that account is disabled". * Properly capitalize shadowInactive and shadowExpire attributes in ud-info and ud-generate. * Add copyright statements to ud-info from bzr log. -- Peter Palfrader Thu, 22 May 2008 22:39:10 +0200 userdir-ldap (0.3.29) unstable; urgency=low * ud-info: Add an option "L" to lock accounts in the interactive interface. Locking an account sets a user's password to "{crypt}*LK*" and sets a mailDisableMessage of "account locked". -- Peter Palfrader Thu, 22 May 2008 21:49:19 +0200 userdir-ldap (0.3.28) unstable; urgency=low * ud-generate: Do not disable mail just because the account is locked. -- Peter Palfrader Thu, 22 May 2008 21:38:56 +0200 userdir-ldap (0.3.27) unstable; urgency=low * Export ssh-keys.tar.gz to [UNTRUSTED] hosts. Since we already export ssh-rsa-shadow this is probably the right thing. * Make keys in the ssh-keys tarball mode 0400 instead of mode 0600. -- Peter Palfrader Mon, 19 May 2008 08:55:28 +0200 userdir-ldap (0.3.26) unstable; urgency=low * ud-replicate: sgran pointed out that if all we care about ignoring is EEXIST then we should use mkdir -p instead of [ -d userkeys ] || mkdir userkeys. * ud-mailgate: a bug in DoSSH caused all changes to fail that came after DoSSH in HandleChange. Now DoSSH properly returns without raising an exception if the line to handle is not an ssh public key. * Fix userdir-ldap.schema (objectClass now contains MAY: VoIP). [zobel] -- Peter Palfrader Sun, 18 May 2008 14:27:50 +0200 userdir-ldap (0.3.25) unstable; urgency=low * Make ssh-keys.tar.gz readable only by the user. -- Peter Palfrader Sat, 17 May 2008 16:14:56 +0200 userdir-ldap (0.3.24) unstable; urgency=low * ud-mailgate: better regex for ssh1 keys, which we reject. [joerg, weasel] * ud-replicate: Also support the imposter dchroot-dsa from the debian archive. [aba, weasel] * ud-generate: Add support for generation of authorized_keys file on the db host for the sshdist user. This is now possible since ud-replicate clients use their ssh host key to authenticate to the db server. The code now supports this but the feature is still disabled. [aba] * ud-generate: Add performance optimization by resolving IP adresses for hosts only once and caching the result. [aba] * ud-replicate, ud-generate: In addition to one big ssh-rsa-shadow file ud-generate now produces per-user authorized_keys files and tars them up. On the receiving end ud-replicate takes the tar and syncs it to userkeys/. The goal here is to no longer require a patched sshd. Setting AuthorizedKeysFile2 to /var/lib/misc/userkeys/%u is sufficient. For homedir creation we can use pam_mkhomedir. [mhy, sgran] -- Peter Palfrader Sat, 17 May 2008 14:49:28 +0200 userdir-ldap (0.3.23) unstable; urgency=low * Fix generation of known_hosts file. -- Peter Palfrader Wed, 14 May 2008 17:55:45 +0200 userdir-ldap (0.3.22) unstable; urgency=low * Add VoIP fiels to the LDAP shema and teach ud-info and ud-mailgate about it. [zobel] * Add IPv6-Adresses (and IPv4 in v6 notation - ::ffff:192.0.2.1) to ssh_known_hosts. [aba] * ud-mailgate no longer accepts ssh dss keys, keys with a size smaller than 1024. Additionally it checks new keys against a blacklist of ssh key fingerprints. [joerg] -- Peter Palfrader Wed, 14 May 2008 17:47:45 +0200 userdir-ldap (0.3.21) unstable; urgency=low * ud-replicate: use the host key to sync stuff from the db server, that is, call ssh with ii /etc/ssh/ssh_host_rsa_key. * ud-replicate: Call ssh with -o PreferredAuthentications=publickey so that it does not even try password authentication. -- Peter Palfrader Tue, 13 May 2008 22:06:23 +0200 userdir-ldap (0.3.20) unstable; urgency=low * Teach ud-mailgate about ipv6 addresses (RT#193). * Sanitize DNS entries somewhat before inserting them into LDAP. -- Peter Palfrader Mon, 21 Apr 2008 13:29:36 +0200 userdir-ldap (0.3.19) unstable; urgency=low * New [KEYRING] flag to indicate the debian keyring should be synced to this host. -- Peter Palfrader Fri, 18 Apr 2008 14:33:50 +0200 userdir-ldap (0.3.18) unstable; urgency=low * Various ud-fingerserv fixes. -- Peter Palfrader Thu, 17 Apr 2008 19:48:11 +0200 userdir-ldap (0.3.17) unstable; urgency=low * Calling dh_installdeb before dh_pysupport was probably not the smartest move. Reorder. -- Peter Palfrader Wed, 16 Apr 2008 19:59:42 +0200 userdir-ldap (0.3.16) unstable; urgency=low [ Peter Palfrader ] * Ship userdir-ldap.schema with the package, add a note that it is now version-controlled in bzr on top of the file. * Get rid of debian/conffiles, wich only listed files in /etc anyway. Those files were already being tagged as conffiles by debhelper, resulting in them being listed twice in the resulting binary package. * Change the build dependency on debhelper to be versioned >= 5. * Change Build-Depends-Indep to Build-Depends. * Change the build dependency on python-support to be versioned >= 0.3. * ud-roleadd: Do not try to make role accounts of objectClass inetOrgPerson, that doesn't work. * Add myself to uploaders. * Create /var/lib/misc/thishost as a symlink to the hostname in postinst. * Sleep for a random time, up to two minutes, in ud-replicate when not called interactively. This is to prevent DoSing the db server when many clients come at the same time. [ Mark Hymers ] * ud-userimport, ud-groupadd, ud-roleadd, ud-useradd, userdir_ldap.py: Update ud-userimport to use the same objectClasses as ud-{user,group,role}add and abstract them out into userdir_ldap.py * ud-useradd: Avoid a TypeError exception when constructing the template filename * Remove use of deprecated functions from the string module * ud-arbimport: os.exit -> sys.exit * ud-generate: Set shadow expiry to 1 for locked accounts. * update doc/slapd-config.txt: labeledURL was removed from the schema but not the slapd.conf example. Do that now. * add simple ud-config script for use in shell scripts. This allows querying config values. [ Marc 'HE' Brockschmidt ] * Make the host ud-replicate syncs from configurable in userdir-ldap.conf, instead of hardcoding it into the script. Also introduce a variable containing a shell glob on which no remote sync is needed, so that the db host doesn't need to have a key in the authorized_keys file for the sshdist user * ud-useradd: support usergroups. * ud-host/userdir-ldap.schema: Add 'purpose', 'physicalHost' to debianServer schema and teach ud-host about it * ud-host: cleanup: Replace local copy HBaseDn of the centrally configured HostBaseDn. * ud-generate: Mark that no passwords are exported also in the generated passwd file, not only in the shadow file (by using a "*" as password (meaning "no password"), instead of "x" (meaning "do I look like a passwd from the nineties? Look into /etc/shadow!")). [ Joerg Jaspert ] * Enhance copyright file a bit, also adding a pointer to our repository * Add those utf8 headerlines to mail templates. Same "trick" as used in dak to send utf8 mails for people that need them. Works there - should work here too. [ Stephen Gran ] * ud-fingerserv: implement daemonize() for non-inetd mode. * Packaging cleanup * Use standard debhelper tools * Create all files we ship instead of echoing them into creation at build time * Typo fix in copyright * Update Standards-Version to 3.7.3 (no changes) * Build manpages at build time (add Build-Depend on yodl) * Install built manpages -- Peter Palfrader Wed, 16 Apr 2008 14:10:12 +0200 userdir-ldap (0.3.15) unstable; urgency=low * userdir_gpg.py: fix RT #70 (sub-key support for mail gateway) * change *PK* mechanism to Linux standard ! mechanism, and check for it in the mail gateway for changes, too. * change packaging to make use of python-support, simplyfing scripts greatly. * Remove obsolete ud-killcrypt that wouldn't work with modern ldap anyways. -- Ryan Murray Sun, 12 Aug 2007 13:38:11 -0600 userdir-ldap (0.3.14) unstable; urgency=low * ud-generate: . Establish *PK* as mechanism for locked accounts with mail forwarding intact. No subscription to debian-private though, and no way to log in . Support [NOPASSWD] for generating configs that only don't contain the password for untrusted hosts that should receive the other regular export (patch by Andreas Barth ) * ud-host: . Import the base DN from the configuration file (patch by Andreas Barth ) * ud-roleadd: . Improved admin output * Removed unused and obsolete whrandom module (ud-host, ud-info, ud.py) * Query the LDAP server if no locally defined group with that name was found (userdir_ldap.py, ud-useradd, ud-roleadd) * Preparations for being useful with the version of Python in etch -- Joey Schulze Sat, 11 Aug 2007 22:23:25 +0200 userdir-ldap (0.3.13) unstable; urgency=low * ud-generate: only look for *LK*, not the fingerprint when auto-disabling mail -- Ryan Murray Mon, 15 Jan 2007 16:14:29 -0700 userdir-ldap (0.3.12) unstable; urgency=low * Add dns-sshfp file with DNS SSHFP records for each host. * Add mail-disable file from LDAP mailDisableMessage * Add mail-greylist and mail-callout files from LDAP mailGreylisting and mailCallout * Add mail-rbl, mail-rhsbl, and mail-whitelist files from LDAP, and add support to set them via mailgate * Add support for additional fields to mailgate arbitrary change and delete functions. -- Ryan Murray Thu, 28 Dec 2006 05:14:45 -0700 userdir-ldap (0.3.11) unstable; urgency=low * Add debianhosts file with ip addresses of all hosts. * Don't output bsmtp or DNS entries for accounts without fingerprints. * ud-replicate: - Adjusted symlink path for ssh_known_hosts inside chroot - Use "db" alias for where to rsync from, rather than a hostname (rmurray) - bsmtp handling updated for exim4 (rmurray) * ud-host: - Initialise Host so that -f will print a full list - Display error message and exit properly for wrong arguments - Take better care of unset attributes * userdir_gpg.py: - Removed reference to FCNTL * ud-info - Display error message and exit properly for wrong arguments -- Ryan Murray Sun, 13 Nov 2005 16:42:02 -0700 userdir-ldap (0.3.10) unstable; urgency=low * See cvs log for detailed changes * Fixes to run properly on sarge, and other misc changes. -- Ryan Murray Fri, 14 Oct 2005 21:49:28 -0600 userdir-ldap (0.3.9) unstable; urgency=low * Added an explicit PATH statement to ud-replicate -- Martin Schulze Tue, 25 Jan 2005 10:50:54 +0100 userdir-ldap (0.3.8) stable; urgency=low * ud-replicate: - Update the ssh shadow files in /etc if they don't exist - Corrected the verbosity detection - Only fiddle inside the chroot if the makedb program exist - Fixed path bug - Added support for hosts without imported shadow file * userdir_ldap.py: - Support pressing C-d and C-c - Support for alphanumeric group names - Added passwdAccessLDAP() for wider use by programs * ud-useradd: - Support for mistyped passwords - Support for alphanumerical group ids - Support for no debian-private subscription * ud-host: - Support for -l to list all hosts - Always perform the list output anonymously - Support for -f to list all fingerprints (-h host optional) * ud-info: - Corrected spelling for labeledURI * ud-mailgate: - Corrected spelling for labeledURI - Added support for deleting the d.net entry - Notify users about unsupported SSH1 keys * Added a proper copyright file * Updated welcome-message-800 from newsamosa * userdir_gpg.py: - Preparations for sarge, added --secret-keyring /dev/null * ud-generate: - Generic support for haydn and alioth as [UNTRUSTED] * userdir_gpg.py: - Create ~/.gnupg automagically * ud-roleadd: - New program - Support for creating role accounts (non-DD accounts) -- Martin Schulze Mon, 24 Jan 2005 09:04:00 +0100 userdir-ldap (0.3.7) stable; urgency=low * ud-fingerserv: Corrected the key/fingerprint feature * ud-fingerserv: Added the ICQ UIN * Case sensive LDAP field names for nearly all programs * ud-generate: . Honour locked accounts when writing the shadow file . Hardcode exception for haydn and costa as alioth hosts * ud-mailgate: No access for locked accounts * sigcheck: imported changes from murphy * Added sigcheck to the programs to be installed * Moved the web pages into webwml/db.debian.org * Moved the CGI programs into its own package * ud-replicate: . Added support for user chroot environments . Remove shadow files if they exist . Remove ud-replicate in /usr/local/bin -- Martin Schulze Thu, 18 Nov 2004 19:07:01 +0100 userdir-ldap (0.3.6) unstable; urgency=low * Specify full path to postmap -- Ryan Murray Fri, 26 Sep 2003 11:48:25 -0600 userdir-ldap (0.3.5) unstable; urgency=low * Add depends on rsync * Generate db of debian.org on postfix systems -- Ryan Murray Sat, 30 Aug 2003 18:41:29 -0600 userdir-ldap (0.3.4) unstable; urgency=low * Use the right python version in the maintainer scripts -- Ryan Murray Tue, 18 Mar 2003 19:26:31 -0700 userdir-ldap (0.3.3) unstable; urgency=low * Rebuild for python2.1 and woody -- Ryan Murray Wed, 12 Mar 2003 21:30:12 -0700 userdir-ldap (0.3.2) unstable; urgency=low * Seperation of bsmtp and zoneupdate -- Ryan Murray Thu, 8 Aug 2002 12:07:00 -0700 userdir-ldap (0.3.1) unstable; urgency=low * Add ud-zoneupdate from klecker's /usr/local/bin -- Ryan Murray Tue, 6 Aug 2002 22:42:05 -0700 userdir-ldap (0.3) unstable; urgency=low * Only use sshrsa{host,}key variable, and store all three types of keys in that attribute. -- Jason Gunthrope Sun, 2 Dec 2001 20:21:26 -0800 userdir-ldap (0.2) unstable; urgency=low * What the hey, a new version number. -- Jason Gunthrope Sun, 11 Feb 2001 18:37:27 -0800 userdir-ldap (0.1) unstable; urgency=low * Initial Packaging -- Jason Gunthrope Fri, 30 Apr 1999 00:39:31 -0600