Schemadir, Cn=memberof task, Basedn – Red Hat 8.1 User Manual

Page 90: Filter, Cn=uniqueid generator

Advertising
background image

Syntax

DirectoryString

Example

cn: example reload task ID

schemadir

This contains the full path to the directory containing the custom schema file.

Parameter

Description

Entry DN

cn=task_name, cn=schema reload task,
cn=tasks, cn=config

Valid Values

Any local directory path

Default Value

/etc/dirsrv/slapd-instance_name/schema

Syntax

DirectoryString

Example

schemadir: /export/schema/

2.3.15.8. cn=memberof task

The memberOf attribute is created and managed by the Directory Server automatically to display group
membership on the members' user entries. When the member attribute on a group entry is changed, all
of the members' associated directory entries are automatically updated with their corresponding
memberOf attributes.

The cn=memberof task (and the related fixup-memberof.pl script) is used to create the initial
memberOf attributes on the member's user entries in the directory. After the memberOf attributes are
created, then the MemberOf Plug-in manages the memberOf attributes automatically.

The memberOf update task must give the DN of the entry or subtree to run the update task against (set
in the

basedn

attribute). Optionally, the task can include a filter to identify the members' user entries to

update (set in the

filter

attribute). For example:

dn: cn=example memberof, cn=memberof task, cn=tasks, cn=config
objectclass: extensibleObject
cn:example memberof
basedn: ou=people,dc=example,dc=com
filter: (objectclass=groupOfNames)

As soon as the task is complete, the task entry is removed from the directory.

The cn=memberof task entry is a container entry for memberOf update operations. The
cn=m em berof task entry itself has no attributes, but each of the task entries beneath this entry, such
as cn=task_ID, cn=memberof task, cn=tasks, cn=config, uses its attributes to define the
individual update task.

basedn

This attribute gives the base DN to use to search for the user entries to update the memberOf attribute.

Parameter

Description

Entry DN

cn=task_name, cn=memberof task, cn=tasks,
cn=config

Valid Values

Any DN

Default Value
Syntax

DN

Example

basedn: ou=people, dc=example, dc=com

filter

This attribute gives an optional LDAP filter to use to select which user entries to update the memberOf
attribute. Each member of a group has a corresponding user entry in the directory.

Parameter

Description

Entry DN

cn=task_name, cn=memberof task, cn=tasks,
cn=config

Valid Values

Any LDAP filter

Default Value

(objectclass=*)

Syntax

DirectoryString

Example

filter: (l=Sunnyvale)

2.3.16. cn=uniqueid generator

90

Chapter 2. Core Server Configuration Reference

Advertising