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
agallavardin
fusiondirectory-plugins
Commits
a3a32860
Commit
a3a32860
authored
May 04, 2015
by
Côme Bernigaud
Committed by
Benoit Mortier
May 04, 2015
Browse files
Fixes #3743 In FAI plugin base propositions should contain distribution
parent
08d8a094
Changes
1
Hide whitespace changes
Inline
Side-by-side
fai/admin/fai/class_faiManagement.inc
View file @
a3a32860
...
...
@@ -813,7 +813,8 @@ class faiManagement extends management
$ldap
->
search
(
'(objectClass=FAIbranch)'
,
array
(
'ou'
,
'FAIstate'
));
while
(
$release
=
$ldap
->
fetch
())
{
$list
[
$release
[
'dn'
]]
=
$release
[
'ou'
][
0
];
preg_match
(
'/[^,],ou=([^,]+),/'
,
$release
[
'dn'
],
$m
);
$list
[
$release
[
'dn'
]]
=
$m
[
1
]
.
'/'
.
$release
[
'ou'
][
0
];
}
return
$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