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