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