Skip to content
GitLab
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
655f2216
Commit
655f2216
authored
Apr 11, 2017
by
Côme Chilliet
Browse files
Fixes #5474 Create workstation branch if missing when migrating winstation
parent
8d95785f
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/bin/fusiondirectory-setup
View file @
655f2216
...
...
@@ -1488,7 +1488,7 @@ sub migrate_winstations
$dn_old
=~
m/^[^,]+,.*$systemrdn,(.+)$/
or
die
"
Could not parse dn
"
.
$dn_old
.
"
\n
";
my
$entrybase
=
$
1
;
if
(
!
branch_exists
(
$ldap
,
"
$workstationrdn
,
$entrybase
"))
{
if
(
$workstationrdn
=~
m/^([^,]),([^,])$/
)
{
if
(
$workstationrdn
=~
m/^([^,]
+
),([^,]
+
)$/
)
{
if
(
!
branch_exists
(
$ldap
,
"
$2,
$entrybase
"))
{
create_branch
(
$ldap
,
$entrybase
,
$
2
);
}
...
...
Côme Chilliet
@cchilliet
mentioned in issue
#1747 (closed)
·
Sep 02, 2017
mentioned in issue
#1747 (closed)
mentioned in issue #1747
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment