aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix typoTimothy Mullican2021-03-03
|
* add or improve documentationB Stack2020-03-23
| | | | fix #8 and #9
* Merge branch 'dev' into 'master'B Stack2019-11-20
|\ | | | | | | | | Version 0.0.5 See merge request bgstack15/laps!6
| * bump version to 0.0.5B Stack2019-07-18
| |
| * fix function calls for shldapB Stack2019-07-17
|/
* Merge branch 'dev' into 'master'B Stack2019-05-29
|\ | | | | | | | | | | | | | | | | laps 0.0.4 Changes include: * The feature for "-i" interactive is now documented. * A new environment variable/config option is available: LAPS_KINIT_HOST_SCRIPT_OPTS. It is intended for passing to kinit-host the "--atdomain" option which was recently added to upstream kinit-host. See merge request bgstack15/laps!5
| * fix minor style issuesB Stack2019-05-29
| | | | | | | | | | | | Some of the code from a previous merge did not use braces for all variables and also simplified the response codes from failed checks. This change returns the actual non-zero response when possible.
| * fix #6: document -i interactive flag, and general documentationB Stack2019-05-29
| |
| * fix #7: add LAPS_KINIT_HOST_SCRIPT_OPTSB Stack2019-05-29
|/ | | | | This option provides the mechanism required to send "--atdomain AD.EXAMPLE.COM" to kinit-host.
* Merge branch 'michaelweiser/laps-empty-timestamp'B Stack2019-03-01
|\ | | | | | | See merge request !4
| * fix style, document changes, and bump versionB Stack2019-03-01
| | | | | | | | fix #5 document the recommended use of "-f" for first run
| * Capture and handle ldapsearch errorMichael Weiser2019-02-28
| | | | | | | | | | | | | | | | | | | | | | Since the value of $? survives command substitution and variable assignment, we can capture and evaluate it. The next hurdle is that by default only the return code of the last command in a pipe is returned which is an awk in our case that will always succeed because it'll just get no input if ldapsearch fails. This can be worked around using shell option pipefail but this is a bashism. Instead we go the route of writing it to a temporary file in a group command as elsewhere in the code.
| * Do not trap SIGCHLD for dash compatibilityMichael Weiser2019-02-28
| | | | | | | | | | | | dash honors our trapping of SIGCHLD and will cause the script to exit after the first external command finishes executing. Strangely enough, bash seems to ignore the same attempt to catch SIGCHLD.
| * Fix password change dash compatibilityMichael Weiser2019-02-28
| | | | | | | | | | | | | | The echo builtin of dash has no -n option. Flatten echoing of the password to two consecutive standard echos in a group command so output can be piped to passwd in order to achive the required newlines in the output.
| * Handle empty password change timestamp LDAP attributeMichael Weiser2019-02-28
|/ | | | | | | | | | | | | | | If the password change timestamp LDAP attribute is unset, e.g. because the host has been freshly added, the search will return an empty value which will cause an error message from datetime.py: Traceback (most recent call last): File "src/usr/share/laps/dependencies/datetime.py", line 47, in <module> print action(float(timestamp)) ValueError: could not convert string to float: With this change we initialise ts_epoch to zero and leave it at that if the attribute is not set to avoid the error and cause an immediate password change.
* Merge branch 'master' into 'master'B Stack2019-01-31
|\ | | | | | | | | Add Ubuntu support See merge request bgstack15/laps!3
| * Add ubuntu supportPavel Druyan2019-01-21
|/
* Update laps.conf.example for bgscripts-core-1.4.0 directory changeB Stack2019-01-10
|
* Merge branch 'dev' into 'master'B Stack2018-10-24
|\ | | | | | | | | fix debuglevoutput to actually send to stderr See merge request bgstack15/laps!2
| * fix debuglevoutput to actually send to stderrB Stack2018-10-24
| |
* | Merge branch 'dev' into 'master'B Stack2018-10-24
|\| | | | | | | | | | | | | version 0.0.2 Closes #4, #3, and #2 See merge request bgstack15/laps!1
| * fix version.txt and the way build script learns versionB Stack2018-10-24
| |
| * release 0.0.2B Stack2018-10-24
| | | | | | | | | | | | | | | | fix $2 read action should provide date of expiration on -d 1 fix #3 add readme.md to front directory fix #4 laps does not recognize expired kerberos tickets rpm: actually complete builds with rpkg on copr
| * rpm spec %install uses %{name}*/ dirB Stack2018-10-24
|/
* initial commit and release of v0.0.1B Stack2018-10-23
bgstack15