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