Red Hat DIRECTORY SERVER 7.1 SP7 - S Guia de Resolução de Problemas Página 40

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 39
40 Novell eDirectory 8.8 SP7 Troubleshooting Guide
NDSObjectClassDescription = "(" whsp
numericoid whsp
[ "NAME" qdescrs ]
[ "DESC" qdstring ]
[ "OBSOLETE" whsp ]
[ "SUP" oids ]
[ ( "ABSTRACT" / "STRUCTURAL" / "AUXILIARY" ) whsp ]
[ "MUST" oids ]
[ "MAY" oids ]
[ "X-NDS_NOT_CONTAINER" qdstrings ]
[ "X-NDS_NONREMOVABLE" qdstrings ]
[ "X-NDS_CONTAINMENT" qdstrings ]
[ "X-NDS_NAMING" qdstrings ]
[ "X-NDS_NAME" qdstrings ]
whsp ")"
The following example LDIF file adds the
person
objectClass to the schema:
1 version: 1
2 dn: cn=schema
3 changetype: add
4 objectClasses: ( 2.5.6.6 NAME ’person’ DESC ’Standard
5 ObjectClass’ SUP ndsLoginProperties STRUCTURAL MUST
6 (cn $ sn) MAY (description $ seeAlso $ telephoneNum
7 ber $ fullName $ givenName $ initials $ uid $ userPa
8 ssword) X-NDS_NAMING (’cn’ ’uid’) X-NDS_CONTAINMENT
9 (’organization’ ’organizationalUnit’ ’domain’) X-NDS
10 _NAME ’Person’ X-NDS_NOT_CONTAINER ’1’ X-NDS_NONREMO
11 VABLE ’1’)
12
Mandatory Attributes
Mandatory attributes are listed in the
MUST
section of the object class description. For the person
object class, the mandatory attributes are
cn
and
sn
.
Optional Attributes
Optional attributes are listed in the
MAY
section of the object class description. The optional attributes
in the
person
object class are
description
,
seeAlso
,
telephoneNumber
,
fullName
,
givenName
,
initials
,
uid
, and
userPassword
.
NOTE: The
userPassword
attribute cannot be used as an optional (
MAY
) attribute. The operation will
fail if you try to use it as a mandatory (
MUST
) attribute in the new
objectClass
using this LDIF
format to extend the schema.
Containment Rules
The object classes that can contain the object class being defined are given in the
X-NDS_CONTAINMENT
section of the object class description. The
person
object class can be contained by the
organization
,
organizationalUnit
, and
domain
object classes.
5.3.2 Adding a New Attribute
To add an attribute, simply add an attribute value that conforms to the specification for
NDSAttributeTypeDescription
to the attributes attribute of the
subschemaSubentry
.
Vista de página 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 119 120

Comentários a estes Manuais

Sem comentários