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