이 콘텐츠는 선택한 언어로 제공되지 않습니다.
12.3. Creating an Object Class
This section describes how to create a object class using the command line and the web console.
12.3.1. Creating an Object Class Using the Command Line 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Use the
ldapmodify utility to create a new object class entry. For example:
# dsconf -D "cn=Directory Manager" ldap://server.example.com schema objectclasses add examplePerson --oid="2.16.840.1133730.2.123" --desc="Example Person Object Class" --sup="inetOrgPerson" --kind="AUXILIARY" --must="cn" --may exampleDateOfBirth examplePreferredOS
For further details about object class definitions, see Section 12.1.2, “Object Classes”.
12.3.2. Creating an Object Class Using the Web Console 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
To create an object class using the web console:
- Open the Directory Server user interface in the web console. See Section 1.4, “Logging Into Directory Server Using the Web Console”.
- Select the instance.
- Select
. - Click .
- Select the parent object class.
- Enter an object class name and, optionally, set a object identifier (OID).
- Select the object class kind.
- Enter the required and allowed attributes in the corresponding fields:
- Click .