Schema Reference Red Hat Directory Server |
Previous |
Contents |
Index |
Next |
Chapter 4
Operational Attributes, Special Attributes, and Special Object Classes
This chapter provides definitions, syntax, and OIDs used by Red Hat Directory Server (Directory Server). Operational attributes are available for use on every entry in the directory, regardless of whether they are defined for the object class of the entry. Operational attributes are only returned in an ldapsearch operation if specifically requested. This chapter also provides definitions, syntax, and OIDs for some special attributes and object classes that are used by the server. The attributes are listed by section, then alphabetically.
Replication and synchronization object classes are in "Special Object Classes" on page 170; attributes for these object classes are listed in chapter 2, "Core Server Configuration Reference," in the Red Hat Directory Server Configuration, Command, and File Reference.
This chapter contains the following sections:
Operational Attributes
accountUnlockTime
Definition
This refers to the amount of time that must pass after an account lockout before the user can bind to the directory again.
This attribute is defined in Directory Server.
Syntax
OID
aci
Definition
Used by the Directory Server to evaluate what rights are granted or denied when it receives an LDAP request from a client.
This attribute is defined in Directory Server.
Syntax
OID
altServer
Definition
The values of this attribute are URLs of other servers which may be contacted when this server becomes unavailable. If the server does not know of any other servers which could be used, this attribute is absent. You may cache this information in case your preferred LDAP server later becomes unavailable.
This attribute is defined in RFC 2252.
Syntax
OID
attributeTypes
Definition
Multi-valued attribute that specifies the attribute types used within a subschema. Each value describes a single attribute.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
copiedFrom
Definition
Used by a read-only replica to recognize a master data source. Contains a reference to the server that holds the master data. This attribute is only used for legacy replication. It is not used for multi-master replication.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
copyingFrom
Definition
Used by a read-only replica to recognize a master data source while replication is in progess. Contains a reference to the server that holds the master data. This attribute is only used for legacy replication. It is not used for multi-master replication.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
dITContentRules
Definition
Multi-valued attribute that defines the DIT content rules which are in force within a subschema. Each value defines one DIT content rule. Each value is tagged by the object identifier of the structural object class to which it pertains.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
dITStructureRules
Definition
Multi-valued attribute that defines the DIT structure rules which are in force within a subschema. Each value defines one DIT structure rule.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
ldapSyntaxes
Definition
This attribute identifies the syntaxes implemented, with each value corresponding to one syntax.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
matchingRules
Definition
Multi-valued attribute that defines the matching rules used within a subschema. Each value defines one matching rule.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
matchingRuleUse
Definition
Used to indicate the attribute types to which a matching rule applies in a subschema.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
nameForms
Definition
Multi-valued attribute that defines the name forms used in a subschema. Each value defines one name form.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
namingContexts
Definition
Corresponds to a naming context the server is mastering or shadowing. When the Directory Server does not master any information (such as when it is an LDAP gateway to a public X.500 directory), this attribute is absent. When the Directory Server believes it contains the entire directory, the attribute has a single value, and that value is the empty string (indicating the null DN of the root).This attribute permits a client contacting a server to choose suitable base objects for searching.
This attribute is defined in RFC 2252.
Syntax
OID
nsRole
Definition
This attribute is a computed attribute that is not stored with the entry itself. It identifies to which roles an entry belongs.
This attribute is defined in Directory Server.
Syntax
OID
nsRoleDn
Definition
This attribute contains the distinguished name of all roles that apply to an entry. Membership of a managed role is conferred upon an entry by adding the role's DN to the entry's nsRoleDN attribute.
dn: cn=staff,o=redhat,o=example.com objectclass: LDAPsubentry objectclass: nsRoleDefinition objectclass: nsSimpleRoleDefinition objectclass: nsManagedRoleDefinition dn: cn=userA,ou=users,o=redhat,o=example.com objectclass: top objectclass: person sn: uA userpassword: secret nsroledn: cn=staff,o=redhat,o=example.comA nested role specifies containment of one or more roles of any type. In that case, nsRoleDN defines the DN of the contained roles.
dn: cn=everybody,o=redhat,o=example.com objectclass: LDAPsubentry objectclass: nsRoleDefinition objectclass: nsComplexRoleDefinition objectclass: nsNestedRoleDefinition nsroledn: cn=manager,o=redhat,o=example.com nsroledn: cn=staff,o=redhat,o=example.comThis attribute is defined in Directory Server.
Syntax
OID
numSubordinates
Description
Indicates now many immediate subordinates an entry has.
For example, numSubordinates=0 in a leaf entry.
This attribute is defined in numSubordinates Internet Draft.
Syntax
OID
objectClasses
Definition
Multi-valued attribute that defines the object classes used in a subschema. Each value defines one object class.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
passwordAllowChangeTime
Definition
Used to specify the length of time that must pass before the user is allowed to change his password.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordChange (pwdAllowUserChange)
Definition
Specifies whether users may change their passwords.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordCheckSyntax (pwdCheckSyntax)
Definition
Specifies whether the password syntax will be checked before the password is saved. The password syntax checking mechanism checks that the password meets or exceeds the password minimum length requirement and that the string does not contain any trivial words, such as the user's name or ID or any attribute value stored in the uid, cn, sn, givenName, ou, or mail attributes of the user's directory entry.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordExp
Definition
Indicates whether user passwords will expire after a given number of seconds. By default, user passwords do not expire. Once password expiration is enabled, you can set the number of seconds after which the password will expire using the passwordMaxAge (pwdMaxAge) attribute.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordExpirationTime
Definition
Used to specify the length of time that passes before the user's password expires.
This attribute is defined in Directory Server.
Syntax
GeneralizedTime, single-valued.
OID
passwordExpWarned
Definition
Used to indicate that a password expiration warning has been sent to the user.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordGraceLimit
Definition
Used to specify the number of (grace) login attempts that are allowed to a user after the password has expired.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordGraceUserTime
Definition
Used to count the number of attempts the user has made with the expired password.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordHistory
Definition
Contains the history of the user's previous passwords.
This attribute is defined in Directory Server.
Syntax
OID
passwordInHistory (pwdInHistory)
Definition
Indicates the number of passwords the Directory Server stores in history. Passwords that are stored in history cannot be reused by users. By default, the password history feature is disabled. That is, the Directory Server does not store any old passwords, so users can reuse passwords. You can enable password history by using the passwordInHistory (pwdInHistory) attribute.
To prevent users from rapidly cycling through the number of passwords that you are tracking, use the passwordMinAge attribute.
This attribute is defined in Directory Server.
Syntax
OID
passwordLockout (pwdLockOut)
Definition
Indicates whether users will be locked out of the directory after a given number of failed bind attempts. By default, users will not be locked out of the directory after a series of failed bind attempts. If you enable account lockout, you can set the number of failed bind attempts after which the user will be locked out using the passwordMaxFailure (pwdMaxFailure) attribute.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordLockoutDuration (pwdLockoutDuration)
Definition
Indicates the amount of time in seconds during which users will be locked out of the directory after an account lockout. The account lockout feature protects against hackers who try to break into the directory by repeatedly trying to guess a user's password. You enable and disable the account lockout feature using the passwordLockout (pwdLockOut) attribute.
This attribute is defined in Directory Server.
Syntax
OID
passwordMaxAge (pwdMaxAge)
Definition
Indicates the number of seconds after which user passwords will expire. To use this attribute, you must enable password expiration using the passwordExp attribute.
This attribute is defined in Directory Server.
Syntax
OID
passwordMaxFailure (pwdMaxFailure)
Definition
Indicates the number of failed bind attempts after which a user will be locked out of the directory. By default, account lockout is disabled. You can enable account lockout by modifying the passwordLockout (pwdLockOut) attribute.
This attribute is defined in Directory Server.
Syntax
OID
passwordMinAge (pwdMinAge)
Definition
Indicates the number of seconds that must pass before a user can change his password. Use this attribute in conjunction with the passwordInHistory (pwdInHistory) attribute to prevent users from quickly cycling through passwords so that they can use their old password again. A value of zero (0) indicates that the user can change the password immediately.
This attribute is defined in Directory Server.
Syntax
OID
passwordMinLength (pwdMinLength)
Definition
Specifies the minimum number of characters that must be used in Directory Server user password attributes. In general, shorter passwords are easier to crack, so you are recommended to set a password length of at least 6 or 7 characters. This is long enough to be difficult to crack, but short enough that users can remember the password without writing it down.
This attribute is defined in Directory Server.
Syntax
OID
passwordMustChange (pwdMustChange)
Definition
Indicates whether users must change their passwords when they first bind to the Directory Server or when the password has been reset by the Manager DN.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordResetFailureCount (pwdFailureCountInterval)
Definition
Indicates the amount of time in seconds after which the password failure counter will be reset. Each time an invalid password is sent from the user's account, the password failure counter is incremented. If the passwordLockout (pwdLockOut) attribute is set to on, users will be locked out of the directory when the counter reaches the number of failures specified by the passwordMaxFailure (pwdMaxFailure) attribute (within 600 seconds by default). After the amount of time specified by the passwordLockoutDuration (pwdLockoutDuration) attribute, the failure counter is reset to zero (0).
This attribute is defined in Directory Server.
Syntax
OID
passwordRetryCount
Definition
Used to count the number of consecutive failed attempts at entering the correct password.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordStorageScheme
Definition
Specifies the type of encryption used to store Directory Server passwords. Entering the password in CLEAR for this attribute indicates that the password will appear in plain text.
The following encryption types are supported by Directory Server:
- SSHA (Salted Secure Hash Algorithm) is the recommended method as it is the most secure.
- SHA (Secure Hash Algorithm) is supplied only for compatibility with 4.x legacy servers and should not be used otherwise.
- CRYPT is the UNIX crypt algorithm. It is provided for compatibility with UNIX passwords.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordUnlock
Definition
Indicates whether users will be locked out of the directory for a specified amount of time or until the administrator resets the password after an account lockout. The account lockout feature protects against hackers who try to break into the directory by repeatedly trying to guess a user's password. If this passwordUnlock attribute is set to off and the operational attribute accountUnlockTime has a value of 0, then the account will be locked indefinitely.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
passwordWarning (pwdExpireWarning)
Definition
Indicates lengh of time in seconds before a user's password expires that the user will receive a password expiration warning. The warning control will appear on their next LDAP operation. Depending on the LDAP client, the user may also be prompted to change their password at the time the warning is sent.
This attribute is defined in Directory Server.
Syntax
OID
pwdpolicysubentry
Definition
Points to the entry DN of the new password policy.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
retryCountResetTime
Definition
Specifies the length of time that passes before the passwordRetryCount is reset.
This attribute is defined in Directory Server.
Syntax
DirectoryString, single-valued.
OID
subschemaSubentry
Definition
DN of an entry that contains schema information.
subschemaSubentry: cn=schemaThis attribute is defined in RFC 2252.
Syntax
OID
supportedControl
Definition
The values of this attribute are the object identifiers (OIDs) that identify the controls supported by the server. When the server does not support controls, this attribute is absent.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
supportedExtension
Definition
The values of this attribute are the object identifiers (OIDs) that identify the supported extended operations supported by the server. When the server does not support extensions, this attribute is absent.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
supportedLDAPVersion
Definition
Identifies the versions of the LDAP protocol implemented by the server.
This attribute is defined in RFC 2252.
Syntax
OID
supportedSASLMechanisms
Definition
Identifies the names of supported SASL mechanisms supported by the server. When the server does not support SASL attributes, this attribute is absent.
This attribute is defined in RFC 2252.
Syntax
DirectoryString, multi-valued.
OID
Special Attributes
changes
Description
Contains the changes made to the entry for add and modify operations in LDIF format.
This attribute is defined in Changelog Internet Draft.
Syntax
OID
changeLog
Description
The distinguished name of the entry which contains the set of entries comprising the server's changelog.
This attribute is defined in Changelog Internet Draft.
Syntax
OID
changeNumber
Description
This single-valued attribute is always present. It contains an integer which uniquely identifies each change made to a directory entry. This number is related to the order in which the change occurred. The higher the number, the later the change.
This attribute is defined in Changelog Internet Draft.
Syntax
OID
changeTime
Description
Defines a time, in a YYMMDDHHMMSS format, when the entry was added.
This attribute is defined in Directory Server.
Syntax
DirectoryString, multi-valued.
OID
changeType
Description
Specifies the type of LDAP operation. This attribute can have one of the following values: add, delete, modify, or modrdn.
changeType: modify
This attribute is defined in Changelog Internet Draft.
Syntax
DirectoryString, multi-valued.
OID
deleteOldRdn
Description
In the case of modrdn operations, specifies whether the old RDN was deleted.
This attribute is defined in Changelog Internet Draft.
Syntax
OID
newRdn
Description
In the case of modrdn operations, specifies the new RDN of the entry.
This attribute is defined in Changelog Internet Draft.
Syntax
OID
newSuperior
Description
In the case of modrdn operations, specifies the newSuperior attribute of the entry.
This attribute is defined in Changelog Internet Draft.
Syntax
OID
nsEncryptionAlgorithm
Description
Specifies the encryption cipher for the encrypted attribute(s) in the nsAttributeEncryption object class.
This attribute is defined in Directory Server.
Syntax
OID
nsSaslMapBaseDNTemplate
Description
Contains the search base DN template used in SASL identity mapping.
This attribute is defined in Directory Server.
Syntax
OID
nsSaslMapFilterTemplate
Description
Contains the search filter template used in SASL identity mapping.
This attribute is defined in Directory Server.
Syntax
Case-Exact String, single-valued
OID
nsSaslMapRegexString
Description
Contains a regular expression used to map SASL identity strings.
This attribute is defined in Directory Server.
Syntax
OID
targetDn
Description
Contains the DN of the entry that was affected by the LDAP operation. In the case of a modrdn operation, the targetDn attribute contains the DN of the entry before it was modified or moved.
This attribute is defined in Changelog Internet Draft.
Syntax
OID
Special Object Classes
changeLogEntry
Definition
Used to represent changes made to the Directory Server. You can configure Directory Server to maintain a changelog that is compatible with the changelog implemented in Directory Server 4.1x by enabling the Retro Changelog Plug-in. Each entry in the changelog has the object class changeLogEntry.
This object class is defined in Changelog Internet Draft.
Superior Class
OID
Required Attributes
Allowed Attributes
nsAttributeEncryption
Definition
Encrypts selected attributes within a Directory Server database.
This object class is defined in Directory Server.
Superior Class
OID
Required Attributes:
attributeName The common name of the attribute being encrypted. The encryption cipher used. databaseName The name of the database where the attribute is stored.
nsDS5Replica
Definition
Contains the attributes set for a replica in regular replication. Many of these attributes are set within the backend and cannot be modified.
Information on the attributes for this object class are in chapter 2 of the Red Hat Directory Server Configuration, Command, and File Reference.
This object class is defined in Directory Server.
Superior Class
OID
Required Attributes:
Allowed Attributes:
nsDS5ReplicationAgreement
Definition
Stores the information set in the replication agreement. Information on the attributes for this object class are in chapter 2 of the Red Hat Directory Server Configuration, Command, and File Reference.
This object class is defined in Directory Server.
Superior Class
OID
Required Attributes:
Allowed Attributes:
nsDSWindowsReplicationAgreement
Definition
Stores the synchronization attributes that concern the synchronization agreement. Information on the attributes for this object class are in chapter 2 of the Red Hat Directory Server Configuration, Command, and File Reference.
This object class is defined in Directory Server.
Superior Class
OID
Required Attributes:
Allowed Attributes:
nsSaslMapping
Definition
Identity mapping configuration for SASL.
This object class is defined in Directory Server.
Superior Class
OID
Required Attributes:
Contains a regular expression used to match SASL identity strings. Contains the search base DN template. Contains the search filter template.
passwordObject
Definition
Stores password information for a user in the directory.
This object class is defined in Directory Server.
Superior Class
OID
Required Attributes
Allowed Attributes
Refers to the amount of time that must pass after an account lockout before the user can bind to the directory again. Used to specify the length of time that must pass before users are allowed to change their passwords. Used to specify the length of time that passes before the user's password expires. Used to indicate that a password expiration warning has been sent to the user. Used to specify the number of login attempts that are allowed to a user after the password has expired. Contains the history of the user's previous passwords. Used to count the number of consecutive failed attempts at entering the correct password. Points to the entry DN of the new password policy. Specifies the length of time that passes before the passwordRetryCount attribute is reset.
subschema
Definition
An auxilary object class subentry used to administer the subschema for the subschema administrative area. It holds the operational attributes representing the policy parameters used to express the subschema.
This object class is defined in RFC 2252.
Superior Class
OID
Required Attributes
Allowed Attributes
Previous |
Contents |
Index |
Next |