Make sure to enable the server before moving on.įor How to resolve LDAP conflicts with manually created Drupal accounts (e.g. Save the settings for Servers and we'll move on to User momentarily - let's run the test function and make sure that our Drupal instance can communicate with our LDAP server. we will once again use uid, and for User attribute held in "LDAP Group Entry Attribute Holding." we're going to use cn. For L DAP Group Entry Attribute Holding User's DN, CN, etc. Because we're using nested groups, select the checkbox for Nested groups are used in my LDAP. Within LDAP Group Configuration we need to define the Name of Group Object Class, which is ou. Next we have to define some basic attributes, the AuthName attribute is uid and the Email attribute is mail. Within Base DNs for LDAP users, groups, and other entries, we're going to use the high-level dc=example,dc=com - that way we get all of the groups and their users. Our Binding Method is Service Account Bind, and our DN is cn=read-only-admin,dc=example,dc=com. Name your server, define the LDAP Server Type as Open LDAP, the LDAP Server will contain the server address (we're using ) and the Port is 389. If you're using the test server provided, just follow along. Servers - let's start by selecting Add LDAP Server Configuration, and here we'll define our various Connection Settings - note, these are based on the attributes that we obtained from the LDAP server earlier. Settings (no settings need to be changed).There are seven sections in the LDAP module, let’s walk through the settings for each one (based on the LDAP settings we looked at earlier): LDAP Module Configuration - /admin/config/people/ldap We'll continue the configuration in our next post, please stay tuned. Let’s navigate over to: /admin/config/people/ldap (example: /admin/config/people/ldap or, from within Drupal, click Configuration at the top of the navigation bar, and then, in the upper-left section, People, select LDAP Configuration. Once all that's done, we’re ready to start configuring the LDAP module. Now it’s time to enable the new modules we committed, so let’s head over to our Drupal instance make our way to Modules. ![]() Take a look at the screenshots below to see how our test server is configured. On the test server, we have three primary groups (chemists, mathematicians and scientists) and fouteen users. ![]() Depending on your server's configuration, you'll want to make note of how groups ( ou) and users ( uid) are categorized. ![]() We need to enter the hostname, port, bind DN, and bind password (use simple authentication). Getting Started:īefore we hop into our Drupal instance and start the LDAP configuration, let’s take a look at the LDAP server and make sure that we can connect to it and identify some essential pieces of information - I’ll be using Apache Directory Studio. * Apache Directory Studio - if you’re operating off of your own server, you will likely need some method of navigating through the LDAP directory and dialing down to specific information, such as organization and labeling parameters.
0 Comments
Leave a Reply. |