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