1 userdir-ldap (0.3.80) UNRELEASED; urgency=low
4 * some ud-echelon fixes,
5 * userdir_gpg.py: GetClearSig: add lax_multipart to deal
6 with random multipart mails.
7 * naming your variable like a module is unsmart.
9 - filter on shadowAccount.
10 - fix breaking old ud-generate locks.
11 * ud-mailgate: only run ldapmodfiy if we actually have attributes to modify.
13 - do not hard-code 'debian.org' in the 'write-zonefile debian.org' call,
14 but instead re-use the domain from email-append.
15 - now preserve server side modifcation times when rsyncing data.
16 * userdir_ldap.py: read auth password from environment if set.
17 * Introduce BaseBaseDN which is the real base dn. BaseDN itself
18 has historically been used as the root of the user tree.
19 * Allow a set of users to be ignored for picking UIDs.
20 * When picking uid/gid numbers try to pick the same number for both.
21 * Merge from torproject.org:
22 - Allow sshRSAAuthKey for role accounts.
23 - Support ssh key attributes for gitolite export.
24 - Add ssh-gitolite support.
25 * debianGroups may have cn attribute (helpful when putting samba stuff into
27 * ud-mailgate: Do not try to do an ldap modify with no changes - now show
28 command to changes@ should work again.
29 * ud-generate: No longer expand $ in dnsZoneEntry data to a \n\t.
30 * ud-generate: Move code into getLastBuildTime() and getLastLDAPChangeTime()
32 * ud-generate: Add -f option to build even if cache is current.
33 * ud-generate: Move main code into a ud_generate()
34 * ud-generate: speed improvements:
35 - cut down on calls to IsInGroup by doing it once in generate_host()
36 and not having the individual generators run it.
37 o side effect: Up until now we exported empty groups to a host, if
38 that group had a user with that group as their primary group - even
39 if that particular user was not exported to this this. No we no
40 longer export empty groups.
41 - speed up ssh tarball generation: No longer write indidividual user's ssh
42 authorized_keys to disk, only to read them later. Directly create a
43 TarInfo object without referring to any on-disk files.
44 - get rid of global state variable CurrentHost. This will enable upcoming
46 - UDLdap.py: make a cache for __getitem__() decisions.
47 - wrap cdbmake calls in eatmydata. Nothing else does any fsync stuff,
48 so doing it here just costs a lot.
49 * ud-generate: Use a flock() lock instead of python's lockfile class.
50 * ud-generate: The ssh authorized_keys file for the sshdist user now wraps
51 the rsync call in an flock wrapper that acquires a shared lock on
52 ud-generate's lock. This prevents syncing while ud-generate runs.
53 * ud-lock: support supplying a status to set instead of 'retiring'.
54 * ud-generate: Also rebuild if one of our keyrings has changed, even if
58 * Fix deprecation warnings for sha module by using hashlib module instead
59 * ud-fingerserv: update Net::LDAP import
60 * Implement audit logging for ldap
61 * stop running ud-generate if nothing has changed, based on audit logs
63 [ Martin Zobel-Helas ]
64 * ud-generate: generate webPasswords
65 * ud-replicate: set correct permissions for web-passwords
66 * add freecdb to depends
69 - add mailPreserveSuffixSeperator
72 * userdir-ldap-slapd.conf.in: explicitly list readable attributes.
75 -- Peter Palfrader <weasel@debian.org> Mon, 14 May 2012 18:45:07 +0200
77 userdir-ldap (0.3.79) unstable; urgency=low
79 * Add ud-sync-accounts-to-afs, a script to sync accounts to an
80 AFS protection database.
82 - support host ACLs that expire.
83 - lock output directory when generating.
84 - support sync keyring dirs now too.
85 * ud-useradd: A new -g switch for adding guest accounts, with
86 proper setting hostacls and shadowexpire and picking the
88 * Remove .pgp (v3 pgp key) keyrings from config.
89 * Update guest welcome template.
90 * ud-gpgimport: handle guest keyrings.
92 - Make updating of gender actually work.
93 - Do not mess with sudo passwords if nothing changed.
94 * templates/change-reply: say a word about subjects in mail to admin@db.
95 * move gpgwrapper to unmaintained/ - it is now using obsolete interfaces.
96 * try to properly handle some more mime stuff.
97 - use email module instead of deprecated mimetools and multifile modules
98 - changes: sigcheck ud-echelon ud-mailgate userdir_gpg.py
99 * move ud-echelon and sigcheck to GPGCheckSig2 interface.
101 -- Peter Palfrader <weasel@debian.org> Sat, 21 May 2011 14:53:18 +0200
103 userdir-ldap (0.3.78) unstable; urgency=low
105 * Start refactoring ud-generate:
106 - If environment variables UD_CREDENTIALS, UD_GENERATEDIR, UD_HMAC_KEY
107 are set, use their respective value instead of the default. This
108 makes it possible to run ud-generate as a non-privileged user for
110 - Start wrapping ldap search results in classes. For now we have done
111 this with just an ldap account.
112 - Also got rid of the global PasswdAttrs variable. Now functions
113 get the account list (now a list of Account classes instead of
114 ldap result array of tuples of hashes) passed to them like well-behaved
116 * userdir-ldap-slapd.conf: Fix ACL rule for keyring maintainers
117 (we want group=..., not dn=...).
118 * Add ud-krb-reset, and make ud-mailgate call it when
119 receiving a mail at chpasswd@ saying
120 'Please change my Kerberos password'.
121 * ud-generate: Add an extra output file called all-users.json that
122 can be used on one of the AFS hosts to create afs users.
124 -- Peter Palfrader <weasel@debian.org> Mon, 13 Sep 2010 19:08:34 +0200
126 userdir-ldap (0.3.77) unstable; urgency=low
129 * ud-mailgate: Remove a global declaration after a variable has
130 already been assigned globally.
131 * ud-mailgate: We use the result of the pgp check for quite a long
132 time in the main program. Give it its own variable instead of
133 using Res which was overwritten a bit later. Also make a new
134 gpgcheck2 class that allows us to access the values of the gpg
135 signature check in a saner way.
136 * ud-gpgimport: Get rid of "0x" when printing keyids/fingerprints.
138 * Fix a typo in welcome-message-800 noticed by Tommi Vainikainen.
139 * Refactor the LDAP acls to be easier to manage.
141 - Keyring Maintainers ldap group gets to write to the keyFingerPrint
143 - sshrsaauthkey is no longer compareable by *.
144 * ud-generate: refuse to run as root.
147 * Add txt record support to ud-mailgate
148 * Clean up addition of identifying txt records to debian.net slightly
150 -- Peter Palfrader <weasel@debian.org> Fri, 30 Jul 2010 19:46:48 +0200
152 userdir-ldap (0.3.76) unstable; urgency=low
155 * ud-generate: Export groups even if nobody has that group as a
156 supplementary group, as long as there are users that have it as a primary
158 * ud-useradd: If we do not have a template for a specific group, use the
159 general purpose template file (welcome-message).
160 * ud-useradd: Fix usergroup support:
161 - Move ldap call to actually add the user to the right place,
162 - Properly compare strings and numbers.
163 * ud-useradd: Only ask for private subscription if this installation
164 has a debian-private like mailinglist whose membership is configured
165 by ud-ldap. (defaults to true.)
166 * Fix welcome-message to be like welcome-message-800 and 60000 wrt
168 * ud-useradd: Properly encode realname in subjects and to header lines
169 regardless of which template is being used.
170 * ud-generate: move the regex that determines whether or not to include
171 a host in the dns-sshfp zone snippet (for SSHFP and A, AAAA and MX
172 records) to the config file.
173 * Include a host in DNS even if we do not have both ssh keys and an
174 arch for that host configured.
177 * Add patches from Helmut Grohne <helmut@subdivi.de>:
178 Allow ssh keys to be exported only to specific hosts by prefixing them
179 with allowed_hosts=[host1[,host2 ...]]] when adding them using
182 -- Stephen Gran <sgran@debian.org> Sat, 30 Jan 2010 13:33:40 +0000
184 userdir-ldap (0.3.75) unstable; urgency=low
186 * Enable support for mailDefaultOptions
187 * Make a stab at really not exporting empty groups.
189 -- Stephen Gran <sgran@debian.org> Mon, 16 Nov 2009 21:36:53 +0000
191 userdir-ldap (0.3.74) unstable; urgency=low
194 * ud-generate: Make sure we only add people in gid 800 to debian-private.
195 (DebianUsers was just a copy of PasswdAttrs. So use PasswdAttrs in
196 all the places that currently use DebianUsers. Make a filtered list
197 DebianDDUsers (accounts in gid 800), and use that for building the
198 debian-private subscription list.)
199 * welcome-message-60000: improve wording of a sentence. Sometimes less
203 * Initial support for BATV token storage.
204 * generate a new file for mail forwards for users present on this machine
206 -- Stephen Gran <sgran@debian.org> Sun, 15 Nov 2009 11:54:41 +0000
208 userdir-ldap (0.3.73) unstable; urgency=low
210 * Add dnsTTL host attribute to override the zone default TTL
211 for A and AAAA records. Also for MX, HINFO and SSHFP.
213 -- Peter Palfrader <weasel@debian.org> Sun, 18 Oct 2009 12:38:51 +0200
215 userdir-ldap (0.3.72) unstable; urgency=low
218 * ud-useradd: Allow unsetting of middle names by entering a space.
219 * userdir-ldap.conf: Add debian-maintainers.gpg to keyrings and
221 * ud-useradd: force gidNumber to be an int when we open the welcome
222 template (it can be different when we read it from input using -n).
223 * Tweak templates/welcome-message-60000.
224 * ud-generate: don't blow up when a host does not have IP-addresses.
225 * We autogenerate the authorized_keys files for sshdist on db-master.
226 It limits the hosts' ssh key to coming from their respective addresses.
227 Now we can add additional source addresses to accept for this since
228 not all hosts appear to come from their published address (or have
229 a published address for that matter).
232 * Make zone reloads work when ud-generate updates zone files
234 -- Stephen Gran <sgran@debian.org> Mon, 05 Oct 2009 00:54:43 +0100
236 userdir-ldap (0.3.71) unstable; urgency=low
238 * Enable autogeneration of DNS records for .d.o hosts
240 -- Stephen Gran <sgran@debian.org> Sun, 23 Aug 2009 12:50:01 +0000
242 userdir-ldap (0.3.70) unstable; urgency=low
244 * Enable autogeneration of sshdist's authorized_keys file
246 -- Stephen Gran <sgran@debian.org> Sun, 09 Aug 2009 16:10:35 +0000
248 userdir-ldap (0.3.69) unstable; urgency=low
250 * Make ud-host do allowedGroups, exportOptions.
252 -- Peter Palfrader <weasel@debian.org> Thu, 23 Jul 2009 22:52:08 +0200
254 userdir-ldap (0.3.68) unstable; urgency=low
256 * userdir-ldap.conf: localsyncon = "*draghi*"
257 * userdir-ldap-slapd.conf.in: database hdb
258 * schema: allowedGroups, exportOptions attribute for servers
259 * Move away from generate.conf and use the information provided in
262 -- Peter Palfrader <weasel@debian.org> Thu, 23 Jul 2009 22:32:44 +0200
264 userdir-ldap (0.3.67) unstable; urgency=low
267 * ud-replicate no longer uses localsyncon=*samosa*.
268 * ud-generate cleanup:
269 - general code tidy (whitespace, semi-colons, python idioms)
270 - loop cleanup, so that fewer redundant checks are done
271 - split groups up so mail is only handled for gid Debian
272 - Stop exporting information about retired developers
273 - Stop exporting locked accounts
274 - begin cleanup of use of string exceptions
277 * .debian.net DNS creates BSMTP maps for MX 0 master in addition to gluck.
278 * .debian.net DNS no longer creates BSMTP maps for MX 0 gluck.
279 * Remove mailSpamOptOut ldap attribute - it isn't used anywhere.
280 * schema, ud-info, ud-mailgate, ud-generate: Add mailContentInspectionAction
281 attribute. Possible values are reject, blackhole and markup.
283 -- Peter Palfrader <weasel@debian.org> Tue, 14 Jul 2009 11:02:27 +0200
285 userdir-ldap (0.3.66) unstable; urgency=low
287 * We would previously ignore purpose hosts for ssh known hosts purposes
288 if the service name would not start the purpose field. Fix this.
290 -- Peter Palfrader <weasel@debian.org> Fri, 01 May 2009 17:10:05 +0200
292 userdir-ldap (0.3.65) unstable; urgency=low
294 * userdir-ldap.conf: remove from default keyrings:
295 - /home/jgg/keys/extrakeys.gpg
296 - /home/jgg/keys/guest-keys.gpg
298 -- Peter Palfrader <weasel@debian.org> Mon, 06 Apr 2009 01:40:37 +0200
300 userdir-ldap (0.3.64) unstable; urgency=low
302 * userdir-ldap.conf: add keyring.pgp to default add_keyrings.
303 * userdir_gpg.py: add a ClearKeyrings().
304 * ud-gpgimport: work on add_keyrings if no keyrings are given on the
307 -- Peter Palfrader <weasel@debian.org> Mon, 06 Apr 2009 01:35:12 +0200
309 userdir-ldap (0.3.63) unstable; urgency=low
311 * Print gpg's exit status when it fails.
313 -- Peter Palfrader <weasel@debian.org> Mon, 23 Mar 2009 12:39:27 +0100
315 userdir-ldap (0.3.62) unstable; urgency=low
317 * ud-generate: do not die when building ssh_known_hosts
318 just because a host is not (yet) in DNS.
320 -- Peter Palfrader <weasel@debian.org> Fri, 20 Mar 2009 16:35:02 +0100
322 userdir-ldap (0.3.61) unstable; urgency=low
324 * Gratuitous version increment
326 -- Stephen Gran <sgran@debian.org> Sat, 28 Feb 2009 12:42:45 +0000
328 userdir-ldap (0.3.60) unstable; urgency=low
330 * Stop using string exceptions in ud-mailgate. We should probably stop
331 using them everywhere, but this one is causing bounces, so we'll deal with
333 * Create an exception generator to make it easy to create new types of
335 * Actually install the new exceptions module
337 -- Stephen Gran <sgran@debian.org> Sat, 28 Feb 2009 12:10:35 +0000
339 userdir-ldap (0.3.59) unstable; urgency=low
341 * Role accounts may have dnsZoneEntry attributes.
342 * ud-generate: and export dns zones to the zonefile for roleaccounts.
343 * Remove a lie from welcome-message-60000 - not that it's the only one.
344 * Apply patch to welcome-message-800 provided by Sandro Tosi:
345 - some machines/services have been renamed
346 - point to http://wiki.debian.org/MigrateToDDAccount
347 * More tweaks on welcome-message-800.
349 -- Peter Palfrader <weasel@debian.org> Wed, 07 Jan 2009 17:13:09 +0100
351 userdir-ldap (0.3.58) unstable; urgency=low
353 * ud-info: Fix regression from r493: When we log in as admin user and modify
354 another user we got shown that other user but all changes would be made
355 against our own record.
357 -- Peter Palfrader <weasel@debian.org> Fri, 19 Dec 2008 09:25:20 +0100
359 userdir-ldap (0.3.57) unstable; urgency=low
361 * In ud-mailgate use an empty envelope from when sending error messages.
363 -- Peter Palfrader <weasel@debian.org> Thu, 18 Dec 2008 10:03:35 +0100
365 userdir-ldap (0.3.56) unstable; urgency=low
367 * There is a deadlock situation when ud-mailgate gets a mail claiming
369 - ud-mailgate opens and locks the replay cache
370 - verification of the mail fails for whatever reason
371 - a reply is sent (to itself)
372 - exim tries to deliver the mail by directly calling ud-mailgate
373 - ud-mailgate tries to acquire the lock -> deadlock
374 Fix this by changing when we open the replay cache, and unlock it
375 as soon as we are done.
377 -- Peter Palfrader <weasel@debian.org> Wed, 17 Dec 2008 12:54:10 +0100
379 userdir-ldap (0.3.55) unstable; urgency=low
382 * Adjust boolean value detection code to use upper case letters in the
383 end. Enable it for all three boolean attributes. Widen tabular
384 display by one character so the description fits again.
385 [ Martin Zobel-Helas ]
386 * Copy new mailSpamOptOut to debianDeveloper accounts as well
388 -- Joey Schulze <joey@infodrom.org> Sun, 14 Dec 2008 02:55:41 +0100
390 userdir-ldap (0.3.54) unstable; urgency=low
392 [ Martin Zobel-Helas ]
393 * Add new attribute mailSpamOptOut to turn on/off spam filtering
396 * Add support for this attribute in ud-info taking into account that
397 only boolean values are acceptable.
399 * ud-generate: Add IPv6 addresses to debianhosts.
400 * ud-info, userdir_ldap.py: remove function getpass and use the one
401 from python standard library getpass.
403 -- Martin Zobel-Helas <zobel@debian.org> Sun, 14 Dec 2008 02:22:55 +0100
405 userdir-ldap (0.3.53) unstable; urgency=low
407 * Properly show shadowlastchange and mail disabled message when
408 locking an account, but not disabling email. It was written to
409 ldap correctly, but we updated the data to display wrongly.
410 * Fix formatting of PGP fingerprints - the double space was always
411 one element too early.
412 * Do not call FinishConfirmSudopassword if we already decided to
413 not commit this change mail because of parse errors.
415 -- Peter Palfrader <weasel@debian.org> Mon, 08 Dec 2008 11:39:54 +0100
417 userdir-ldap (0.3.52) unstable; urgency=low
419 * Remove cruft comment.
420 * Fix group does not exist warning (layout/spacing issues).
421 * call addGroups with the proper number of arguments, when doing so
423 * Also do the subgroups/transitive stuff dance when considering
424 if a user is in a group for exporting them to a host in the
427 -- Peter Palfrader <weasel@debian.org> Sun, 23 Nov 2008 22:09:07 +0100
429 userdir-ldap (0.3.51) unstable; urgency=low
431 * Update template/welcome-message-800 to match the actual template used
433 * Add subgroup support: A group can now have subgroups. This means
434 that if a user is a member of a group he also becomes a member of
435 all its subgroups. E.g. members of a wb-all group will automatically
436 be members of wb-i386, wb-arm, wb-mips, etc. [Luk Claes]
437 * Extend that support so that subgroups work on a per host basis too,
438 so that for instance the debbugs group can be in group
439 maillog@rietz.debian.org.
440 * Add hostnames from the host purpose field to the ssh_known_hosts
441 file [Thomas Viehmann].
443 -- Peter Palfrader <weasel@debian.org> Sun, 23 Nov 2008 21:22:58 +0100
445 userdir-ldap (0.3.50) unstable; urgency=low
447 * ud-generate: Support $gid@$host supplementary group entries for users.
449 -- Peter Palfrader <weasel@debian.org> Sat, 15 Nov 2008 11:20:09 +0100
451 userdir-ldap (0.3.49) unstable; urgency=low
453 * ud-replicate: Only link ssh-rsa-shadow to var/lib/misc/$host and etc/ssh
454 if it exists. Else remove the symlink.
456 -- Peter Palfrader <weasel@debian.org> Fri, 14 Nov 2008 23:14:58 +0100
458 userdir-ldap (0.3.48) unstable; urgency=low
460 * ud-generate: Remove support for single ssh key shadow file.
461 * ud-generate: Make ssh key tarballs the default.
462 * ud-generate: Move ssh tarball generation into its own function.
463 Currently it's part of the main loop.
465 -- Peter Palfrader <weasel@debian.org> Fri, 14 Nov 2008 23:04:21 +0100
467 userdir-ldap (0.3.47) unstable; urgency=low
469 * Fix a typo on ud-mailgate.
471 -- Peter Palfrader <weasel@debian.org> Fri, 14 Nov 2008 20:40:19 +0100
473 userdir-ldap (0.3.46) unstable; urgency=low
475 * Change the hmac that protect sudopassword entries to also
476 hash the purpose ("sudo") and the owning user's uid into
479 -- Peter Palfrader <weasel@debian.org> Fri, 14 Nov 2008 20:27:38 +0100
481 userdir-ldap (0.3.45) unstable; urgency=low
483 * ud-generate: Declare [UNTRSUTED] flag as obsolete.
484 * ud-generate: Add [NOMARKERS] flag to not push markers (gps coordinates) to host.
485 * ud-replicate: Use --delete-after with rsync. Previously we didn't delete
487 * ud-replicate: Sync only ssh_known_hosts into chroots, not ssh*.
488 * ud-replicate: Clean up better, correcting some mistakes done by earlier
491 -- Peter Palfrader <weasel@debian.org> Sun, 26 Oct 2008 22:31:46 +0100
493 userdir-ldap (0.3.44) unstable; urgency=low
495 * ud-mailgate: Do not support del requests for sshDSAAuthKey - there is no
497 * ud-generate: do not export sudopassword to untrusted or nopasswd hosts,
498 unless the password is explicitly added for this host and not just for '*'.
500 -- Peter Palfrader <weasel@debian.org> Fri, 03 Oct 2008 13:23:22 +0200
502 userdir-ldap (0.3.43) unstable; urgency=low
504 * FQHNs sometimes, well always, include dots.
506 -- Peter Palfrader <weasel@debian.org> Tue, 16 Sep 2008 15:07:21 +0200
508 userdir-ldap (0.3.42) unstable; urgency=low
510 * Export all accounts into sudo-passwd, even if they
511 do not have a sudo password set. Set their password to '*' then.
512 etc/pam.d/sudo should look like this then:
513 auth [authinfo_unavail=ignore success=done ignore=ignore default=die] pam_pwdfile.so pwdfile=/var/lib/misc/thishost/sudo-passwd
514 auth required pam_unix.so nullok_secure try_first_pass
515 @include common-account
517 -- Peter Palfrader <weasel@debian.org> Tue, 16 Sep 2008 14:30:41 +0200
519 userdir-ldap (0.3.41) unstable; urgency=low
521 * ud-generate: lower casing the sudopasswd ldap entry prior to parsing
522 and verifying it was a bad idea.
524 -- Peter Palfrader <weasel@debian.org> Mon, 15 Sep 2008 19:26:14 +0200
526 userdir-ldap (0.3.40) unstable; urgency=low
528 * Reading the hmac key only once is too troublesome.
530 -- Peter Palfrader <weasel@debian.org> Mon, 15 Sep 2008 01:12:23 +0200
532 userdir-ldap (0.3.39) unstable; urgency=low
534 * Lowercasing hashed sudo passwords in ud-mailgate not considered smart.
536 -- Peter Palfrader <weasel@debian.org> Mon, 15 Sep 2008 00:40:13 +0200
538 userdir-ldap (0.3.38) unstable; urgency=low
540 * Fix order of some calls so stuff works again.
541 * And import pwd and os and the hmac crowed in userdir_ldap.py.
542 * Using the right variable name will also help.
544 -- Peter Palfrader <weasel@debian.org> Mon, 15 Sep 2008 00:18:37 +0200
546 userdir-ldap (0.3.37) unstable; urgency=low
548 * ud-mailgate: Do not commit any changes if one of the requests is invalid
549 or could not be parsed or caused an error or anything.
550 * Add sudoPassword to schema, and the slapd.conf/ACL snippet
551 A sudoPassword entry in LDAP has the form of
552 "<uuid> unconfirmed <hostlist> <cryptedpassword>", or
553 "<uuid> confirmed:<hmac_sha1("password-is-confirmed:<uuid>:<hosts>:<cryptedpass>")> <hostlist> <cryptedpassword>"
554 * ud-mailgate: Implement confirmation of sudoPassword field:
555 A confirmationation is of the form
556 "confirm sudopassword <uuid> <hostlist> <hmac_sha1("confirm-new-password:<uuid>:<hosts>:<cryptedpass>")>"
557 * ud-generate: generate a sudo passwd file
559 -- Peter Palfrader <weasel@debian.org> Sun, 14 Sep 2008 23:45:36 +0200
561 userdir-ldap (0.3.36) unstable; urgency=low
563 * Aha. Error is not some magic variable or exception, it's a
564 normal string that needs defining when we use it.
566 -- Peter Palfrader <weasel@debian.org> Sat, 19 Jul 2008 21:35:39 +0200
568 userdir-ldap (0.3.35) unstable; urgency=low
570 * Check if a key has encryption capabilities and fail saying so when
571 trying to encrypt stuff (like passwords) to users. All this does is
572 give nicer error messages, it previously failed with just "gpg failed".
574 -- Peter Palfrader <weasel@debian.org> Sat, 19 Jul 2008 16:17:13 +0200
576 userdir-ldap (0.3.34) unstable; urgency=low
578 * ud-info: fix changing of DD status/DD status comment -
579 we were missing prompt information so we got a backtrace.
580 * ud-info: Warn when we don't have a prompt string for
581 attributes on startup.
582 * ud-info: Change the "retired" status to "inactive".
583 inactive covers memorial, removed, expelled more clearly.
585 - do not use SIGEXPIRED, it's deprecated
586 - use EXPKEYSIG to tell if a signature is made by an expired key.
587 - Check that the primary key is not expired, even if we get a
588 GOODSIG status from gnupg. Based on patch by Jeremy T. Bouse.
590 -- Peter Palfrader <weasel@debian.org> Tue, 08 Jul 2008 14:33:08 +0200
592 userdir-ldap (0.3.33) unstable; urgency=low
594 * add "security simple_bind=128" to sample slapd.conf.
595 * ud-info: Only show "Lock account" in root mode.
596 * ud-info: Add "retire developer" option that sets
597 accountStatus properly to either retiring, retired, memorial
598 or active. Active is for all currently active developers,
599 memorial is for those who have passed away and whose accounts
600 will never be reused, retiring is a developer who is retired
601 but still receives mail at their @debian.org address. After
602 a few months they should move on to retired, with their mail
603 also disabled. accountStatus is just a freeform text, but
604 these 4 options should be the only ones that exist.
605 * Allow setting of gender in ud-mailgate. Based on patch by Bernhard
607 * Add userdir-ldap-slapd.conf, a snipped to be included in slapd.conf
610 -- Peter Palfrader <weasel@debian.org> Mon, 23 Jun 2008 22:59:02 +0200
612 userdir-ldap (0.3.32) unstable; urgency=low
614 * Do SSL when connecting to the ldap server.
616 -- Peter Palfrader <weasel@debian.org> Fri, 23 May 2008 23:50:03 +0200
618 userdir-ldap (0.3.31) unstable; urgency=low
621 * Use sync_keyrings from config file in ud-generate instead of a
623 * Use add_keyrings from config file in ud-useradd instead of a
625 * Use ud-config to get the emailappend value in ud-replicate, no longer
626 hardcoding @debian.org
629 * Document how to use unique overlay for uid and keyFingerPrint
631 -- Peter Palfrader <weasel@debian.org> Fri, 23 May 2008 10:01:51 +0200
633 userdir-ldap (0.3.30) unstable; urgency=low
635 * When we touch usePassword in ud-info or ud-mailgate we now also
636 update shadowLastChange.
637 * When we lock accounts, set shadowExpire to 1. shadowExpire
638 is "days since Jan 1, 1970 that account is disabled".
639 * Properly capitalize shadowInactive and shadowExpire attributes in
640 ud-info and ud-generate.
641 * Add copyright statements to ud-info from bzr log.
643 -- Peter Palfrader <weasel@debian.org> Thu, 22 May 2008 22:39:10 +0200
645 userdir-ldap (0.3.29) unstable; urgency=low
647 * ud-info: Add an option "L" to lock accounts in the interactive
648 interface. Locking an account sets a user's password to "{crypt}*LK*"
649 and sets a mailDisableMessage of "account locked".
651 -- Peter Palfrader <weasel@debian.org> Thu, 22 May 2008 21:49:19 +0200
653 userdir-ldap (0.3.28) unstable; urgency=low
655 * ud-generate: Do not disable mail just because the account is locked.
657 -- Peter Palfrader <weasel@debian.org> Thu, 22 May 2008 21:38:56 +0200
659 userdir-ldap (0.3.27) unstable; urgency=low
661 * Export ssh-keys.tar.gz to [UNTRUSTED] hosts. Since we already export
662 ssh-rsa-shadow this is probably the right thing.
663 * Make keys in the ssh-keys tarball mode 0400 instead of mode 0600.
665 -- Peter Palfrader <weasel@debian.org> Mon, 19 May 2008 08:55:28 +0200
667 userdir-ldap (0.3.26) unstable; urgency=low
669 * ud-replicate: sgran pointed out that if all we care about ignoring is
670 EEXIST then we should use mkdir -p instead of [ -d userkeys ] || mkdir
672 * ud-mailgate: a bug in DoSSH caused all changes to fail that came after
673 DoSSH in HandleChange. Now DoSSH properly returns without raising an
674 exception if the line to handle is not an ssh public key.
675 * Fix userdir-ldap.schema (objectClass now contains MAY: VoIP). [zobel]
677 -- Peter Palfrader <weasel@debian.org> Sun, 18 May 2008 14:27:50 +0200
679 userdir-ldap (0.3.25) unstable; urgency=low
681 * Make ssh-keys.tar.gz readable only by the user.
683 -- Peter Palfrader <weasel@debian.org> Sat, 17 May 2008 16:14:56 +0200
685 userdir-ldap (0.3.24) unstable; urgency=low
687 * ud-mailgate: better regex for ssh1 keys, which we reject. [joerg, weasel]
688 * ud-replicate: Also support the imposter dchroot-dsa from the debian
689 archive. [aba, weasel]
690 * ud-generate: Add support for generation of authorized_keys file on
691 the db host for the sshdist user. This is now possible since
692 ud-replicate clients use their ssh host key to authenticate to the
693 db server. The code now supports this but the feature is still
695 * ud-generate: Add performance optimization by resolving IP adresses
696 for hosts only once and caching the result. [aba]
697 * ud-replicate, ud-generate: In addition to one big ssh-rsa-shadow file
698 ud-generate now produces per-user authorized_keys files and tars
699 them up. On the receiving end ud-replicate takes the tar and
700 syncs it to userkeys/. The goal here is to no longer require
701 a patched sshd. Setting AuthorizedKeysFile2 to
702 /var/lib/misc/userkeys/%u is sufficient. For homedir creation
703 we can use pam_mkhomedir. [mhy, sgran]
705 -- Peter Palfrader <weasel@debian.org> Sat, 17 May 2008 14:49:28 +0200
707 userdir-ldap (0.3.23) unstable; urgency=low
709 * Fix generation of known_hosts file.
711 -- Peter Palfrader <weasel@debian.org> Wed, 14 May 2008 17:55:45 +0200
713 userdir-ldap (0.3.22) unstable; urgency=low
715 * Add VoIP fiels to the LDAP shema and teach ud-info and ud-mailgate
717 * Add IPv6-Adresses (and IPv4 in v6 notation - ::ffff:192.0.2.1) to
718 ssh_known_hosts. [aba]
719 * ud-mailgate no longer accepts ssh dss keys, keys with a size smaller
720 than 1024. Additionally it checks new keys against a blacklist of
721 ssh key fingerprints. [joerg]
723 -- Peter Palfrader <weasel@debian.org> Wed, 14 May 2008 17:47:45 +0200
725 userdir-ldap (0.3.21) unstable; urgency=low
727 * ud-replicate: use the host key to sync stuff from the db server,
728 that is, call ssh with ii /etc/ssh/ssh_host_rsa_key.
729 * ud-replicate: Call ssh with -o PreferredAuthentications=publickey
730 so that it does not even try password authentication.
732 -- Peter Palfrader <weasel@debian.org> Tue, 13 May 2008 22:06:23 +0200
734 userdir-ldap (0.3.20) unstable; urgency=low
736 * Teach ud-mailgate about ipv6 addresses (RT#193).
737 * Sanitize DNS entries somewhat before inserting them into LDAP.
739 -- Peter Palfrader <weasel@debian.org> Mon, 21 Apr 2008 13:29:36 +0200
741 userdir-ldap (0.3.19) unstable; urgency=low
743 * New [KEYRING] flag to indicate the debian keyring should be synced
746 -- Peter Palfrader <weasel@debian.org> Fri, 18 Apr 2008 14:33:50 +0200
748 userdir-ldap (0.3.18) unstable; urgency=low
750 * Various ud-fingerserv fixes.
752 -- Peter Palfrader <weasel@debian.org> Thu, 17 Apr 2008 19:48:11 +0200
754 userdir-ldap (0.3.17) unstable; urgency=low
756 * Calling dh_installdeb before dh_pysupport was probably not the smartest
759 -- Peter Palfrader <weasel@debian.org> Wed, 16 Apr 2008 19:59:42 +0200
761 userdir-ldap (0.3.16) unstable; urgency=low
764 * Ship userdir-ldap.schema with the package, add a note that it is
765 now version-controlled in bzr on top of the file.
766 * Get rid of debian/conffiles, wich only listed files in /etc anyway.
767 Those files were already being tagged as conffiles by debhelper,
768 resulting in them being listed twice in the resulting binary package.
769 * Change the build dependency on debhelper to be versioned >= 5.
770 * Change Build-Depends-Indep to Build-Depends.
771 * Change the build dependency on python-support to be versioned >= 0.3.
772 * ud-roleadd: Do not try to make role accounts of objectClass
773 inetOrgPerson, that doesn't work.
774 * Add myself to uploaders.
775 * Create /var/lib/misc/thishost as a symlink to the hostname in postinst.
776 * Sleep for a random time, up to two minutes, in ud-replicate when not
777 called interactively. This is to prevent DoSing the db server when
778 many clients come at the same time.
781 * ud-userimport, ud-groupadd, ud-roleadd, ud-useradd, userdir_ldap.py:
782 Update ud-userimport to use the same objectClasses as
783 ud-{user,group,role}add and abstract them out into userdir_ldap.py
784 * ud-useradd: Avoid a TypeError exception when constructing the template
786 * Remove use of deprecated functions from the string module
787 * ud-arbimport: os.exit -> sys.exit
788 * ud-generate: Set shadow expiry to 1 for locked accounts.
789 * update doc/slapd-config.txt: labeledURL was removed from the schema but
790 not the slapd.conf example. Do that now.
791 * add simple ud-config script for use in shell scripts. This allows
792 querying config values.
794 [ Marc 'HE' Brockschmidt ]
795 * Make the host ud-replicate syncs from configurable in userdir-ldap.conf,
796 instead of hardcoding it into the script. Also introduce a variable
797 containing a shell glob on which no remote sync is needed, so that
798 the db host doesn't need to have a key in the authorized_keys file
800 * ud-useradd: support usergroups.
801 * ud-host/userdir-ldap.schema: Add 'purpose', 'physicalHost' to
802 debianServer schema and teach ud-host about it
803 * ud-host: cleanup: Replace local copy HBaseDn of the centrally
804 configured HostBaseDn.
805 * ud-generate: Mark that no passwords are exported also in the
806 generated passwd file, not only in the shadow file (by using a "*"
807 as password (meaning "no password"), instead of "x" (meaning "do I
808 look like a passwd from the nineties? Look into /etc/shadow!")).
811 * Enhance copyright file a bit, also adding a pointer to our repository
812 * Add those utf8 headerlines to mail templates. Same "trick" as used in dak
813 to send utf8 mails for people that need them. Works there - should work
817 * ud-fingerserv: implement daemonize() for non-inetd mode.
819 * Use standard debhelper tools
820 * Create all files we ship instead of echoing them into creation at build
822 * Typo fix in copyright
823 * Update Standards-Version to 3.7.3 (no changes)
824 * Build manpages at build time (add Build-Depend on yodl)
825 * Install built manpages
827 -- Peter Palfrader <weasel@debian.org> Wed, 16 Apr 2008 14:10:12 +0200
829 userdir-ldap (0.3.15) unstable; urgency=low
831 * userdir_gpg.py: fix RT #70 (sub-key support for mail gateway)
832 * change *PK* mechanism to Linux standard ! mechanism, and check for
833 it in the mail gateway for changes, too.
834 * change packaging to make use of python-support, simplyfing scripts
836 * Remove obsolete ud-killcrypt that wouldn't work with modern ldap anyways.
838 -- Ryan Murray <rmurray@debian.org> Sun, 12 Aug 2007 13:38:11 -0600
840 userdir-ldap (0.3.14) unstable; urgency=low
843 . Establish *PK* as mechanism for locked accounts with mail forwarding intact.
844 No subscription to debian-private though, and no way to log in
845 . Support [NOPASSWD] for generating configs that only don't
846 contain the password for untrusted hosts that should receive
847 the other regular export (patch by Andreas Barth <aba@not.so.argh.org>)
849 . Import the base DN from the configuration file (patch by Andreas
850 Barth <aba@not.so.argh.org>)
852 . Improved admin output
853 * Removed unused and obsolete whrandom module (ud-host, ud-info, ud.py)
854 * Query the LDAP server if no locally defined group with that name was
855 found (userdir_ldap.py, ud-useradd, ud-roleadd)
856 * Preparations for being useful with the version of Python in etch
858 -- Joey Schulze <joey@infodrom.org> Sat, 11 Aug 2007 22:23:25 +0200
860 userdir-ldap (0.3.13) unstable; urgency=low
862 * ud-generate: only look for *LK*, not the fingerprint when auto-disabling
865 -- Ryan Murray <rmurray@debian.org> Mon, 15 Jan 2007 16:14:29 -0700
867 userdir-ldap (0.3.12) unstable; urgency=low
869 * Add dns-sshfp file with DNS SSHFP records for each host.
870 * Add mail-disable file from LDAP mailDisableMessage
871 * Add mail-greylist and mail-callout files from LDAP mailGreylisting and
873 * Add mail-rbl, mail-rhsbl, and mail-whitelist files from LDAP, and add
874 support to set them via mailgate
875 * Add support for additional fields to mailgate arbitrary change and
878 -- Ryan Murray <rmurray@debian.org> Thu, 28 Dec 2006 05:14:45 -0700
880 userdir-ldap (0.3.11) unstable; urgency=low
882 * Add debianhosts file with ip addresses of all hosts.
883 * Don't output bsmtp or DNS entries for accounts without fingerprints.
885 - Adjusted symlink path for ssh_known_hosts inside chroot
886 - Use "db" alias for where to rsync from, rather than a hostname (rmurray)
887 - bsmtp handling updated for exim4 (rmurray)
889 - Initialise Host so that -f will print a full list
890 - Display error message and exit properly for wrong arguments
891 - Take better care of unset attributes
893 - Removed reference to FCNTL
895 - Display error message and exit properly for wrong arguments
897 -- Ryan Murray <rmurray@debian.org> Sun, 13 Nov 2005 16:42:02 -0700
899 userdir-ldap (0.3.10) unstable; urgency=low
901 * See cvs log for detailed changes
902 * Fixes to run properly on sarge, and other misc changes.
904 -- Ryan Murray <rmurray@debian.org> Fri, 14 Oct 2005 21:49:28 -0600
906 userdir-ldap (0.3.9) unstable; urgency=low
908 * Added an explicit PATH statement to ud-replicate
910 -- Martin Schulze <joey@infodrom.org> Tue, 25 Jan 2005 10:50:54 +0100
912 userdir-ldap (0.3.8) stable; urgency=low
915 - Update the ssh shadow files in /etc if they don't exist
916 - Corrected the verbosity detection
917 - Only fiddle inside the chroot if the makedb program exist
919 - Added support for hosts without imported shadow file
921 - Support pressing C-d and C-c
922 - Support for alphanumeric group names
923 - Added passwdAccessLDAP() for wider use by programs
925 - Support for mistyped passwords
926 - Support for alphanumerical group ids
927 - Support for no debian-private subscription
929 - Support for -l to list all hosts
930 - Always perform the list output anonymously
931 - Support for -f to list all fingerprints (-h host optional)
933 - Corrected spelling for labeledURI
935 - Corrected spelling for labeledURI
936 - Added support for deleting the d.net entry
937 - Notify users about unsupported SSH1 keys
938 * Added a proper copyright file
939 * Updated welcome-message-800 from newsamosa
941 - Preparations for sarge, added --secret-keyring /dev/null
943 - Generic support for haydn and alioth as [UNTRUSTED]
945 - Create ~/.gnupg automagically
948 - Support for creating role accounts (non-DD accounts)
950 -- Martin Schulze <joey@infodrom.org> Mon, 24 Jan 2005 09:04:00 +0100
952 userdir-ldap (0.3.7) stable; urgency=low
954 * ud-fingerserv: Corrected the key/fingerprint feature
955 * ud-fingerserv: Added the ICQ UIN
956 * Case sensive LDAP field names for nearly all programs
958 . Honour locked accounts when writing the shadow file
959 . Hardcode exception for haydn and costa as alioth hosts
960 * ud-mailgate: No access for locked accounts
961 * sigcheck: imported changes from murphy
962 * Added sigcheck to the programs to be installed
963 * Moved the web pages into webwml/db.debian.org
964 * Moved the CGI programs into its own package
966 . Added support for user chroot environments
967 . Remove shadow files if they exist
968 . Remove ud-replicate in /usr/local/bin
970 -- Martin Schulze <joey@infodrom.org> Thu, 18 Nov 2004 19:07:01 +0100
972 userdir-ldap (0.3.6) unstable; urgency=low
974 * Specify full path to postmap
976 -- Ryan Murray <rmurray@debian.org> Fri, 26 Sep 2003 11:48:25 -0600
978 userdir-ldap (0.3.5) unstable; urgency=low
980 * Add depends on rsync
981 * Generate db of debian.org on postfix systems
983 -- Ryan Murray <rmurray@debian.org> Sat, 30 Aug 2003 18:41:29 -0600
985 userdir-ldap (0.3.4) unstable; urgency=low
987 * Use the right python version in the maintainer scripts
989 -- Ryan Murray <rmurray@debian.org> Tue, 18 Mar 2003 19:26:31 -0700
991 userdir-ldap (0.3.3) unstable; urgency=low
993 * Rebuild for python2.1 and woody
995 -- Ryan Murray <rmurray@debian.org> Wed, 12 Mar 2003 21:30:12 -0700
997 userdir-ldap (0.3.2) unstable; urgency=low
999 * Seperation of bsmtp and zoneupdate
1001 -- Ryan Murray <rmurray@debian.org> Thu, 8 Aug 2002 12:07:00 -0700
1003 userdir-ldap (0.3.1) unstable; urgency=low
1005 * Add ud-zoneupdate from klecker's /usr/local/bin
1007 -- Ryan Murray <rmurray@debian.org> Tue, 6 Aug 2002 22:42:05 -0700
1009 userdir-ldap (0.3) unstable; urgency=low
1011 * Only use sshrsa{host,}key variable, and store all three types of keys
1014 -- Jason Gunthrope <jgg@debian.org> Sun, 2 Dec 2001 20:21:26 -0800
1016 userdir-ldap (0.2) unstable; urgency=low
1018 * What the hey, a new version number.
1020 -- Jason Gunthrope <jgg@debian.org> Sun, 11 Feb 2001 18:37:27 -0800
1022 userdir-ldap (0.1) unstable; urgency=low
1026 -- Jason Gunthrope <jgg@debian.org> Fri, 30 Apr 1999 00:39:31 -0600