Rotten mud: Integration of Domino LDAP with WingFTP

Source: Internet
Author: User
Tags ftp login ldap port ldap port number

This article was sponsored by 51cto.com and first launched in the dark world.

At present, according to the company's needs, combined with the specific functions of the relevant FTP software. We recommend that you use Domino and WingFTP for integration.

The reason is that Domino is not integrated with AD, because the password synchronization problem cannot be solved during the integration of Domino with AD, and the integration configuration of Domino and AD is quite troublesome. Therefore, this solution is temporarily abandoned.

Integration of Domino with WingFTP requires two steps. One is the configuration of DominoLDAP and the other is the configuration of WingFTP.

1. Configure the LDAP service of Domino

The LDAP service configuration for Domino is as follows:

Note that the LDAP service of Domino uses port 389, for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image001 "border =" 0 "alt =" clip_image001 "src =" http://www.bkjia.com/uploads/allimg/131228/015911O64-0.png "width =" 576 "height =" 373 "/>

If you need to modify the LDAP port, you can modify it here.

Now we will officially configure LDAP. Click "Configure"-"directory"-"LDAP"-"set ". If this operation is performed for the first time, the system will prompt that the document configuration is missing. Click OK to enter the document setting status. After using the default settings in the document, save and exit.

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image002 "border =" 0 "alt =" clip_image002 "src =" http://www.bkjia.com/uploads/allimg/131228/015911I21-1.png "width =" 540 "height =" 325 "/>

Next, we need to create a database. Open "file"-"application"-"new", such:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image003 "border =" 0 "alt =" clip_image003 "src =" http://www.bkjia.com/uploads/allimg/131228/015911L24-2.png "width =" 536 "height =" 471 "/>

Fill in the relevant information in the pop-up window, "template" must select "Directory compliance ":

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image004 "border =" 0 "alt =" clip_image004 "src =" http://www.bkjia.com/uploads/allimg/131228/0159111551-3.png "width =" 433 "height =" 450 "/>

The "File Name: AD. nsf" marked in the yellow part must be remembered. When the configuration is completed, we will use it.

Click "OK". The following page is displayed:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image006 "border =" 0 "alt =" clip_image006 "src =" http://www.bkjia.com/uploads/allimg/131228/01591112M-4.jpg "width =" 557 "height =" 194 "/>

Click "Add Directory Maintenance ance" to Add a Directory database. In "Domain type", you must select "Notes". You can select others as shown in the following figure.

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image007 "border =" 0 "alt =" clip_image007 "src =" http://www.bkjia.com/uploads/allimg/131228/0159113092-5.png "width =" 585 "height =" 433 "/>

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image009 "border =" 0 "alt =" clip_image009 "src =" http://www.bkjia.com/uploads/allimg/131228/0159116410-6.jpg "width =" 557 "height =" 233 "/>

On the Replicas tab, note the following:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image010 "border =" 0 "alt =" clip_image010 "src =" http://www.bkjia.com/uploads/allimg/131228/01591141Y-7.png "width =" 585 "height =" 326 "/>

Now we return to the main configuration page of the server and enter the correct directory database name, as shown below:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image011 "border =" 0 "alt =" clip_image011 "src =" http://www.bkjia.com/uploads/allimg/131228/0159115319-8.png "width =" 585 "height =" 436 "/>

After the above configuration is complete, we will first test whether LDAP works properly. Start outlook express and click "Tools"-"Account"-"add"-"directory service", for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image012 "border =" 0 "alt =" clip_image012 "src =" http://www.bkjia.com/uploads/allimg/131228/0159113033-9.png "width =" 567 "height =" 331 "/> 650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image013 "border =" 0 "alt =" clip_image013 "src =" http://www.bkjia.com/uploads/allimg/131228/0159115107-10.png "width =" 567 "height =" 331 "/>

Enter the directory server address of LDAP, and then follow the operation. For example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image014 "border =" 0 "alt =" clip_image014 "src =" http://www.bkjia.com/uploads/allimg/131228/0159115601-11.png "width =" 538 "height =" 380 "/>

Then we will return again to check the LDAP port number, for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image015 "border =" 0 "alt =" clip_image015 "src =" http://www.bkjia.com/uploads/allimg/131228/015911CF-12.png "width =" 585 "height =" 396 "/>

Then, click "Search"-"Personal" and select our LDAP server in "search range", for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image016 "border =" 0 "alt =" clip_image016 "src =" http://www.bkjia.com/uploads/allimg/131228/0159111c4-13.png "width =" 572 "height =" 341 "/>

Through this, we can see that the LDAP directory service of Domino is ready to work and use.

Ii. installation and configuration of WingFTP

Install WingFTP before configuring WingFTP. I will not discuss how to install WingFTP here. Follow the prompts to install the SDK.

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image017 "border =" 0 "alt =" clip_image017 "src =" http://www.bkjia.com/uploads/allimg/131228/0159112425-14.png "width =" 585 "height =" 210 "/>

After WingFTP is installed, the logon page is displayed, as shown in figure. We need a new domain, as shown below:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image018 "border =" 0 "alt =" clip_image018 "src =" http://www.bkjia.com/uploads/allimg/131228/0159114549-15.png "width =" 485 "height =" 399 "/>

The interface after the domain is created is as follows:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image019 "border =" 0 "alt =" clip_image019 "src =" http://www.bkjia.com/uploads/allimg/131228/015911J24-16.png "width =" 585 "height =" 377 "/>

After the domain is created, we will add a new user. To test whether FTP works normally. We will also use this new user later.

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image020 "border =" 0 "alt =" clip_image020 "src =" http://www.bkjia.com/uploads/allimg/131228/0159114B1-17.png "width =" 585 "height =" 323 "/>

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image021 "border =" 0 "alt =" clip_image021 "src =" http://www.bkjia.com/uploads/allimg/131228/0159113464-18.png "width =" 585 "height =" 410 "/>

We can see that user b1 can log on to FTP normally. It means that FTP can work completely normally now.

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image022 "border =" 0 "alt =" clip_image022 "src =" http://www.bkjia.com/uploads/allimg/131228/01591162c-19.png "width =" 585 "height =" 539 "/>

3. Integration of Domino and WingFTP

We have completed the WingFTP configuration. Next we will set WingFTP to integrate with Domino. Click the "broada" domain and find "configuration"-"data storage method", for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image023 "border =" 0 "alt =" clip_image023 "src =" http://www.bkjia.com/uploads/allimg/131228/0159115416-20.png "width =" 585 "height =" 302 "/>

Click the "LDAP" tab and click "enable LDAP authentication", for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image024 "border =" 0 "alt =" clip_image024 "src =" http://www.bkjia.com/uploads/allimg/131228/0159113524-21.png "width =" 585 "height =" 443 "/>

In the "server" option, enter the address of our LDAP server. Now it is "ldap. broada. cc ". "Port" is "389" by default ". In user filtering, you must note that the format is: (& (objectClass = person) (uid = % s ))

After entering the information, click "connection test", for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image025 "border =" 0 "alt =" clip_image025 "src =" http://www.bkjia.com/uploads/allimg/131228/01591150V-22.png "width =" 584 "height =" 410 "/>

We can see that we can connect to the LDAP server normally. Next, we will configure the root directory permissions of the Domino user as follows:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image026 "border =" 0 "alt =" clip_image026 "src =" http://www.bkjia.com/uploads/allimg/131228/0159113329-23.png "width =" 585 "height =" 408 "/>

After the configuration is complete, we can use the Domino user to test whether FTP login is normal.

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image027 "border =" 0 "alt =" clip_image027 "src =" http://www.bkjia.com/uploads/allimg/131228/0159113949-24.png "width =" 585 "height =" 354 "/>

You can see that users in Domino can log on to FTP normally and access the root directory we set normally.

Iv. Setting specific permissions for Domino users

When using FTP, you can set the directory for FTP to grant permissions to the directory.

We can also implement it in WingFTP. However, neither Server-u ftp nor Xlight FTP can implement this function. In the specific setting process, several users are involved. One is a user in WingFTP, that is, a local user. In addition, it is the Domino user and the user group in Domino.

If you control individual user permissions, that is, the local user corresponds to the Domino user. If the user group permissions are controlled, the local user corresponds to the user group in Domino.

The principle of permission control is to grant users in Domino to local users in WingFTP, and control the access permissions of local users to the directory to achieve the goal of Domino users to control the FTP directory.

The specific operations are as follows:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image028 "border =" 0 "alt =" clip_image028 "src =" http://www.bkjia.com/uploads/allimg/131228/0159111012-25.png "width =" 585 "height =" 465 "/>

It is the permission of the local user b1 on the b1 directory. We can see that all the control permissions have been handed over to the b1 user. Now we start to configure the Domino ing between the local user and the Domino user, for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image029 "border =" 0 "alt =" clip_image029 "src =" http://www.bkjia.com/uploads/allimg/131228/01591155R-26.png "width =" 585 "height =" 483 "/>

Click "add LDAP user ing", for example:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image030 "border =" 0 "alt =" clip_image030 "src =" http://www.bkjia.com/uploads/allimg/131228/0159112333-27.png "width =" 585 "height =" 390 "/>

We only need to modify the content, such:

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image031 "border =" 0 "alt =" clip_image031 "src =" http://www.bkjia.com/uploads/allimg/131228/0159113935-28.png "width =" 585 "height =" 336 "/>

Now let's test whether we can achieve our goal.

650) this. width = 650; "style =" background-image: none; margin: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image032 "border =" 0 "alt =" clip_image032 "src =" http://www.bkjia.com/uploads/allimg/131228/0159112O9-29.png "width =" 585 "height =" 398 "/>

Through, we can see that we have achieved our goal. This is just a user. If there are multiple users, we can map them to user groups.

650) this. width = 650; "style =" background-image: none; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; "title =" clip_image033 "border =" 0 "alt =" clip_image033 "src =" http://www.bkjia.com/uploads/allimg/131228/0159111R1-30.png "width =" 585 "height =" 345 "/>

PS: currently, user group settings are not successfully tested.

Address: http://www.ilanni.com/archives/3353.html

This article is from the blog "Muddy in the dark". For more information, contact the author!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.