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
ba47d751
Commit
ba47d751
authored
Jan 09, 2017
by
Côme Chilliet
Browse files
Fixes #5296 fixed dhcp migration regexp
parent
46708145
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/bin/fusiondirectory-setup
View file @
ba47d751
...
...
@@ -1454,7 +1454,7 @@ sub migrate_dhcp {
}
else
{
if
(
ask_yn_question
("
Move these entries to the DHCP branch (
$dhcprdn
)?
"))
{
foreach
my
$entrydn
(
@baddns
)
{
$entrydn
=~
m/^([^,]+),(cn=(
.
+),$systemrdn,(.+))$/
or
die
"
Could not parse dn
"
.
$entrydn
.
"
\n
";
$entrydn
=~
m/^([^,]+),(cn=(
[^,]
+),
.*
$systemrdn,(.+))$/
or
die
"
Could not parse dn
"
.
$entrydn
.
"
\n
";
my
$rdn
=
$
1
;
my
$systemdn
=
$
2
;
my
$systemcn
=
$
3
;
...
...
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