From f91be5a4f98b67d527340f68edd6fd40173330c9 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 26 Jun 2015 00:30:48 +0530 Subject: [PATCH] ldap: Store password hashes instead of plain text --- actions/change-ldap-user-password | 2 +- actions/create-ldap-user | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/change-ldap-user-password b/actions/change-ldap-user-password index 27f8c467e..36f106a73 100755 --- a/actions/change-ldap-user-password +++ b/actions/change-ldap-user-password @@ -19,7 +19,7 @@ # Must be run as root. username="$1" -password="$2" +password=$(slappasswd -s "$2") cat <