Skip to content
Snippets Groups Projects
Commit 2b93987a authored by nimrod's avatar nimrod
Browse files

Remove superfluous flags.

The -v flags is already set in the alias.
parent 3b3fec12
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,9 @@ set -eux
alias slapcat='slapcat -vF /var/lib/ldap/config'
slapcat -n0 -v -l /var/backups/ldap/config.ldif
slapcat -n0 -l /var/backups/ldap/config.ldif
for dn in $(ldapsearch -Y EXTERNAL -LLL -s base -b '' o namingContexts | sed -n '/namingContexts/ s/namingContexts: //gp')
do
slapcat -b "$dn" -v -l "/var/backups/ldap/$dn.ldif"
slapcat -b "$dn" -l "/var/backups/ldap/$dn.ldif"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment