mirror/userdir-ldap.git
9 years agoFix a grammatical issue.
Paul Wise [Mon, 29 Dec 2014 05:07:45 +0000 (13:07 +0800)]
Fix a grammatical issue.

9 years agoUse the people.d.o alias instead of the machine name.
Paul Wise [Mon, 29 Dec 2014 05:07:11 +0000 (13:07 +0800)]
Use the people.d.o alias instead of the machine name.

Using the alias is more future-proof.

9 years agoDebian SSL certs are no longer signed by the Debian/SPI CAs.
Paul Wise [Sun, 28 Dec 2014 04:17:47 +0000 (12:17 +0800)]
Debian SSL certs are no longer signed by the Debian/SPI CAs.

9 years agoSwitch from http to https for all the links in welcome mails.
Paul Wise [Sun, 28 Dec 2014 04:17:08 +0000 (12:17 +0800)]
Switch from http to https for all the links in welcome mails.

9 years agopeople.d.o is now paradis
Julien Cristau [Thu, 25 Dec 2014 22:43:40 +0000 (23:43 +0100)]
people.d.o is now paradis

Signed-off-by: Julien Cristau <jcristau@debian.org>
9 years agoNew version number
Peter Palfrader [Sun, 7 Dec 2014 15:44:06 +0000 (16:44 +0100)]
New version number

9 years agorelease 0.3.86
Peter Palfrader [Sun, 7 Dec 2014 15:25:30 +0000 (16:25 +0100)]
release 0.3.86

9 years agoud-replicated: only restore TERM if it was set before. If it wasn't leave it at...
Peter Palfrader [Sun, 7 Dec 2014 15:21:58 +0000 (16:21 +0100)]
ud-replicated: only restore TERM if it was set before.  If it wasn't leave it at dumb.

9 years agoud-generate: support ssh-ed25519 keys for SSHFP records
Peter Palfrader [Sun, 7 Dec 2014 09:47:45 +0000 (10:47 +0100)]
ud-generate: support ssh-ed25519 keys for SSHFP records

9 years agoStart new version
Peter Palfrader [Sat, 6 Dec 2014 09:25:53 +0000 (10:25 +0100)]
Start new version

9 years agoNew version number userdir-ldap-0.3.85
Peter Palfrader [Sat, 6 Dec 2014 08:59:42 +0000 (09:59 +0100)]
New version number

9 years agoRelease
Peter Palfrader [Fri, 5 Dec 2014 22:37:56 +0000 (23:37 +0100)]
Release

9 years agoud-replicated: Syntax? fix
Peter Palfrader [Fri, 5 Dec 2014 22:37:43 +0000 (23:37 +0100)]
ud-replicated: Syntax? fix

9 years agoud-replicated: only use /var/run/log if it's a socket
Peter Palfrader [Fri, 5 Dec 2014 22:36:39 +0000 (23:36 +0100)]
ud-replicated: only use /var/run/log if it's a socket

9 years agoud-generate: sudopassword: allow dashes in hostnames
Peter Palfrader [Sun, 21 Sep 2014 13:20:40 +0000 (15:20 +0200)]
ud-generate: sudopassword: allow dashes in hostnames

9 years agoud-mailage: allow dashes in hostnames.
Peter Palfrader [Sun, 21 Sep 2014 12:51:19 +0000 (14:51 +0200)]
ud-mailage: allow dashes in hostnames.

9 years agochangelog entry
Peter Palfrader [Fri, 19 Sep 2014 19:23:55 +0000 (21:23 +0200)]
changelog entry

9 years agoud-generate: update gitolite authkeys generation
Peter Palfrader [Fri, 19 Sep 2014 19:22:48 +0000 (21:22 +0200)]
ud-generate: update gitolite authkeys generation

- skip ssh keys with non-local allowed_hosts
- skip all keys with other restrictions
- make including keys for hosts optional (on by default)
- support overriding the command we restrict to

9 years agoFix schema that still references voipPassword instead of rtcPassword
Peter Palfrader [Mon, 12 May 2014 20:21:19 +0000 (22:21 +0200)]
Fix schema that still references voipPassword instead of rtcPassword

9 years ago.43 was already taken
Peter Palfrader [Mon, 12 May 2014 20:17:20 +0000 (22:17 +0200)]
.43 was already taken

9 years agoAdd rebootPolicy attribute to host
Peter Palfrader [Mon, 12 May 2014 20:10:00 +0000 (22:10 +0200)]
Add rebootPolicy attribute to host

10 years agoand changelog
Stephen Gran [Thu, 27 Feb 2014 07:28:15 +0000 (07:28 +0000)]
and changelog

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agomake notify the default
Stephen Gran [Thu, 27 Feb 2014 07:19:00 +0000 (07:19 +0000)]
make notify the default

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoA changelog entry
Peter Palfrader [Sun, 9 Feb 2014 20:14:38 +0000 (21:14 +0100)]
A changelog entry

10 years agoMake SudoPasswd not be a global variable
Peter Palfrader [Sun, 9 Feb 2014 20:14:17 +0000 (21:14 +0100)]
Make SudoPasswd not be a global variable

10 years agoAct on sudopassword confirms even if nothing else gets touched
Peter Palfrader [Sun, 9 Feb 2014 20:14:01 +0000 (21:14 +0100)]
Act on sudopassword confirms even if nothing else gets touched

10 years agouse json marshalling
Stephen Gran [Sun, 2 Feb 2014 09:27:12 +0000 (09:27 +0000)]
use json marshalling

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoCorrect thinkos
Stephen Gran [Sat, 1 Feb 2014 13:31:28 +0000 (13:31 +0000)]
Correct thinkos

10 years agomake this actually work
Stephen Gran [Sat, 1 Feb 2014 13:31:08 +0000 (13:31 +0000)]
make this actually work

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoa little defensiveness
Stephen Gran [Sat, 25 Jan 2014 14:40:40 +0000 (14:40 +0000)]
a little defensiveness

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoChange cron job to weekly
Stephen Gran [Sat, 25 Jan 2014 14:35:43 +0000 (14:35 +0000)]
Change cron job to weekly

10 years agothis could never have worked
Stephen Gran [Fri, 24 Jan 2014 20:46:54 +0000 (20:46 +0000)]
this could never have worked

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoAdd bATVToken to the list of attributes to retrieve
Stephen Gran [Fri, 24 Jan 2014 20:46:30 +0000 (20:46 +0000)]
Add bATVToken to the list of attributes to retrieve

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agosigcheck: Import userdir_ldap so CheckLDAP() can find connectLDAP()
Peter Palfrader [Mon, 20 Jan 2014 22:20:56 +0000 (23:20 +0100)]
sigcheck: Import userdir_ldap so CheckLDAP() can find connectLDAP()

10 years agosend json instead
Stephen Gran [Sun, 19 Jan 2014 20:05:34 +0000 (20:05 +0000)]
send json instead

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agobetter debugging
Stephen Gran [Sun, 19 Jan 2014 20:02:28 +0000 (20:02 +0000)]
better debugging

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoupdate last run
Stephen Gran [Sat, 18 Jan 2014 13:38:55 +0000 (13:38 +0000)]
update last run

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoKFreeBSD uses a different syslog socket just because
Stephen Gran [Sat, 18 Jan 2014 13:11:46 +0000 (13:11 +0000)]
KFreeBSD uses a different syslog socket just because

10 years agoStart new release
Stephen Gran [Sat, 18 Jan 2014 10:47:04 +0000 (10:47 +0000)]
Start new release

10 years agoGratuitous version bump
Stephen Gran [Sat, 18 Jan 2014 10:46:31 +0000 (10:46 +0000)]
Gratuitous version bump

10 years agorelease this version
Stephen Gran [Sat, 18 Jan 2014 10:16:46 +0000 (10:16 +0000)]
release this version

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agodon't need group read on rtc-password files
Luca Filipozzi [Sat, 18 Jan 2014 02:53:27 +0000 (02:53 +0000)]
don't need group read on rtc-password files
Signed-off-by: Luca Filipozzi <lfilipoz@emyr.net>
10 years agocreate two versions of rtc-passwords, one for radius and one for return
Luca Filipozzi [Sat, 18 Jan 2014 01:19:56 +0000 (01:19 +0000)]
create two versions of rtc-passwords, one for radius and one for return
Signed-off-by: Luca Filipozzi <lfilipoz@emyr.net>
10 years agoMerge branch 'master' of ssh://draghi.debian.org/~/userdir-ldap
Luca Filipozzi [Sat, 18 Jan 2014 01:16:59 +0000 (01:16 +0000)]
Merge branch 'master' of ssh://draghi.debian.org/~/userdir-ldap

10 years agothis is a bit cleaner
Stephen Gran [Fri, 17 Jan 2014 20:23:38 +0000 (20:23 +0000)]
this is a bit cleaner

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agomodifying ud-replicate to support rtcPassword deployment
Luca Filipozzi [Fri, 17 Jan 2014 01:19:49 +0000 (01:19 +0000)]
modifying ud-replicate to support rtcPassword deployment

10 years agovoipPassword -> rtcPassword
Luca Filipozzi [Thu, 16 Jan 2014 22:57:39 +0000 (22:57 +0000)]
voipPassword -> rtcPassword

10 years agowhitespace
Stephen Gran [Wed, 15 Jan 2014 17:08:09 +0000 (17:08 +0000)]
whitespace

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoud-generate can send notifications over MQ
Stephen Gran [Wed, 15 Jan 2014 08:33:02 +0000 (08:33 +0000)]
ud-generate can send notifications over MQ

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoMerge branch 'master' of ssh://db.debian.org/git/userdir-ldap
Stephen Gran [Wed, 15 Jan 2014 08:13:45 +0000 (08:13 +0000)]
Merge branch 'master' of ssh://db.debian.org/git/userdir-ldap

10 years agoadd ud-replicated
Stephen Gran [Wed, 15 Jan 2014 08:13:31 +0000 (08:13 +0000)]
add ud-replicated

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoassume that voipPassword contains an HA1
Luca Filipozzi [Tue, 14 Jan 2014 01:23:21 +0000 (01:23 +0000)]
assume that voipPassword contains an HA1

10 years agowe need realm there
Martin Zobel-Helas [Sun, 12 Jan 2014 11:14:56 +0000 (12:14 +0100)]
we need realm there

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agofix another typo
Martin Zobel-Helas [Sun, 12 Jan 2014 11:11:33 +0000 (12:11 +0100)]
fix another typo

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agofix typo
Martin Zobel-Helas [Sun, 12 Jan 2014 11:06:33 +0000 (12:06 +0100)]
fix typo

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agofix code
Martin Zobel-Helas [Sun, 12 Jan 2014 10:49:12 +0000 (11:49 +0100)]
fix code

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agomodify voipPassword code to match https://github.com/resiprocate/resiprocate/blob...
Martin Zobel-Helas [Sun, 12 Jan 2014 10:40:44 +0000 (11:40 +0100)]
modify voipPassword code to match https://github.com/resiprocate/resiprocate/blob/master/reTurn/reTurnServer.config#L147

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agorenamed script
Peter Palfrader [Fri, 10 Jan 2014 17:42:42 +0000 (18:42 +0100)]
renamed script

10 years agonew dns fu
Peter Palfrader [Thu, 9 Jan 2014 09:55:38 +0000 (10:55 +0100)]
new dns fu

10 years agoclean up files another way
Martin Zobel-Helas [Sun, 29 Dec 2013 19:25:06 +0000 (20:25 +0100)]
clean up files another way

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agotry this
Martin Zobel-Helas [Sun, 29 Dec 2013 18:56:16 +0000 (19:56 +0100)]
try this

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agoFdb instead of F
Martin Zobel-Helas [Sun, 29 Dec 2013 18:43:13 +0000 (19:43 +0100)]
Fdb instead of F

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agofix some errors
Martin Zobel-Helas [Sun, 29 Dec 2013 18:41:11 +0000 (19:41 +0100)]
fix some errors

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agoalso produce dbm files additionaly to cdb
Martin Zobel-Helas [Sun, 29 Dec 2013 17:21:01 +0000 (18:21 +0100)]
also produce dbm files additionaly to cdb

We need to migrate from CDB to DBM, as there is no python-cdb in Debian
stable any more. Provide both file formats, so we can migrate from CDB
to DBM painlessly.

Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
10 years agoWe've been removing this symlink for a decade
Stephen Gran [Wed, 20 Nov 2013 19:22:33 +0000 (19:22 +0000)]
We've been removing this symlink for a decade

I think we're safe now.

Signed-off-by: Stephen Gran <steve@lobefin.net>
10 years agoChangelog
Tollef Fog Heen [Wed, 28 Aug 2013 16:02:00 +0000 (18:02 +0200)]
Changelog

10 years agoExport host keys for gitolite too
Tollef Fog Heen [Wed, 28 Aug 2013 16:00:32 +0000 (18:00 +0200)]
Export host keys for gitolite too

10 years agoand a changelog entry
Peter Palfrader [Fri, 2 Aug 2013 21:34:24 +0000 (23:34 +0200)]
and a changelog entry

10 years agoFix unix mtime triggers for ud-generate
Peter Palfrader [Fri, 2 Aug 2013 21:31:45 +0000 (23:31 +0200)]
Fix unix mtime triggers for ud-generate

Previously we only checked if a file had been modified since our last
run.  That didn't catch changes that were only made visible for the next
run.  I.e. a file was changed on some host, ud-generate runs finds no
need to re-generate and stores timestamp X to its statefile.  We rsync
that file to us and on the next ud-geneate run it finds no files
modified since X.

10 years agoAnd also for guests
Peter Palfrader [Thu, 18 Jul 2013 20:12:01 +0000 (22:12 +0200)]
And also for guests

10 years agoWe use schroot now
Peter Palfrader [Thu, 18 Jul 2013 20:10:33 +0000 (22:10 +0200)]
We use schroot now

10 years agoFix a typo
Peter Palfrader [Thu, 18 Jul 2013 20:10:28 +0000 (22:10 +0200)]
Fix a typo

10 years agoFix ipv6 check
Peter Palfrader [Thu, 20 Jun 2013 11:57:16 +0000 (13:57 +0200)]
Fix ipv6 check

10 years agouse valid MX syntax
Peter Palfrader [Fri, 7 Jun 2013 17:07:58 +0000 (19:07 +0200)]
use valid MX syntax

10 years agoAllow incoming-mx remapping in ud-generate
Peter Palfrader [Fri, 7 Jun 2013 17:02:14 +0000 (19:02 +0200)]
Allow incoming-mx remapping in ud-generate

10 years agoud-generate: Support writing gitolite config for just one user-group
Peter Palfrader [Sat, 1 Jun 2013 09:49:14 +0000 (11:49 +0200)]
ud-generate: Support writing gitolite config for just one user-group

10 years agoFix typo in help output
Peter Palfrader [Sat, 1 Jun 2013 09:40:30 +0000 (11:40 +0200)]
Fix typo in help output

10 years agoMinor variable rename
Peter Palfrader [Sat, 1 Jun 2013 09:40:24 +0000 (11:40 +0200)]
Minor variable rename

10 years agoMinor refactoring of IsInGroup so it can take arrays and dicts
Peter Palfrader [Sat, 1 Jun 2013 09:40:11 +0000 (11:40 +0200)]
Minor refactoring of IsInGroup so it can take arrays and dicts

11 years agoud-generate: Allow more than one email address in userForward. Quite useful for...
Peter Palfrader [Mon, 8 Apr 2013 12:02:10 +0000 (14:02 +0200)]
ud-generate: Allow more than one email address in userForward.  Quite useful for role accounts

11 years agodisable dnsZoneEntry and privateSub for guest accounts
Martin Zobel-Helas [Fri, 8 Mar 2013 23:30:07 +0000 (00:30 +0100)]
disable dnsZoneEntry and privateSub for guest accounts
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
11 years agofix generation of voip-passwords file
Martin Zobel-Helas [Tue, 19 Feb 2013 19:58:59 +0000 (20:58 +0100)]
fix generation of voip-passwords file
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
11 years agofix permissions
Martin Zobel-Helas [Sat, 18 Aug 2012 16:24:57 +0000 (18:24 +0200)]
fix permissions
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
11 years agoallow listmasters to write to the privateSub attribute
Martin Zobel-Helas [Sat, 18 Aug 2012 16:15:29 +0000 (18:15 +0200)]
allow listmasters to write to the privateSub attribute
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
11 years agos/looses/loses/
Tollef Fog Heen [Sat, 28 Jul 2012 08:03:49 +0000 (10:03 +0200)]
s/looses/loses/

11 years agoMerge branch 'master' of git+ssh://db.debian.org/git/userdir-ldap
Martin Zobel-Helas [Wed, 13 Jun 2012 22:10:50 +0000 (00:10 +0200)]
Merge branch 'master' of git+ssh://db.debian.org/git/userdir-ldap

* 'master' of git+ssh://db.debian.org/git/userdir-ldap:
  fix
  userdir-ldap-slapd.conf.in: explicitly list readable attributes.  End with 'by * none'.
  ud-generate: Also rebuild if one of our keyrings has changed, even if ldap has not.
  ud-lock: support supplying a status to set instead of 'retiring'

11 years agoadd voipPassword
Martin Zobel-Helas [Wed, 13 Jun 2012 22:10:32 +0000 (00:10 +0200)]
add voipPassword
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
11 years agofix
Peter Palfrader [Mon, 14 May 2012 16:50:46 +0000 (18:50 +0200)]
fix

11 years agouserdir-ldap-slapd.conf.in: explicitly list readable attributes. End with 'by *...
Peter Palfrader [Mon, 14 May 2012 16:45:39 +0000 (18:45 +0200)]
userdir-ldap-slapd.conf.in: explicitly list readable attributes.  End with 'by * none'.

12 years agoud-generate: Also rebuild if one of our keyrings has changed, even if ldap has not.
Peter Palfrader [Wed, 11 Apr 2012 08:55:50 +0000 (10:55 +0200)]
ud-generate: Also rebuild if one of our keyrings has changed, even if ldap has not.

12 years agoud-lock: support supplying a status to set instead of 'retiring'
Peter Palfrader [Thu, 29 Mar 2012 21:45:28 +0000 (23:45 +0200)]
ud-lock: support supplying a status to set instead of 'retiring'

12 years agoMerge branch 'master' of git+ssh://db.debian.org/git/userdir-ldap
Martin Zobel-Helas [Fri, 23 Mar 2012 18:19:56 +0000 (19:19 +0100)]
Merge branch 'master' of git+ssh://db.debian.org/git/userdir-ldap

* 'master' of git+ssh://db.debian.org/git/userdir-ldap:
  change mailPreserveSuffixSeparator to a string Signed-off-by: Martin Zobel-Helas <zobel@debian.org>

12 years agochange mailPreserveSuffixSeparator to a string
Martin Zobel-Helas [Fri, 23 Mar 2012 18:16:06 +0000 (19:16 +0100)]
change mailPreserveSuffixSeparator to a string
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
12 years agochange mailPreserveSuffixSeparator to a string
Martin Zobel-Helas [Fri, 23 Mar 2012 18:16:06 +0000 (19:16 +0100)]
change mailPreserveSuffixSeparator to a string
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
12 years agoMerge branch 'master' of git+ssh://db.debian.org/git/userdir-ldap
Martin Zobel-Helas [Fri, 23 Mar 2012 12:59:51 +0000 (13:59 +0100)]
Merge branch 'master' of git+ssh://db.debian.org/git/userdir-ldap

* 'master' of git+ssh://db.debian.org/git/userdir-ldap: (21 commits)
  ud-generate: lock replicators
  Set generate_dir in the non-override case
  Get lock sooner, connect to ldap later
  flocks do not need freeing
  Profile if UD_PROFILE is in environment
  No need to depend on python-lockfile anymore
  Use flock()
  Use eatmydata!
  UDLdap.py: make a cache for __getitem__() decisions.
  No need to mkdir userkeys directory anymore
  get rid of global state variable CurrentHost.  This will enable upcoming changes.
  GenerateDir is no longer a global var
  minor nit
  speed up ssh tarball generation
  ud-generate speed, I
  ud-generate: Move main code into a ud_generate()
  ud-generate: Add -f option to build even if cache is current
  ud-generate: Move code into getLastBuildTime() and getLastLDAPChangeTime() functions.
  ud-generate: No longer expand $ in dnsZoneEntry data to a \n\t.
  changelog entry for ud-mailgate fix
  ...

12 years agoadd mailPreserveSuffixSeparator to LDAP schema
Martin Zobel-Helas [Fri, 23 Mar 2012 12:59:13 +0000 (13:59 +0100)]
add mailPreserveSuffixSeparator to LDAP schema
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
12 years agoud-generate: lock replicators
Peter Palfrader [Mon, 12 Mar 2012 15:57:54 +0000 (16:57 +0100)]
ud-generate: lock replicators

ud-generate: The ssh authorized_keys file for the sshdist user now wraps
the rsync call in an flock wrapper that acquires a shared lock on
ud-generate's lock.  This prevents syncing while ud-generate runs.

12 years agoSet generate_dir in the non-override case
Peter Palfrader [Mon, 12 Mar 2012 15:46:20 +0000 (16:46 +0100)]
Set generate_dir in the non-override case

12 years agoGet lock sooner, connect to ldap later
Peter Palfrader [Mon, 12 Mar 2012 15:29:50 +0000 (16:29 +0100)]
Get lock sooner, connect to ldap later

12 years agoflocks do not need freeing
Peter Palfrader [Mon, 12 Mar 2012 15:29:16 +0000 (16:29 +0100)]
flocks do not need freeing