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