| Commit message (Collapse) | Author | Age |
|\
| |
| |
| |
| |
| |
| | |
version bump and rename .cron file
Closes #12, #11, and #10
See merge request bgstack15/laps!8
|
| |\ |
|
| | |\ |
|
| | | | |
|
| |/ /
|/| | |
|
|/ /
| |
| |
| | |
Fix #10, #11, and #12
|
|\ \
| |/
|/|
| |
| | |
Fix typo in lapsldap.conf
See merge request bgstack15/laps!7
|
|/ |
|
|
|
|
| |
fix #8 and #9
|
|\
| |
| |
| |
| | |
Version 0.0.5
See merge request bgstack15/laps!6
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/
|
|
|
| |
This option provides the mechanism required to send "--atdomain
AD.EXAMPLE.COM" to kinit-host.
|
|\
| |
| |
| | |
See merge request !4
|
| |
| |
| |
| | |
fix #5 document the recommended use of "-f" for first run
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 support
See merge request bgstack15/laps!3
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
fix debuglevoutput to actually send to stderr
See merge request bgstack15/laps!2
|
| | |
|
|\|
| |
| |
| |
| |
| |
| | |
version 0.0.2
Closes #4, #3, and #2
See merge request bgstack15/laps!1
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/ |
|
|
|