Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lyz
backupninja
Commits
c2f0b78a
Commit
c2f0b78a
authored
17 years ago
by
micah
Browse files
Options
Downloads
Patches
Plain Diff
fixed ldap helper setting compress option wrong, standardize on options
parent
929a6bda
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+2
-0
2 additions, 0 deletions
ChangeLog
handlers/ldap.helper.in
+5
-5
5 additions, 5 deletions
handlers/ldap.helper.in
with
7 additions
and
5 deletions
ChangeLog
+
2
−
0
View file @
c2f0b78a
...
...
@@ -21,6 +21,8 @@ version 0.9.5 -- unreleased
. Fixed shell command quoting issues, missing 'then' clauses, cleaned up
compress=yes to be less redundant and not create empty uncompressed
file (Closes: #394935)
. Fixed ninjahelper to properly set compress option, standardized on yes/no
instead of on/off
maildir:
. Added an examples file (Closes: Trac#23)
mysql:
...
...
This diff is collapsed.
Click to expand it.
handlers/ldap.helper.in
+
5
−
5
View file @
c2f0b78a
...
...
@@ -5,11 +5,11 @@ HELPERS="$HELPERS ldap:ldap_database_backup"
ldap_create_file
()
{
while
true
;
do
checkBox
"ldap action wizard"
"check options (slapcat OR ldapsearch)"
\
"slapcat"
"export ldif using slapcat"
on
\
"ldapsearch"
"export ldif using ldapsearch"
o
ff
\
"compress"
"compress the ldif output files"
on
"slapcat"
"export ldif using slapcat"
yes
\
"ldapsearch"
"export ldif using ldapsearch"
n
o
\
"compress"
"compress the ldif output files"
yes
status
=
$?
compress
=
"compress = o
ff
"
compress
=
"compress =
n
o"
method
=
"method = <unset>"
restart
=
"restart = no"
binddn
=
""
...
...
@@ -18,7 +18,7 @@ while true; do
result
=
"
$REPLY
"
for
opt
in
$result
;
do
case
$opt
in
'"compress"'
)
compress
=
"compress =
on
"
;;
'"compress"'
)
compress
=
"compress =
yes
"
;;
'"slapcat"'
)
method
=
"method = slapcat"
[
"
$_RESTART
"
==
"yes"
]
&&
restart
=
"restart = yes"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment