0042.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Free Filezilla FTP Server with LDAP Authentication</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="How To FTP Server LDAP Authentication,How To Setup FileZilla Server LDAP,FTP,LDAP,Windows,FileZilla,FTP Server,Home Lab,Install Guide,Self-Hosted,Active Directory,Administration,Authentication,File Transfer Protocol,FileZilla Server Setup,Free Software,Microsoft Windows,Microsoft,Network,System Administrator,Secure FTP Server,Self-hosted,FTP LDAP Authentication,FTP Windows User Auth,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing Free Filezilla FTP Server with LDAP Authentication">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="03/26/2022 09:50:55 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Installing Free Filezilla FTP Server with LDAP Authentication</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Installing FileZilla Server</h2>
  26. <ol>
  27. <li>Download FileZilla with LDAP support, FzLDAP <a href="https://sourceforge.net/projects/fzldap/" target="_blank">Download</a></li>
  28. <li>Install the downloaded executable</li>
  29. <li>Launch FileZilla Server Administration</li>
  30. <li>Select Edit &gt; Settings from the top navigation</li>
  31. <li>Click LDAP from the left navigation</li>
  32. <li>Check the Enable LDAP support box</li>
  33. <li>Fill out the LDAP server, port and domain name</li>
  34. <li>Click OK</li>
  35. </ol>
  36. <h2>Adding Individual LDAP Users</h2>
  37. <ol>
  38. <li>Back in Server Administration click Edit &gt; Users</li>
  39. <li>Click the Add button under Users</li>
  40. <li>Enter the username exactly as it is in LDAP</li>
  41. <li>Leave the Password checkbox unchecked</li>
  42. <li>Under the Check password in section uncheck LOCAL and check the LDAP option</li>
  43. <li>Click Shared folders under the Page section</li>
  44. <li>Click the Add button and browse to folder(s) to share with the new user</li>
  45. <li>Set the users permissions to the right of the directories box</li>
  46. <li>Click OK once finish with configuration.</li>
  47. </ol>
  48. <h2>Batch Importing LDAP Users</h2>
  49. <ol>
  50. <li>From the Start menu launch FzLDAP Import</li>
  51. <li>Fill out the LDAP server information
  52. <p>Server: i12bretro.local<br />
  53. Port: 389<br />
  54. Domain: i12bretro.local<br />
  55. User: readonly_svc<br />
  56. Password: Read0nly!!<br />
  57. Base DN: DC=i12bretro,DC=local<br />
  58. Search DN: CN=Users,DC=i12bretro,DC=local<br />
  59. Search: cn=*</p>
  60. </li>
  61. <li>A list of users found with the LDAP search will display &gt; Click Next</li>
  62. <li>Set the FTP root directory path</li>
  63. <li>Click the Generate button</li>
  64. <li>A summary will be displayed &gt; Click OK</li>
  65. <li>Click the ed button next to users.txt to view the generated users file</li>
  66. <li>Open File Explorer and navigate to C:\Program Files (x86)\FileZilla Server</li>
  67. <li>Edit FileZilla Server.xml in a text editor</li>
  68. <li>Copy the user(s) generated in users.txt to the Users node of FileZilla Server.xml</li>
  69. <li>Save the changes to FileZilla Server.xml</li>
  70. <li>Right click on the Start button &gt; Run &gt; type services.msc &gt; Press Enter</li>
  71. <li>Find the FileZilla Server FTP server and restart the service</li>
  72. <li>Load FileZilla Server Administration</li>
  73. <li>Click Edit &gt; Users from the top navigation</li>
  74. <li>The imported user(s) should be listed and editable</li>
  75. </ol>
  76. <h2>Testing LDAP Authentication</h2>
  77. <ol>
  78. <li><label for="cb_li_445432_0">Download FileZilla FTP client </label><label for="cb_li_445432_0"><a href="https://filezilla-project.org/download.php?show_all=1" target="_blank">Download</a></label></li>
  79. <li><label for="cb_li_743670_1">Extract the downloaded FileZilla .zip file</label></li>
  80. <li><label for="cb_li_743670_1">Launch FileZilla.exe</label></li>
  81. <li>Enter the FileZilla server DNS name or IP address in the host field</li>
  82. <li>Enter the LDAP credentials in the username and password fields</li>
  83. <li>Click the Quickconnect button</li>
  84. </ol>
  85. </div>
  86. </div>
  87. </body>
  88. </html>