Detailed explanation of the perfect integration solution between Serv-U FTP and AD

Detailed explanation of the perfect integration solution between Serv-U FTP and AD

I logged into the backend to check the solution that the company is currently using. The FTP server used is Server-u FTP, and the authentication method selected is Windows Authentication. The file server uses Windows' native NTFS permissions for allocation, while the mail server uses IBM's Domino.

Now that you know the current solution and related software, let's integrate them. I found that the latest version of Server-U FTP supports AD and LDAP authentication. I also found that domino also supports AD, but I heard that the configuration is very complicated. I will explain the integration of AD and Domino in the next article. This time we will only explain AD and Server-U FTP.

To integrate Server-U with AD, we have the following requirements:

1. Be very familiar with Server-U and be able to configure Server-U skillfully.

2. Must be very familiar with AD and be able to independently install, configure, and operate AD.

3. Be aware of NTFS permission configuration and be able to perform relevant configuration as required.

All of our following experiments were conducted on the server Windows Server 2003 Enterprise Edition, with an IP of 192.168.128.133, and the client was XP, with an IP of 192.168.128.134.

clip_image002

clip_image004

First of all, we need to install and configure AD. You can search on Baidu or Google for information about AD installation and configuration. I will not go into details here.

clip_image005

clip_image007

The above is the relevant display information of the correct AD configuration. After the configuration is completed, we need to establish the corresponding organizational unit. The name of the organizational unit must not be in Chinese. Please remember this. Otherwise, you will not be able to log in via FTP after integration with Server-U.

clip_image008

Here we create a new organizational unit, the screenshot is as follows:

clip_image009

Then, we create a new user "erxian1" and "ceshi1" under the two organizations "erxian" and "ceshi" respectively:

clip_image011

clip_image013

The relevant configurations in AD are completed. The following is mainly the configuration in Server-U.

After installing Server-U, you will be prompted to create a new domain (PS: this domain is different from the domain in AD), as shown below:

clip_image014

Fill in the form according to the prompts. After completion, you will be prompted to create a new user again, as shown below:

clip_image015

At this time we click "No", then go to the control panel and find "Configure Windows Authentication Settings" under the "User" option:

clip_image016

In the pop-up window, click "Enable Windows Authentication", as shown below:

clip_image017

Then fill in the AD domain name in the pop-up window, as shown below:

clip_image018

After saving, click "Configure OU Group" and fill in the name that is the same as the AD organizational unit structure in the pop-up window as shown below:

clip_image020

During the configuration process, we can create the corresponding access directory and the corresponding directory access permissions:

clip_image022

clip_image023

OK, after the above settings are completed. We start to set up the FTP related access directories. Our current FTP root directory is C:\testFTP, which contains several other directories. As shown below:

clip_image024

The NTFS permissions for the "testFTP" directory are:

clip_image025

Ordinary domain users have read and view permissions

clip_image024[1]

The members of the directories "Test Department" and "Second Line Department" who belong to their respective organizational units can exercise all permissions for their respective directories. As shown below:

clip_image026

You may ask, why don’t we see separate user access permissions in this picture? That’s because the “second line” in the picture is a group, and this is a group in AD. The permissions in the above figure mean that all members of the Second Line Department group in AD can perform related operations on the directory "Second Line Department".

clip_image028

Why do we do this? It is mainly for the convenience of operation for us in the future. If a new person comes, we just need to create a new account and add him to the group. We don't need to configure his permissions in the future.

OK, the above configuration is finally completed. Let's log in to the client and perform relevant tests.

clip_image030

clip_image032

From the above screenshots, we can see that the "erxian1" user can now log in to FTP and create new folders under the "Second Line Department" directory. Then we switch to the "Test Department" directory to see if we can get in.

clip_image034

You can see that there is no permission to access. That means our goal has been achieved. FTP service is provided by Server-U, accounts are provided by AD, and permissions are set by NTFS.

PS: Actually, there is another question, that is, both Server-U and NTFS can set permissions, so what are the final permissions?

For this problem, after my test, the final permissions are superimposed...

<<:  MySQL v5.7.18 decompression version installation detailed tutorial

>>:  JavaScript counts the number of times a character appears

Recommend

5 things to note when writing React components using hooks

Table of contents 01. Use useState when render is...

How to allow remote connection in MySql

How to allow remote connection in MySql To achiev...

Configure selenium environment based on linux and implement operation

1. Using Selenium in Linux 1. Install Chrome Inst...

Implementation of Nginx load balancing cluster

(1) Experimental environment youxi1 192.168.5.101...

Detailed example of mysql trigger usage

MySQL trigger syntax details: A trigger is a spec...

Briefly understand the MYSQL database optimization stage

introduction Have you ever encountered a situatio...

Sharing some details about MySQL indexes

A few days ago, a colleague asked me a question a...

Detailed steps for installing and configuring MySQL 8.0 on CentOS 7.4 64-bit

Step 1: Get the MySQL YUM source Go to the MySQL ...

Implementation principle and configuration of MySql master-slave replication

Database read-write separation is an essential an...

HTML form submission method case study

To summarize the form submission method: 1. Use t...

Vue implements left and right sliding effect example code

Preface The effect problems used in personal actu...

Detailed explanation of Nginx access restriction configuration

What is Nginx access restriction configuration Ng...