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
16c9d117
Commit
16c9d117
authored
May 27, 2015
by
Côme Bernigaud
Committed by
Benoit Mortier
May 27, 2015
Browse files
Fixes #3785 Removing txt records from reverse zone
parent
22729de6
Changes
2
Hide whitespace changes
Inline
Side-by-side
dns/admin/systems/services/dns/class_DNS.inc
View file @
16c9d117
...
...
@@ -281,6 +281,7 @@ class DNS
$newRDn
=
"zoneName="
.
$zone
[
'ReverseZone'
]
.
","
.
$base
;
$rObj
=
$obj
;
$rObj
[
'zoneName'
]
=
$zone
[
'ReverseZone'
];
unset
(
$rObj
[
'tXTRecord'
]);
/* Remove TXT records from reverse zone */
$add
[
$newRDn
]
=
$rObj
;
/* Remove currently managed zone from oldZones.
...
...
dns/admin/systems/services/dns/class_serviceDNSeditZoneEntries.inc
View file @
16c9d117
...
...
@@ -358,7 +358,7 @@ class servDNSeditZoneEntries extends plugin
$ldap
=
$this
->
config
->
get_ldap_link
();
$ldap
->
cd
(
$this
->
config
->
current
[
'BASE'
]);
/* move foll
w
oing entries */
/* move follo
w
ing entries */
foreach
(
$tmp
[
'move'
]
as
$src
=>
$dst
)
{
$this
->
move
(
$src
,
$dst
);
}
...
...
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