Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove some extra quote characters accidentally submitted | Dan Fandrich | 2023-12-27 | 1 | -3/+1 |
| | |||||
* | Port ldap-sshkey2file.py to Python 3 | Dan Fandrich | 2023-12-27 | 1 | -83/+89 |
| | | | | It now also passes pytype and (mostly) flake8 checks. | ||||
* | this is python2 code | Thomas Backlund | 2021-11-28 | 1 | -1/+1 |
| | |||||
* | ldap-sshkey2file.py: add dry-run and verbose mode | Olivier Blin | 2017-02-23 | 1 | -0/+16 |
| | |||||
* | ldap-sshkey2file.py: use argparse for options parsing and usage | Olivier Blin | 2017-02-23 | 1 | -16/+15 |
| | |||||
* | ldap-sshkey2file.py: reorder code in write_keys to prepare adding a dry-run mode | Olivier Blin | 2017-02-23 | 1 | -29/+29 |
| | |||||
* | ldap-sshkey2file.py: fix path of authorized_keys in usage | Olivier Blin | 2017-02-23 | 1 | -1/+1 |
| | |||||
* | Fix ldap-sshkey2file so it doesn't crash when a user has no uidNumber | Dan Fandrich | 2017-02-23 | 1 | -3/+3 |
| | | | | | This shouldn't happen in normal operation, but can happen when binding to a DN who doesn't have access to that attribute. | ||||
* | openssh: Fix writing ssh public keys, with new ldap secret location | Olivier Blin | 2016-02-21 | 1 | -5/+39 |
| | | | | ldap secret is now stored in the bindpw field of /etc/nslcd.conf | ||||
* | openssh: Ensure ownership is set correctly on authorized_keys | Colin Guthrie | 2015-02-06 | 1 | -0/+5 |
| | | | | | | This was highlighted by a problem encountered by Nicolas Salguero. Many thanks for your patience. | ||||
* | openssh: Fix python copy/paste error. | Colin Guthrie | 2015-02-03 | 1 | -1/+1 |
| | | | | Introduced in d5148ffbb0514c37893002e4988c5f7f379586bf | ||||
* | openssh: Return failure when no keys are updated. | Colin Guthrie | 2015-01-18 | 1 | -2/+15 |
| | | | | We can then use this exit status to run other commands when keys are updated. | ||||
* | openssh: Only write authorized_keys file when it's different | Colin Guthrie | 2015-01-18 | 1 | -7/+20 |
| | | | | | This saves disk churn and will eventually allow us to take further action when keys actually change. | ||||
* | openssh: Use temp file when writing keys from LDAP. | Colin Guthrie | 2015-01-18 | 1 | -7/+12 |
| | | | | | | | This helps avoid a race condition when the file is not yet written properly when a new SSH connection from that user comes in. This isn't really a problem in practice, but we may as well do it. | ||||
* | Revert "Temporary hack to work around LDAP server sync problem" | Colin Guthrie | 2014-09-23 | 1 | -6/+0 |
| | | | | | | This reverts commit cc302084ccf54fb8f067f8dd5d7f7c07ed50b019. Slave LDAP now back cookin' on gas! | ||||
* | Temporary hack to work around LDAP server sync problem | Colin Guthrie | 2014-09-16 | 1 | -0/+6 |
| | |||||
* | Partially revert part of r3378 which wasn't meant to be in the commit :( | Colin Guthrie | 2013-12-05 | 1 | -2/+0 |
| | |||||
* | Add mgaonline to the freeze exception pkg regexp | Colin Guthrie | 2013-12-05 | 1 | -0/+2 |
| | |||||
* | ldap-sshkey2file.py: export ssh keys to /home directory | Nicolas Vigier | 2013-07-06 | 1 | -5/+14 |
| | | | | Thanks to Colin for help on this | ||||
* | do not use start tls on ldaps connection, as this produce a traceback | Michael Scherer | 2012-01-28 | 1 | -1/+2 |
| | |||||
* | iuse the new get_ldap_servers to get the list of all ldap servers | Michael Scherer | 2012-01-22 | 1 | -1/+4 |
| | |||||
* | move ldap-sshkey2file.py to openssh module (where it is used) | Nicolas Vigier | 2011-08-21 | 1 | -0/+92 |