mirror/userdir-ldap.git
4 years agoud-generate: deal with users without loginShell fordsa salsa
Julien Cristau [Tue, 19 Nov 2019 21:50:09 +0000 (22:50 +0100)]
ud-generate: deal with users without loginShell

4 years agoTODO: drop long-completed item r.e. restricting SSH keys to hosts
Adam D. Barratt [Thu, 14 Nov 2019 21:59:23 +0000 (21:59 +0000)]
TODO: drop long-completed item r.e. restricting SSH keys to hosts

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoAdd changelog entry for the merikanto removal from userdir-ldap.conf
Adam D. Barratt [Tue, 12 Nov 2019 21:10:24 +0000 (21:10 +0000)]
Add changelog entry for the merikanto removal from userdir-ldap.conf

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoRemove merikanto.debian.org from userdir-ldap.conf's MX list
Adam D. Barratt [Fri, 8 Nov 2019 19:29:46 +0000 (19:29 +0000)]
Remove merikanto.debian.org from userdir-ldap.conf's MX list

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoud-fingerserv: fix logging when using ipv6 and inetd
Julien Cristau [Tue, 12 Nov 2019 20:58:35 +0000 (21:58 +0100)]
ud-fingerserv: fix logging when using ipv6 and inetd

This removes the reverse name resolution because I don't think it's useful.

4 years agoud-generate: fix default-mail-options generation
Julien Cristau [Mon, 14 Oct 2019 19:10:11 +0000 (21:10 +0200)]
ud-generate: fix default-mail-options generation

NameError: global name 'Outdir' is not defined

4 years agoud-generate: add missing subprocess import
Julien Cristau [Mon, 14 Oct 2019 19:08:03 +0000 (21:08 +0200)]
ud-generate: add missing subprocess import

4 years agosigcheck: pycodestyle fixes
Julien Cristau [Fri, 11 Oct 2019 22:00:37 +0000 (00:00 +0200)]
sigcheck: pycodestyle fixes

4 years agosigcheck: kill trailing semicolons
Julien Cristau [Fri, 11 Oct 2019 21:33:13 +0000 (23:33 +0200)]
sigcheck: kill trailing semicolons

4 years agoMerge branch 'fordsa' of https://git.adam-barratt.org.uk/git/mirror/userdir-ldap
Julien Cristau [Fri, 11 Oct 2019 21:29:54 +0000 (23:29 +0200)]
Merge branch 'fordsa' of https://git.adam-barratt.org.uk/git/mirror/userdir-ldap

4 years agouserdir_ldap.py: pycodestyle fixes
Julien Cristau [Fri, 11 Oct 2019 16:26:42 +0000 (18:26 +0200)]
userdir_ldap.py: pycodestyle fixes

4 years agoud-generate: remove a trailing semi-colon
Adam D. Barratt [Thu, 10 Oct 2019 20:52:04 +0000 (21:52 +0100)]
ud-generate: remove a trailing semi-colon

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoUse ldap.initialize instead of ldap.open for compatibility with python-ldap 3.2.0.
Julien Cristau [Fri, 11 Oct 2019 15:55:44 +0000 (17:55 +0200)]
Use ldap.initialize instead of ldap.open for compatibility with python-ldap 3.2.0.

4 years agoud-host: use subprocess.Popen instead of os.popen.
Julien Cristau [Fri, 11 Oct 2019 15:44:33 +0000 (17:44 +0200)]
ud-host: use subprocess.Popen instead of os.popen.

4 years agoud-host: kill trailing semicolons
Julien Cristau [Fri, 11 Oct 2019 15:28:37 +0000 (17:28 +0200)]
ud-host: kill trailing semicolons

4 years agoud-mailgate: use subprocess.Popen instead of os.popen.
Julien Cristau [Fri, 11 Oct 2019 15:26:16 +0000 (17:26 +0200)]
ud-mailgate: use subprocess.Popen instead of os.popen.

4 years agoDelete ud-emailmatcher. Looks broken and unused.
Julien Cristau [Fri, 11 Oct 2019 15:13:49 +0000 (17:13 +0200)]
Delete ud-emailmatcher.  Looks broken and unused.

4 years agoDelete unmaintained/gpgwrapper. 8 years of non-maintenance ought to be enough.
Julien Cristau [Fri, 11 Oct 2019 14:15:00 +0000 (16:15 +0200)]
Delete unmaintained/gpgwrapper.  8 years of non-maintenance ought to be enough.

4 years agoStop using string exceptions. They were removed in python 2.6.
Julien Cristau [Fri, 11 Oct 2019 14:13:36 +0000 (16:13 +0200)]
Stop using string exceptions.  They were removed in python 2.6.

4 years agoud-update-sudopasswords: drop trailing semicolons
Julien Cristau [Fri, 11 Oct 2019 13:37:06 +0000 (15:37 +0200)]
ud-update-sudopasswords: drop trailing semicolons

4 years agoUse "foo is not None" instead of "foo != None".
Julien Cristau [Fri, 11 Oct 2019 13:34:39 +0000 (15:34 +0200)]
Use "foo is not None" instead of "foo != None".

4 years agoUse "foo is None" instead of "foo == None".
Julien Cristau [Fri, 11 Oct 2019 13:33:31 +0000 (15:33 +0200)]
Use "foo is None" instead of "foo == None".

4 years agoud-mailgate: use subprocess.Popen instead of os.popen.
Julien Cristau [Fri, 11 Oct 2019 13:31:03 +0000 (15:31 +0200)]
ud-mailgate: use subprocess.Popen instead of os.popen.

4 years agoUse "not in" operator in various places ("foo not in bar" instead of "not foo in...
Julien Cristau [Thu, 10 Oct 2019 20:00:30 +0000 (22:00 +0200)]
Use "not in" operator in various places ("foo not in bar" instead of "not foo in bar").

4 years agoud-generate: use subprocess.Popen instead of os.popen in GenCDB.
Julien Cristau [Thu, 10 Oct 2019 19:50:29 +0000 (21:50 +0200)]
ud-generate: use subprocess.Popen instead of os.popen in GenCDB.

4 years agoAdd changelog entry for global mail-default-options generation
Adam D. Barratt [Thu, 10 Oct 2019 18:57:54 +0000 (19:57 +0100)]
Add changelog entry for global mail-default-options generation

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoud-generate: generate mail-default-options globally
Adam D. Barratt [Thu, 10 Oct 2019 18:44:21 +0000 (19:44 +0100)]
ud-generate: generate mail-default-options globally

It's most likely to be useful on the mail relays, where most users
won't have local accounts

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoadd changelog entries for ud-mailgate blocking punycode and ipv6 parsing fix
Julien Cristau [Thu, 10 Oct 2019 09:32:28 +0000 (11:32 +0200)]
add changelog entries for ud-mailgate blocking punycode and ipv6 parsing fix

4 years agoMerge branch 'fordsa' of https://git.adam-barratt.org.uk/git/mirror/userdir-ldap
Julien Cristau [Wed, 9 Oct 2019 21:33:46 +0000 (23:33 +0200)]
Merge branch 'fordsa' of https://git.adam-barratt.org.uk/git/mirror/userdir-ldap

4 years agoAdd changelog entry for ud-generate.8 typo fixes
Adam D. Barratt [Wed, 9 Oct 2019 21:17:47 +0000 (22:17 +0100)]
Add changelog entry for ud-generate.8 typo fixes

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoud-generate.8: fix some typoes
Adam D. Barratt [Wed, 9 Oct 2019 21:17:28 +0000 (22:17 +0100)]
ud-generate.8: fix some typoes

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoAdd changelog entry for ud-generate mailDefaultOptions fix
Adam D. Barratt [Wed, 9 Oct 2019 20:55:34 +0000 (21:55 +0100)]
Add changelog entry for ud-generate mailDefaultOptions fix

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoud-generate: actually fetch mailDefaultOptions from LDAP
Adam D. Barratt [Wed, 9 Oct 2019 20:55:20 +0000 (21:55 +0100)]
ud-generate: actually fetch mailDefaultOptions from LDAP

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
4 years agoud-mailgate: remove exception for münchen.debian.net master
Julien Cristau [Tue, 8 Oct 2019 18:09:12 +0000 (20:09 +0200)]
ud-mailgate: remove exception for münchen.debian.net

19:58 < aba> weasel: I'm happy with removing the münchen.debian.net if this helps DSA (and further xn-- are blocked), this is just the same redirect as muenchen.d.n

4 years agoud-mailgate: block punycode DNS entries
Julien Cristau [Tue, 8 Oct 2019 17:35:51 +0000 (19:35 +0200)]
ud-mailgate: block punycode DNS entries

Keep an exception for a single existing domain.

4 years agoWrite uid to file too
Tollef Fog Heen [Sat, 27 Jul 2019 00:15:14 +0000 (02:15 +0200)]
Write uid to file too

4 years agoAdd missing .cgi to message
Tollef Fog Heen [Sat, 27 Jul 2019 00:14:54 +0000 (02:14 +0200)]
Add missing .cgi to message

4 years agoSend out web link to totp seed fetcher instead of the seed itself
Tollef Fog Heen [Tue, 23 Jul 2019 20:28:22 +0000 (22:28 +0200)]
Send out web link to totp seed fetcher instead of the seed itself

This requires configuration changes (done in the sample config)

4 years agoRemove alioth from sample config
Tollef Fog Heen [Tue, 23 Jul 2019 20:17:41 +0000 (22:17 +0200)]
Remove alioth from sample config

4 years agoRestrict access to totpSeed
Tollef Fog Heen [Tue, 23 Jul 2019 19:43:42 +0000 (21:43 +0200)]
Restrict access to totpSeed

4 years agofix ipv6 parsing. We would not properly handle empty blocks (i.e. ::).
Peter Palfrader [Thu, 16 May 2019 05:43:56 +0000 (07:43 +0200)]
fix ipv6 parsing.  We would not properly handle empty blocks (i.e. ::).

This worked before and got broken in 28c3209e235e0d637172a1c5acd1e4142a58f8da

5 years agoMerge remote-tracking branch 'jrtc27/master'
Peter Palfrader [Sat, 6 Apr 2019 21:24:44 +0000 (23:24 +0200)]
Merge remote-tracking branch 'jrtc27/master'

* jrtc27/master:
  ud-mailgate: Assign value before check and drop semicolon

5 years agoud-mailgate: Assign value before check and drop semicolon
James Clarke [Sat, 6 Apr 2019 21:19:58 +0000 (21:19 +0000)]
ud-mailgate: Assign value before check and drop semicolon

5 years agoDoArbChange: actually initialize value
Peter Palfrader [Sat, 6 Apr 2019 21:09:27 +0000 (23:09 +0200)]
DoArbChange: actually initialize value

5 years agoMake arbitrary attribute change work again
Peter Palfrader [Sat, 6 Apr 2019 20:05:21 +0000 (22:05 +0200)]
Make arbitrary attribute change work again

This was broken by mistake during the pep8 cleanup

5 years agoAnd yet another ud-mailgate typo. userdir-ldap-0.3.96
Julien Cristau [Sun, 10 Feb 2019 11:33:23 +0000 (12:33 +0100)]
And yet another ud-mailgate typo.

5 years agoAdd changelog entry userdir-ldap-0.3.95
Julien Cristau [Sun, 10 Feb 2019 11:12:41 +0000 (12:12 +0100)]
Add changelog entry

5 years agoFix typos
Julien Cristau [Sun, 10 Feb 2019 11:11:01 +0000 (12:11 +0100)]
Fix typos

l was renamed to lc in most places.

5 years agoRelease 0.3.94 userdir-ldap-0.3.94
Tollef Fog Heen [Wed, 2 Jan 2019 18:36:49 +0000 (19:36 +0100)]
Release 0.3.94

5 years agoFix typo in ud-mailgate.
Tollef Fog Heen [Wed, 2 Jan 2019 18:29:57 +0000 (19:29 +0100)]
Fix typo in ud-mailgate.

5 years agoRelease 0.3.93 userdir-ldap-0.3.93
Tollef Fog Heen [Wed, 2 Jan 2019 18:11:47 +0000 (19:11 +0100)]
Release 0.3.93

5 years agoUpdate changelog
Tollef Fog Heen [Wed, 2 Jan 2019 17:49:41 +0000 (18:49 +0100)]
Update changelog

5 years agoRemove .bzrignore, this is no longer in bzr
Tollef Fog Heen [Wed, 2 Jan 2019 17:47:36 +0000 (18:47 +0100)]
Remove .bzrignore, this is no longer in bzr

5 years agopep8 fix; indents are four, not three
Tollef Fog Heen [Wed, 2 Jan 2019 17:46:44 +0000 (18:46 +0100)]
pep8 fix; indents are four, not three

5 years agoFix a whole lot of pep8 errors
Tollef Fog Heen [Wed, 2 Jan 2019 17:28:31 +0000 (18:28 +0100)]
Fix a whole lot of pep8 errors

5 years agoGet rid of semicolons
Tollef Fog Heen [Sun, 29 Jul 2018 12:39:46 +0000 (14:39 +0200)]
Get rid of semicolons

5 years agoHow one identifies is not relevant to their work in Debian: remove gender attribute...
Peter Palfrader [Fri, 23 Nov 2018 09:09:06 +0000 (10:09 +0100)]
How one identifies is not relevant to their work in Debian: remove gender attribute from ud-ldap

5 years agoud-replicate: manually remove __db.<foo>.db.t files before makedb calls.
Peter Palfrader [Thu, 15 Nov 2018 11:35:10 +0000 (12:35 +0100)]
ud-replicate: manually remove __db.<foo>.db.t files before makedb calls.

5 years agoud-replicate: move from lockfile(1) to flock
Peter Palfrader [Thu, 15 Nov 2018 11:34:37 +0000 (12:34 +0100)]
ud-replicate: move from lockfile(1) to flock

5 years agoud-replicate: remove chroot support
Peter Palfrader [Thu, 15 Nov 2018 11:33:48 +0000 (12:33 +0100)]
ud-replicate: remove chroot support

We no longer use historical dchroot.

5 years agominor welcome message updates in the salsa paragraph
Peter Palfrader [Wed, 3 Oct 2018 07:14:43 +0000 (09:14 +0200)]
minor welcome message updates in the salsa paragraph

5 years agofix spacing in changelog
Peter Palfrader [Wed, 3 Oct 2018 07:13:22 +0000 (09:13 +0200)]
fix spacing in changelog

5 years agoMerge remote-tracking branch 'aerostitch/update_welcome_email'
Peter Palfrader [Wed, 3 Oct 2018 07:10:59 +0000 (09:10 +0200)]
Merge remote-tracking branch 'aerostitch/update_welcome_email'

* aerostitch/update_welcome_email:
  Change references from alioth to salsa in the DD welcome email

5 years agoA changelog entry for the ud-guest-upgrade change
Peter Palfrader [Wed, 3 Oct 2018 07:10:58 +0000 (09:10 +0200)]
A changelog entry for the ud-guest-upgrade change

5 years agoChange references from alioth to salsa in the DD welcome email
Joseph Herlant [Wed, 3 Oct 2018 02:37:47 +0000 (19:37 -0700)]
Change references from alioth to salsa in the DD welcome email

Closes: #910057

5 years agoud-guest-upgrade: do not add but replace privateSub. somebody may have added it...
Peter Palfrader [Tue, 24 Jul 2018 11:45:38 +0000 (13:45 +0200)]
ud-guest-upgrade: do not add but replace privateSub.  somebody may have added it already.

6 years agoUDLdap.py: more useful exception if our array assumptions are violated
Peter Palfrader [Wed, 25 Apr 2018 19:33:51 +0000 (21:33 +0200)]
UDLdap.py: more useful exception if our array assumptions are violated

6 years agoAdd a changelog entry
Julien Cristau [Tue, 3 Apr 2018 20:09:26 +0000 (22:09 +0200)]
Add a changelog entry

6 years agoud-mailgate: include name of unknown host in error message
Ansgar Burchardt [Tue, 3 Apr 2018 16:31:08 +0000 (18:31 +0200)]
ud-mailgate: include name of unknown host in error message

6 years agochangelog entry
Peter Palfrader [Thu, 1 Mar 2018 19:47:26 +0000 (20:47 +0100)]
changelog entry

6 years agoclean up old/obsolete code that was broken and has been commented out since forever
Peter Palfrader [Thu, 1 Mar 2018 19:47:00 +0000 (20:47 +0100)]
clean up old/obsolete code that was broken and has been commented out since forever

6 years agoAlso export a host's SSHFP records to additional dns names (sshfpHostname)
Peter Palfrader [Thu, 1 Mar 2018 19:46:28 +0000 (20:46 +0100)]
Also export a host's SSHFP records to additional dns names (sshfpHostname)

6 years agoQualify each zone file entry in sshfp with a hostname, not just the first line for...
Peter Palfrader [Thu, 1 Mar 2018 19:28:48 +0000 (20:28 +0100)]
Qualify each zone file entry in sshfp with a hostname, not just the first line for each host

6 years agoAdd sshfpHostname to schema
Peter Palfrader [Thu, 1 Mar 2018 19:20:28 +0000 (20:20 +0100)]
Add sshfpHostname to schema

6 years agoDocument sshdistAuthKeysHost
Peter Palfrader [Thu, 1 Mar 2018 19:18:07 +0000 (20:18 +0100)]
Document sshdistAuthKeysHost

6 years agoPEP-8-ify a bit
Tollef Fog Heen [Mon, 5 Feb 2018 20:36:40 +0000 (21:36 +0100)]
PEP-8-ify a bit

Not done yet, but this is much better already.  Should be no functional changes

6 years agorelease 0.3.92
Julien Cristau [Thu, 26 Oct 2017 18:29:32 +0000 (20:29 +0200)]
release 0.3.92

6 years agoFix sigcheck pgp/mime processing with gnupg 2
Julien Cristau [Thu, 26 Oct 2017 18:24:38 +0000 (20:24 +0200)]
Fix sigcheck pgp/mime processing with gnupg 2

gnupg 2.1 in stretch doesn't like MD5.

6 years agod/changelog: update with later commit
Héctor Orón Martínez [Wed, 30 Aug 2017 09:50:22 +0000 (11:50 +0200)]
d/changelog: update with later commit

Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
6 years agowelcome-message-Debian: update SSL certificate authority info
Héctor Orón Martínez [Wed, 30 Aug 2017 09:11:53 +0000 (11:11 +0200)]
welcome-message-Debian: update SSL certificate authority info

Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
6 years agobump version
Luca Filipozzi [Thu, 24 Aug 2017 16:50:18 +0000 (16:50 +0000)]
bump version

6 years agoud-mailgate: allow : in TXT record contents
Michael Stapelberg [Fri, 18 Aug 2017 06:22:17 +0000 (08:22 +0200)]
ud-mailgate: allow : in TXT record contents

Some systems require : in TXT records, e.g. upspin:
https://upspin.io/doc/server_setup.md

6 years agoFix ud-mailgate to handle the SHA256:$fingerprint output format that stretch's ssh...
Tollef Fog Heen [Sat, 12 Aug 2017 20:07:55 +0000 (22:07 +0200)]
Fix ud-mailgate to handle the SHA256:$fingerprint output format that stretch's ssh-keygen has switched to.

6 years agoAdd support for setting a TOTP seed
Tollef Fog Heen [Tue, 8 Aug 2017 22:37:56 +0000 (00:37 +0200)]
Add support for setting a TOTP seed

This still needs a bit of docs, but is functionally working.

6 years agogpg2 output differs from gpg1 - fix GPGSearch
Luca Filipozzi [Sun, 6 Aug 2017 22:59:40 +0000 (22:59 +0000)]
gpg2 output differs from gpg1 - fix GPGSearch

6 years agoud-generate: Create all ssh-gitolite individually
Peter Palfrader [Thu, 22 Jun 2017 17:14:04 +0000 (19:14 +0200)]
ud-generate: Create all ssh-gitolite individually

ud-generate:  Do not create a global ssh-gitolite.  Instead create
them per-host where needed so we can accomodate per-host ssh
authorized-keys.

6 years agoReplace RSA authentication with public-key authentication in welcome messages.
Peter Palfrader [Sun, 18 Jun 2017 20:43:09 +0000 (22:43 +0200)]
Replace RSA authentication with public-key authentication in welcome messages.

6 years agoSwitch from /org to /srv in default configuration
Paul Wise [Sat, 17 Jun 2017 06:35:12 +0000 (14:35 +0800)]
Switch from /org to /srv in default configuration

/org has been obsoleted by /srv for many years on debian.org hosts.

6 years agoPrevent guest accounts from using RTC addresses
Paul Wise [Mon, 13 Jun 2016 00:27:22 +0000 (08:27 +0800)]
Prevent guest accounts from using RTC addresses

6 years agoDrop removed-keys.gpg, it no longer exists and should not be used
Paul Wise [Fri, 12 May 2017 03:49:57 +0000 (11:49 +0800)]
Drop removed-keys.gpg, it no longer exists and should not be used

Suggested-by: Jonathan McDowell <noodles@earth.li>
Suggested-in: <20170510080756.GB11865@earth.li>

7 years agorelease 0.3.89 userdir-ldap-0.3.89
Julien Cristau [Mon, 27 Mar 2017 12:03:03 +0000 (14:03 +0200)]
release 0.3.89

7 years agoAdd changelog entry for use_mq patch
Julien Cristau [Mon, 27 Mar 2017 12:02:35 +0000 (14:02 +0200)]
Add changelog entry for use_mq patch

7 years agoAdd option "use_mq" to allow disabling the use of mq_notify in ud-generate
Christoph Berg [Mon, 27 Mar 2017 01:59:12 +0000 (09:59 +0800)]
Add option "use_mq" to allow disabling the use of mq_notify in ud-generate

7 years agoFix half-assed switch away from python-support.
Julien Cristau [Sun, 26 Mar 2017 16:20:44 +0000 (18:20 +0200)]
Fix half-assed switch away from python-support.

7 years agoprepare next version
Peter Palfrader [Sun, 26 Mar 2017 12:09:12 +0000 (14:09 +0200)]
prepare next version

7 years agorelease userdir-ldap-0.3.88
Peter Palfrader [Sun, 26 Mar 2017 12:06:06 +0000 (14:06 +0200)]
release

7 years agoUse dh_prep instead of dh_clean -k
Julien Cristau [Mon, 20 Mar 2017 10:56:49 +0000 (11:56 +0100)]
Use dh_prep instead of dh_clean -k

7 years agoUse dh-python instead of python-support.
Julien Cristau [Mon, 20 Mar 2017 10:56:31 +0000 (11:56 +0100)]
Use dh-python instead of python-support.

7 years agoUpdate Uploaders list.
Julien Cristau [Mon, 20 Mar 2017 10:53:00 +0000 (11:53 +0100)]
Update Uploaders list.

7 years agoud-useradd: When looking for free UIDs/GIDs, also consider groups
Peter Palfrader [Wed, 8 Feb 2017 17:27:15 +0000 (18:27 +0100)]
ud-useradd: When looking for free UIDs/GIDs, also consider groups