French
COM

Testimonial

Great time saver. Easy and actually fun to use.

Garry Frocklage

University of San Diego

http://www.sandiego.edu

Contact Province

Paul
Shergold



04 78 95 37 98

Contact Ile-de-France

Paul
Baas



01 53 43 29 55

Posez votre question Je veux une démostration en ligne
Votre nom: Votre question:

Société:
E-mail:
Téléphone:
Region:

Testimonial

The UMRA software is a life saver!!! Before I learned about UMRA and Tools4Ever, I would have to create user accounts, email accounts, shared directories and assign group memberships to at least 100 lawclerks and interns each year in the summer. It would take me at least a week with proper notice. Now with just a *.csv file, I can import the users and have their information created in under 10 min...

Kimberly Hall

Read more...

Previous Topic

Next Topic

Book Contents

Setting up user account group memberships on Novell eDirectory

To setup user account group memberships on Novell eDirectory, you need to update the attributes of two directory service items: the user account and the group. This is specified by the eDirectory service schema.

The following table shows the attribute updates in order to add a user account to a group:

Item

Attribute

Value update action

User account

groupMembership

Add distinguished name of group

User account

securityEquals

Add distinguished name of group

Group

uniqueMember

Add distinguished name of user account

Group

equivalentToMe

Add distinguished name of user account.

Table 7: Required attribute value changes to update group membership in Novell eDirectory.

The example project is not very user-friendly but shows exactly how to use the LDAP script actions. The example project can be found at the following location, relative to the UMRA Console program directory:

.\Example Projects\LDAP\Novell\AddToGroup\Novell eDirectory - Add User To Group.ufp

The UMRA application consists of a single project with a form and script. The form show some text fields and two input fields for the distinguished names of the user account and the group.

Figure 35: Form to enter the distinguished names of the user accounts and group.

A more user-friendly form is available from the example project, described in the next topic.

The values entered in the form input fields are stored in the variables %UserDN% and %GroupDN%.

When the end-user clicks the Add button, the script of the project is executed. The script first initializes the session with the LDAP Server. Next, the modification data to update the user account attributes are initialized.

Figure 36 Script action to initialize the LDAP modification data to update user account attributes groupMembership and securityEquals.

Two attributes of the user account, groupMembership and securityEquals are updated by adding the value of the distinguished name of the group (%GroupDN%).

Figure 37: Script action to update the attributes of the user account.

Next, the attributes of the group are updated.

This time, two attributes of the group, uniqueMember and equivalentToMe are updated by adding the value of the distinguished name of the user account (%UserDN%).

Figure 38 Script action to initialize the LDAP modification data to update group attributes uniqueMember and equivalentToMe.

When the last action is executed successfully, the user account has become a member of the group.

Figure 39: Script action to update the attributes of the group.

If the last action fails, it is advised to remove the values from the user account attributes that were added in the previous modification action. To keep the script clean and clear, this action is not part of the example script.

The UMRA Service log file shows all of the action executed.

In This Section

UMRA Service log

See Also

Novell eDirectory

Introduction

Secure LDAP eDirectory environment

Creating user accounts in Novell eDirectory

Setting a user account password on Novell eDirectory

Deleting user accounts in Novell eDirectory

Managing user account group memberships on Novell eDirectory