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