Defining a Group with LDIF

Command Description

dn: cn=PAYROLL,CN=Enterprise Server User Groups,CN=Micro Focus,CN=Program Data,DC=local

Identifies group PAYROLL

changetype: delete

Action is set to delete, the current definition for group PAYROLL will be deleted

 

You must leave a blank line between actions

dn: cn=PAYROLL,CN=Enterprise Server User Groups,CN=Micro Focus,CN=Program Data,DC=local

Identifies group PAYROLL

changetype: add

Action is set to add

objectClass: microfocus-MFDS-Group

Object class, we are defining a Group

adminDisplayName: Payroll group

Display Name

description: People who can process Payroll

Description for the group

microfocus-MFDS-CustomText

Optional. Can be any text. Not used by Enterprise Server

microfocus-MFDS-Group-Member: SEC01

User SEC01 is part of the group

microfocus-MFDS-Group-Member: SEC02

More than one user can be added to the group

microfocus-MFDS-Group-Member: group AUDITORS

Groups can now be included in other groups. All the members of the AUDITORS group will also belong to the PAYROLL group. Be sure to use the group keyword when specifying a group member.

microfocus-MFDS-UID: no

UID (Unique Identifier). This can be any string; it does not have to be unique. It is not used by Enterprise Server