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