Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
8f760042
Commit
8f760042
authored
Jul 31, 2014
by
Côme Bernigaud
Committed by
Benoit Mortier
Jul 31, 2014
Browse files
Fixes
#3216
find_free_role_dn should not die on error
parent
ae6962f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/bin/fusiondirectory-setup
View file @
8f760042
...
...
@@ -122,6 +122,9 @@ sub ask_user_input {
scope
=>
'
base
',
filter
=>
'
(objectClass=*)
'
);
if
((
$mesg
->
code
!=
0
)
&&
(
$mesg
->
code
!=
32
))
{
die
$mesg
->
error
;
}
}
while
(
$mesg
->
count
);
return
$cn
;
}
...
...
@@ -877,6 +880,9 @@ sub branch_exists {
# search for branch
my
$branch_mesg
=
$ldap
->
search
(
base
=>
$branch
,
filter
=>
'
(objectClass=*)
',
scope
=>
'
base
');
if
(
$branch_mesg
->
code
==
32
)
{
return
0
;
}
$branch_mesg
->
code
&&
die
$branch_mesg
->
error
;
my
@entries
=
$branch_mesg
->
entries
;
...
...
Côme Chilliet
@cchilliet
mentioned in issue
#1068 (closed)
·
Sep 02, 2017
mentioned in issue
#1068 (closed)
mentioned in issue #1068
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment