diff --git a/scripts/data2ldif.pl b/scripts/data2ldif.pl index e88d7bf..3471394 100755 --- a/scripts/data2ldif.pl +++ b/scripts/data2ldif.pl @@ -204,7 +204,7 @@ LINE: while() { if (!defined($timestamp)) { $timestamp = ""; } if (!defined($loc)) { $loc = ""; } my $id = "NSA-$fqdn-$ip-$x-$ttl-$timestamp-$loc"; - my $domain = getdomain($fqdn); + my $domain = $fqdn; print $outfh "dn: cn=$id,cn=$domain,$basedn\n"; print $outfh "objectClass: top\n";