         # Next is an old code for pre1.3  now openldap + oldapadm are part of STTA "mktools"
         # so next lines in case of OpenLDAP are useless  ... but who knows 
         $f="openldap";
         print "<tr><td valign=top>".&text('making_files',$text{rc_files})." -- $_[2]/$f </td></tr>\n";
         &task_log("making $text{rc_files}", "install", "$_[2]/$f");
         system ("cat $setupfiles/$f"."_head >$_[2]/$f ");
         open(FILEINSTALL, ">>$_[2]/$f");
             if ( $_[0] eq "all" ) {
                   print FILEINSTALL "    ServerNames=\"$in{ttaldap} $in{ttacache}\"\n";
                   print FILEINSTALL "fi\n";
                   print FILEINSTALL "$in{ttaldap}_args=\" -h ldap://\$HOSTNAME:$config{ldap_port}/ -f /etc/openldap/$in{ttaldap}.conf \$debug_args \"\n";
                   print FILEINSTALL "$in{ttacache}_args=\" -h ldap://\$HOSTNAME:$config{ldapcache_port}/ -f /etc/openldap/$in{ttacache}.conf \$debug_args \"\n";
             } elsif ( $_[0] eq "ldap" ) {
                   print FILEINSTALL "ServerNames=\"$in{ttaldap}\"\n";
                   print FILEINSTALL "$in{ttaldap}_args=\" -h ldap://\$HOSTNAME:$config{ldap_port}/ -f /etc/openldap/$in{ttaldap}.conf \$debug_args \"\n";
             } elsif ( $_[0] eq "ldapcache" ) {
                   print FILEINSTALL "     ServerNames=\"$in{ttacache}\"\n";
                   print FILEINSTALL "fi\n";
             }
             print FILEINSTALL "SLAPD_BIN=\"$in{slapdpath}\"\n";
             print FILEINSTALL "\n";
         close (FILEINSTALL);
         system ("cat $setupfiles/$f"."_body >>$_[2]/$f ");
         system ("chmod +x $_[2]/$f");
         if ( ! -d "$config{stta_tools_dir}" ) {
              system ("mkdir $config{stta_tools_dir}");
              chmod(0777, "$config{stta_tools_dir}");
         }
         # end of OpenLDAP useless code
