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