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