Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you add a user to a group using Apache Directory Studio

Tags:

ldap

apacheds

I am using Apache Directory Studio to set up an initial user on an LDAP partition. I have added the user, and I have a group (Administrators) that I am trying to add that user to.

Users are ou=users and groups are ou=groups and where copied from ou=system. The user was created by adding an inetOrgPerson class entry.

How do I add a user to a group? What kind of class would I use and what attributes are required?

I feel I am missing a lot of information with LDAP. I got this far by ghacking (googling and hacking - the least efficient thing you can do). So, where do I go that will tell me what to do and how to get it done in a cook-book style guide, or at least some sort of detailed reference on the classes and schemas that would define what each is used for

Any help is highly appreciated!

enter image description here

like image 213
Inquisitor Shm Avatar asked Nov 28 '16 03:11

Inquisitor Shm


People also ask

How do I create a new user in Apache Directory Studio?

Connecting to Apache DS through Apache Directory StudioChoose the option to Use the Existing Entry as template as shown below and click on “Next”. In the next screen, user will be prompted to enter one structural object class for creating the new user. Select inetOrgPerson as the object class as shown below.

How do I create a group in Apache Directory Studio?

Right-click on the ou=Group node and select New|New Entry. The New Entry wizard appears. In the Entry Creation Method pane, select the Create entry from scratch radiobutton. Click Next.

What is the use of Apache Directory Studio?

Apache Directory Studio is a complete directory tooling platform intended to be used with any LDAP server however it is particularly designed for use with ApacheDS. It is an Eclipse RCP application, composed of several Eclipse (OSGi) plugins, that can be easily upgraded with additional ones.


1 Answers

  1. Select your group
  2. Right Click on the right side and select "new attribute"

Right Click and select new attribute

  1. Type member and/or select from list

selecting attribute type

  1. Hit the browse button and search for your user or enter the path
  2. Hit OK button

DN Editor

like image 151
luckyluke Avatar answered Sep 18 '22 17:09

luckyluke