aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix typoTimothy Mullican2021-03-03
|
* add or improve documentationB Stack2020-03-23
| | | | fix #8 and #9
* bump version to 0.0.5B Stack2019-07-18
|
* fix function calls for shldapB Stack2019-07-17
|
* 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.
* 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.
* Add ubuntu supportPavel Druyan2019-01-21
|
* Update laps.conf.example for bgscripts-core-1.4.0 directory changeB Stack2019-01-10
|
* fix debuglevoutput to actually send to stderrB Stack2018-10-24
|
* 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
* initial commit and release of v0.0.1B Stack2018-10-23
bgstack15