From 881d8bbe3fe9958192f016b8fab2221b2f4c8b8e Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Wed, 24 Mar 2021 14:57:29 +0100 Subject: [PATCH] Extending notes how to reset root password --- seqs/ldap.sh | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/seqs/ldap.sh b/seqs/ldap.sh index e85c23c..fa1f673 100755 --- a/seqs/ldap.sh +++ b/seqs/ldap.sh @@ -139,11 +139,26 @@ step_20() { step_80_info() { echo -e "Some ldap command notes\n"; } step_80_alias() { ALIAS="notes"; } step_80() { - echo "You can also check LDAP Base DN using the ldapsearch command as shown below" - echo "ldapsearch -H ldapi:/// -x -LLL -s base -b \"\" namingContexts" - echo - echo "To view the RootDN, run the command below" - echo "ldapsearch -H ldapi:/// -Y EXTERNAL -b \"cn=config\" \"(olcRootDN=*)\"" + outColor green + cat < "; }