Configure a database connection for Serv-U

zhaozj2021-02-16  63

The old version of Serv-U (seems to be 4.1 previous version) Rely on plugins for database connections, and current version 5.0.0.9 provides support for ODBC databases, the following is the configuration process of Access database:

1 Create a database file, assume that servu, create a table in this library, assume name User, create 4 columns in the table, assuming name: username, password, accessrule, Homedir

2 Create an ODBC data source, assume that you create a system DSN called TEST

3 Create a "new domain" in Servu, created according to the wizard, select "Store In ODBC Database" in the last step

4 Click the newly created domain name in the tree control on the left side of Servu, select the "ODBC" tab on the right, follow your own needs. Note that there is a small problem in the online documentation of 5.0.0.9, the minimum documentation Need a table-user account table, which requires at least 3 columns: username, user password, home directory. However, it is found in the actual operation. A list: Directory / IP Access Rule. Follow the above process, it should be corresponding here enter:

ODBC Source Name: Test

Table Name of User: User

Column Name of Account Name: UserName

Column Name of Password: Password

Column Name of Dir / IP Access Rule: Access

Column Name of Home Directory: Homedir

The above is the smallest configuration requirements of Servu's database, and then click Apply Buttons.

Test: Directly open the database, use the FTP client software to log in with the FTP client software after adding a user TestUser (Note: Servu uses the MD5 to encrypt the password, if you enter a flattext directly in the database table Best use of Servu to create a user, then copy the value of the Password column in the table to Testuser)

If you cannot start the newly created Domain, you can go to Server -> Activity -> Session log View Task Log

转载请注明原文地址:https://www.9cbs.com/read-17508.html

New Post(0)