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