aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--laps.spec6
-rw-r--r--src/usr/share/doc/laps/changes3
-rw-r--r--src/usr/share/doc/laps/version.txt2
-rwxr-xr-xsrc/usr/share/laps/laps.sh2
4 files changed, 8 insertions, 5 deletions
diff --git a/laps.spec b/laps.spec
index 9fce9fb..2b8bf26 100644
--- a/laps.spec
+++ b/laps.spec
@@ -1,6 +1,6 @@
%define debug_package %{nil}
Name: laps
-Version: 0.0.4
+Version: 0.0.5
Release: 1
Summary: local administrator password solution
@@ -11,7 +11,7 @@ Source0: laps-%{version}.tgz
BuildArch: noarch
BuildRequires: coreutils
-Requires: bgscripts-core >= 1.4.3
+Requires: bgscripts-core >= 1.4.4
Requires: krb5-workstation
Requires: openldap-clients
Requires: passwd
@@ -44,5 +44,5 @@ cp -pr %{name}*/src/* "%{buildroot}"
%{_datadir}/%{name}
%changelog
-* Fri Mar 1 2019 B Stack <bgstack15@gmail.com> 0.0.3-1
+* Thu Jul 18 2019 B Stack <bgstack15@gmail.com> 0.0.5-1
- rpm built
diff --git a/src/usr/share/doc/laps/changes b/src/usr/share/doc/laps/changes
index 867a14a..c7067e3 100644
--- a/src/usr/share/doc/laps/changes
+++ b/src/usr/share/doc/laps/changes
@@ -10,3 +10,6 @@
* May 29 2019 B Stack <bgstack15@gmail.com> - 0.0.4-1
- fix #6 document the -i interactive flag
- fix #7 add LAPS_KINIT_HOST_SCRIPT_OPTS
+
+* Thu Jul 18 2019 B Stack <bgstack15@gmail.com> - 0.0.5-1
+- move library functions out of laps
diff --git a/src/usr/share/doc/laps/version.txt b/src/usr/share/doc/laps/version.txt
index 81340c7..bbdeab6 100644
--- a/src/usr/share/doc/laps/version.txt
+++ b/src/usr/share/doc/laps/version.txt
@@ -1 +1 @@
-0.0.4
+0.0.5
diff --git a/src/usr/share/laps/laps.sh b/src/usr/share/laps/laps.sh
index 30c3715..1023dc4 100755
--- a/src/usr/share/laps/laps.sh
+++ b/src/usr/share/laps/laps.sh
@@ -252,7 +252,7 @@ wrapper_change_password() {
then
echo "0" > "${LAPS_PASSWORD_STATUS_TMPFILE}"
else
- ___wcp_stdout="$( printf "%s\n%s\n" "${___wcp_phrase}" "${___wcp_phrase}" | "${___wcp_passwd_bin}" "${___wcp_user}" ; echo "$?" > "${LAPS_PASSWORD_STATUS_TMPFILE}" )"
+ ___wcp_stdout="$( printf "%s\n%s\n" "${___wcp_phrase}" "${___wcp_phrase}" | "${___wcp_passwd_bin}" "${___wcp_user}" 2>&1 ; echo "$?" > "${LAPS_PASSWORD_STATUS_TMPFILE}" )"
fi
___wcp_passwd_result="$( cat "${LAPS_PASSWORD_STATUS_TMPFILE}" )"
bgstack15