Easy methods to populate an LDAP server with customers and teams by way of phpLDAPadmin

Picture: Jack Wallen

In case you have an LDAP server, I guess you understand how time consuming it may be so as to add customers. If in case you have the time, you possibly can all the time create a file, full with all your formatted LDAP entries, and import these in from the command line.

Some customers choose doing issues the great old style graphical means, and that is the place phpLDAPadmin is useful. With this net-based mostly LDAP admin device, you’ll be able to extra simply handle your LDAP server and populate it with customers.

I am going to stroll you thru the method of populating LDAP with the assistance of phpLDAPadmin on a Ubuntu sixteen.04 server operating LDAP. I assume you could have LDAP and phpLDAPadmin installed, and with all that out of the best way, you’ll be able to log into phpLDAP. However the place do you go from there? Let me present you.

SEE: Storage in 2017: Big improvements are on the way (ZDNet)

Creating Organizational Models

LDAP breaks every little thing into very particular items, and we will give attention to two of these items: individuals and teams. As a result of we’re creating pretty generic Organizational Models (OUs), we’ll use the Generic Organizational Unit Template. To get there, log into phpLDAPadmin, click on to broaden your server itemizing (in my instance it is dc=monkeypantz,dc=internet) after which click on Create New Entry Right here (Determine A).

Determine A

Figure A

Creating a brand new entry with phpLDAPadmin.

In the fitting pane (Determine B), choose Generic: Organizational Unit.

Determine B

Figure B

Choosing from the various obtainable objects on the LDAP server.

Let’s first create an OU named “teams”. Within the subsequent window sort teams and click on Create Object. Commit the group by clicking Commit within the subsequent window (Determine C).

Determine C

Figure C

Committing your modifications to LDAP.

You will see a brand new entry within the left pane referred to as ou=teams (Determine D).

Determine D

Figure D

Our new OU prepared for use.

Let’s create a brand new OU named “customers”. Stroll via the identical course of as above, although identify the OU “customers” as an alternative of “teams”. You will see “ou=teams” and “ou=customers” within the left pane.

Creating teams

Now that we’ve an OU created for teams, we will add the required teams. Let’s create teams for “admin”, “builders”, and “customers”. This is how.

  1. Click on the teams OU within the left pane.
  2. Within the ensuing window, click on Create Baby Entry (Determine E).
  3. Click on Generic: Posix Group.
  4. Sort admin into the group textual content space.
  5. Click on Create Object.
  6. Click on Commit.
  7. Repeat the method for “builders” and “customers”.

Determine E

Figure E

Creating a brand new group underneath the teams OU.

Creating customers

Now that we’ve got our teams created, we need to create customers. To do that, comply with these steps.

  1. Click on ou=customers from the left pane.
  2. Within the ensuing window, click on Create A Baby Entry.
  3. Choose Generic: Consumer Account.
  4. Fill out the required info- notice that Widespread Identify have to be distinctive (Determine F).
  5. Click on Create Object.
  6. Click on Commit.
  7. Repeat this course of till you have got added your needed customers added.

Determine F

Figure F

Including customers to teams

So as to add a consumer to a gaggle, you need to know the consumer’s UID (named Consumer ID within the consumer creation window). To discover a UID go to ou=customers | View X baby (the place X is the variety of customers) after which find the consumer to be added and make observe of their related UID. After you have that UID, let’s add that consumer to the builders group. This is how.

  1. Increase ou=teams.
  2. Click on the builders group.
  3. Click on Add New Attribute.
  4. From the drop-down, choose memberUID.
  5. Enter the UID for the consumer within the memberUID part (Determine G).
  6. Click on Replace Object.

Determine G

Figure G

Including a consumer to a gaggle.

After you add the primary consumer, including subsequent customers is far easier. Should you click on the group identify (underneath ou=teams within the left pane), you’ll be able to click on Modify Group Members (underneath memberUID) after which add the customers from an inventory.

How straightforward was that?

Now you understand how to create teams, create customers, and add customers to teams in your LDAP server…all with the assistance of a consumer-pleasant net-based mostly GUI. LDAP is not almost as troublesome as many would assume. With the assistance of phpLDAPadmin, the duty of administering that server has been made considerably simpler.

Additionally see

Leave a Reply

Your email address will not be published.