25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

classes that a directory server can store <strong>and</strong> the attributes they contain are<br />

described by a schema. A schema defines where object classes are allowed in<br />

the directory, which attributes they must contain, which attributes are optional,<br />

<strong>and</strong> the syntax of each attribute. For example, a schema might define a person<br />

object class that requires that a person has a character-string surname attribute,<br />

can optionally have a number-string telephoneNumber attribute, <strong>and</strong> so on.<br />

Schema-checking ensures that all required attributes for an entry are present<br />

before an entry is stored. Schemas also define the inheritance <strong>and</strong> subclassing<br />

of objects, <strong>and</strong> where in the DIT structure (hierarchy) objects can appear.<br />

Though an implementation can define any schema to meet its needs, RFC 4519<br />

defines a few st<strong>and</strong>ard schemas. Table 12-7 lists a few of the common schema<br />

(object classes <strong>and</strong> their required attributes). In many cases, an entry can consist<br />

of more than one object class.<br />

Table 12-7 Examples of object classes <strong>and</strong> required attributes<br />

Object class Description Attributes<br />

country Defines a country Required:<br />

countryCode<br />

Optional:<br />

searchGuide<br />

description<br />

locality Defines a place in the physical<br />

world<br />

Because servers can define their own schema, LDAP includes the functionality<br />

of allowing a client to query a server for the contents of the supported schema.<br />

466 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong><br />

Required:<br />

None<br />

Optional:<br />

street<br />

seeAlso<br />

searchGuide<br />

description<br />

person Defines a person Required:<br />

surname<br />

commonName<br />

Optional:<br />

userPassword<br />

telephoneNumber<br />

seeAlso<br />

description

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!