-userdir-ldap (0.3.XX) unstable; urgency=low
+userdir-ldap (0.3.XXX) UNRELEASED; 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.
+
+ [ Stephen Gran ]
+ * Fix deprecation warnings for sha module by using hashlib module instead
+ * ud-fingerserv: update Net::LDAP import
+
+ -- Peter Palfrader <weasel@debian.org> Thu, 29 Dec 2011 21:54:54 +0100
+
+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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <helmut@subdivi.de>:
+ 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 <sgran@debian.org> 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 <sgran@debian.org> 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 <sgran@debian.org> 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 <weasel@debian.org> 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 <sgran@debian.org> 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 <sgran@debian.org> 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 <sgran@debian.org> Sun, 09 Aug 2009 16:10:35 +0000
+
+userdir-ldap (0.3.69) unstable; urgency=low
+
+ * Make ud-host do allowedGroups, exportOptions.
+
+ -- Peter Palfrader <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> Fri, 20 Mar 2009 16:35:02 +0100
+
+userdir-ldap (0.3.61) unstable; urgency=low
+
+ * Gratuitous version increment
+
+ -- Stephen Gran <sgran@debian.org> 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 <sgran@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <joey@infodrom.org> 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 <zobel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> Fri, 14 Nov 2008 23:04:21 +0100
+
+userdir-ldap (0.3.47) unstable; urgency=low
+
+ * Fix a typo on ud-mailgate.
+
+ -- Peter Palfrader <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> Fri, 03 Oct 2008 13:23:22 +0200
+
+userdir-ldap (0.3.43) unstable; urgency=low
+
+ * FQHNs sometimes, well always, include dots.
+
+ -- Peter Palfrader <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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
+ "<uuid> unconfirmed <hostlist> <cryptedpassword>", or
+ "<uuid> confirmed:<hmac_sha1("password-is-confirmed:<uuid>:<hosts>:<cryptedpass>")> <hostlist> <cryptedpassword>"
+ * ud-mailgate: Implement confirmation of sudoPassword field:
+ A confirmationation is of the form
+ "confirm sudopassword <uuid> <hostlist> <hmac_sha1("confirm-new-password:<uuid>:<hosts>:<cryptedpass>")>"
+ * ud-generate: generate a sudo passwd file
+
+ -- Peter Palfrader <weasel@debian.org> 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 <weasel@debian.org> 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 <weasel@debian.org> 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.
- 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 <weasel@debian.org> Tue, 08 Jul 2008 14:27:26 +0200
+ -- Peter Palfrader <weasel@debian.org> Tue, 08 Jul 2008 14:33:08 +0200
userdir-ldap (0.3.33) unstable; urgency=low