database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
ㆍLDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
LDAP Q&A 1960 게시물 읽기
No. 1960
ldapadd 실행시 에러가 발생합니다... 지발 도와주세욤.. ㅠ_ㅠ
작성자
엘답초보
작성일
2003-11-12 16:15
조회수
6,741

ldapadd -D "cn=Manager,dc=my-domain,dc=com" -x -h localhost -f add_test_01.ldif -W
Enter LDAP Password:secret
<<EOF

<<Error Message>>
adding new entry "dc=test,dc=my-domain,dc=com"
ldapadd: update failed: dc=test,dc=my-domain,dc=com
ldap_add: Object class violation (65)
 additional info: no structural object class provided


<<slapd.conf의 내용>>
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include  /usr/local/ldap/etc/openldap/schema/core.schema

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org

pidfile  /usr/local/ldap/var/slapd.pid
argsfile /usr/local/ldap/var/slapd.args

# Load dynamic backend modules:
# modulepath /usr/local/ldap/libexec/openldap
# moduleload back_bdb.la
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la

# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
#  Allow self write access
#  Allow authenticated users read access
#  Allow anonymous users to authenticate
# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
#
# if no access controls are present, the default policy is:
# Allow read by all
#
# rootdn can always write!

#######################################################################
# ldbm database definitions
#######################################################################

database bdb

suffix  "dc=my-domain,dc=com"
rootdn  "cn=Manager,dc=my-domain,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw  secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /usr/local/ldap/var/openldap-data
# Indices to maintain
index objectClass eq

<<core.schema>>
# $OpenLDAP: pkg/ldap/servers/slapd/schema/core.schema,v 1.64.2.3 2002/09/06 01:13:55 kurt Exp $
#
# OpenLDAP Core schema
#
# Includes LDAPv3 schema items from:
# RFC 2252/2256 (LDAPv3)
#
# Select standard track schema items:
# RFC 1274 (uid/dc)
# RFC 2079 (URI)
# RFC 2247 (dc/dcObject)
# RFC 2587 (PKI)
# RFC 2589 (Dynamic Directory Services)
#
# Select informational schema items:
# RFC 2377 (uidObject)

#
# Standard attribute types from RFC 2256
#

# system schema
#attributetype ( 2.5.4.0 NAME 'objectClass'
# DESC 'RFC2256: object classes of the entity'
# EQUALITY objectIdentifierMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )

# system schema
#attributetype ( 2.5.4.1 NAME ( 'aliasedObjectName' 'aliasedEntryName' )
# DESC 'RFC2256: name of aliased object'
# EQUALITY distinguishedNameMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE )

attributetype ( 2.5.4.2 NAME 'knowledgeInformation'
 DESC 'RFC2256: knowledge information'
 EQUALITY caseIgnoreMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

# system schema
#attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' )
# DESC 'RFC2256: common name(s) for which the entity is known by'
# SUP name )

attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' )
 DESC 'RFC2256: last (family) name(s) for which the entity is known by'
 SUP name )

attributetype ( 2.5.4.5 NAME 'serialNumber'
 DESC 'RFC2256: serial number of the entity'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} )

attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
 DESC 'RFC2256: ISO-3166 country 2-letter code'
 SUP name SINGLE-VALUE )

attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' )
 DESC 'RFC2256: locality which this object resides in'
 SUP name )

attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' )
 DESC 'RFC2256: state or province which this object resides in'
 SUP name )

attributetype ( 2.5.4.9 NAME ( 'street' 'streetAddress' )
 DESC 'RFC2256: street address of this object'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )

attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' )
 DESC 'RFC2256: organization this object belongs to'
 SUP name )

attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' )
 DESC 'RFC2256: organizational unit this object belongs to'
 SUP name )

attributetype ( 2.5.4.12 NAME 'title'
 DESC 'RFC2256: title associated with the entity'
 SUP name )

attributetype ( 2.5.4.13 NAME 'description'
 DESC 'RFC2256: descriptive information'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )

# Obsoleted by enhancedSearchGuide
attributetype ( 2.5.4.14 NAME 'searchGuide'
 DESC 'RFC2256: search guide, obsoleted by enhancedSearchGuide'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 )

attributetype ( 2.5.4.15 NAME 'businessCategory'
 DESC 'RFC2256: business category'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )

attributetype ( 2.5.4.16 NAME 'postalAddress'
 DESC 'RFC2256: postal address'
 EQUALITY caseIgnoreListMatch
 SUBSTR caseIgnoreListSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )

attributetype ( 2.5.4.17 NAME 'postalCode'
 DESC 'RFC2256: postal code'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )

attributetype ( 2.5.4.18 NAME 'postOfficeBox'
 DESC 'RFC2256: Post Office Box'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} )

attributetype ( 2.5.4.19 NAME 'physicalDeliveryOfficeName'
 DESC 'RFC2256: Physical Delivery Office Name'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} )

attributetype ( 2.5.4.20 NAME 'telephoneNumber'
 DESC 'RFC2256: Telephone Number'
 EQUALITY telephoneNumberMatch
 SUBSTR telephoneNumberSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} )

attributetype ( 2.5.4.21 NAME 'telexNumber'
 DESC 'RFC2256: Telex Number'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.52 )

attributetype ( 2.5.4.22 NAME 'teletexTerminalIdentifier'
 DESC 'RFC2256: Teletex Terminal Identifier'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.51 )

attributetype ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' )
 DESC 'RFC2256: Facsimile (Fax) Telephone Number'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 )

attributetype ( 2.5.4.24 NAME 'x121Address'
 DESC 'RFC2256: X.121 Address'
 EQUALITY numericStringMatch
 SUBSTR numericStringSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{15} )

attributetype ( 2.5.4.25 NAME 'internationaliSDNNumber'
 DESC 'RFC2256: international ISDN number'
 EQUALITY numericStringMatch
 SUBSTR numericStringSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} )

attributetype ( 2.5.4.26 NAME 'registeredAddress'
 DESC 'RFC2256: registered postal address'
 SUP postalAddress
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )

attributetype ( 2.5.4.27 NAME 'destinationIndicator'
 DESC 'RFC2256: destination indicator'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{128} )

attributetype ( 2.5.4.28 NAME 'preferredDeliveryMethod'
 DESC 'RFC2256: preferred delivery method'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.14
 SINGLE-VALUE )

attributetype ( 2.5.4.29 NAME 'presentationAddress'
 DESC 'RFC2256: presentation address'
 EQUALITY presentationAddressMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.43
 SINGLE-VALUE )

attributetype ( 2.5.4.30 NAME 'supportedApplicationContext'
 DESC 'RFC2256: supported application context'
 EQUALITY objectIdentifierMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )

attributetype ( 2.5.4.31 NAME 'member'
 DESC 'RFC2256: member of a group'
 SUP distinguishedName )

attributetype ( 2.5.4.32 NAME 'owner'
 DESC 'RFC2256: owner (of the object)'
 SUP distinguishedName )

attributetype ( 2.5.4.33 NAME 'roleOccupant'
 DESC 'RFC2256: occupant of role'
 SUP distinguishedName )

attributetype ( 2.5.4.34 NAME 'seeAlso'
 DESC 'RFC2256: DN of related object'
 SUP distinguishedName )

# system schema
#attributetype ( 2.5.4.35 NAME 'userPassword'
# DESC 'RFC2256/2307: password of user'
# EQUALITY octetStringMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )

# Must be transferred using ;binary
attributetype ( 2.5.4.36 NAME 'userCertificate'
 DESC 'RFC2256: X.509 user certificate, use ;binary'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )

# Must be transferred using ;binary
attributetype ( 2.5.4.37 NAME 'cACertificate'
 DESC 'RFC2256: X.509 CA certificate, use ;binary'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 )

# Must be transferred using ;binary
attributetype ( 2.5.4.38 NAME 'authorityRevocationList'
 DESC 'RFC2256: X.509 authority revocation list, use ;binary'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )

# Must be transferred using ;binary
attributetype ( 2.5.4.39 NAME 'certificateRevocationList'
 DESC 'RFC2256: X.509 certificate revocation list, use ;binary'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )

# Must be stored and requested in the binary form
attributetype ( 2.5.4.40 NAME 'crossCertificatePair'
 DESC 'RFC2256: X.509 cross certificate pair, use ;binary'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.10 )

# 2.5.4.41 is defined above as it's used for subtyping
#attributetype ( 2.5.4.41 NAME 'name'
# EQUALITY caseIgnoreMatch
# SUBSTR caseIgnoreSubstringsMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' )
 DESC 'RFC2256: first name(s) for which the entity is known by'
 SUP name )

attributetype ( 2.5.4.43 NAME 'initials'
 DESC 'RFC2256: initials of some or all of names, but not the surname(s).'
 SUP name )

attributetype ( 2.5.4.44 NAME 'generationQualifier'
 DESC 'RFC2256: name qualifier indicating a generation'
 SUP name )

attributetype ( 2.5.4.45 NAME 'x500UniqueIdentifier'
 DESC 'RFC2256: X.500 unique identifier'
 EQUALITY bitStringMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.6 )

attributetype ( 2.5.4.46 NAME 'dnQualifier'
 DESC 'RFC2256: DN qualifier'
 EQUALITY caseIgnoreMatch
 ORDERING caseIgnoreOrderingMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 )

attributetype ( 2.5.4.47 NAME 'enhancedSearchGuide'
 DESC 'RFC2256: enhanced search guide'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.21 )

attributetype ( 2.5.4.48 NAME 'protocolInformation'
 DESC 'RFC2256: protocol information'
 EQUALITY protocolInformationMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.42 )

# 2.5.4.49 is defined above as it's used for subtyping
#attributetype ( 2.5.4.49 NAME 'distinguishedName'
# EQUALITY distinguishedNameMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )

attributetype ( 2.5.4.50 NAME 'uniqueMember'
 DESC 'RFC2256: unique member of a group'
 EQUALITY uniqueMemberMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.34 )

attributetype ( 2.5.4.51 NAME 'houseIdentifier'
 DESC 'RFC2256: house identifier'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

# Must be transferred using ;binary
attributetype ( 2.5.4.52 NAME 'supportedAlgorithms'
 DESC 'RFC2256: supported algorithms'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.49 )

# Must be transferred using ;binary
attributetype ( 2.5.4.53 NAME 'deltaRevocationList'
 DESC 'RFC2256: delta revocation list; use ;binary'
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 )

attributetype ( 2.5.4.54 NAME 'dmdName'
 DESC 'RFC2256: name of DMD'
 SUP name )


# Standard object classes from RFC2256

# system schema
#objectclass ( 2.5.6.1 NAME 'alias'
# DESC 'RFC2256: an alias'
# SUP top STRUCTURAL
# MUST aliasedObjectName )

objectclass ( 2.5.6.2 NAME 'country'
 DESC 'RFC2256: a country'
 SUP top STRUCTURAL
 MUST c
 MAY ( searchGuide $ description ) )

objectclass ( 2.5.6.3 NAME 'locality'
 DESC 'RFC2256: a locality'
 SUP top STRUCTURAL
 MAY ( street $ seeAlso $ searchGuide $ st $ l $ description ) )

objectclass ( 2.5.6.4 NAME 'organization'
 DESC 'RFC2256: an organization'
 SUP top STRUCTURAL
 MUST o
 MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
  x121Address $ registeredAddress $ destinationIndicator $
  preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
  telephoneNumber $ internationaliSDNNumber $
  facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
  postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )

objectclass ( 2.5.6.5 NAME 'organizationalUnit'
 DESC 'RFC2256: an organizational unit'
 SUP top STRUCTURAL
 MUST ou
 MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
  x121Address $ registeredAddress $ destinationIndicator $
  preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
  telephoneNumber $ internationaliSDNNumber $
  facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
  postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )

objectclass ( 2.5.6.6 NAME 'person'
 DESC 'RFC2256: a person'
 SUP top STRUCTURAL
 MUST ( sn $ cn )
 MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )

objectclass ( 2.5.6.7 NAME 'organizationalPerson'
 DESC 'RFC2256: an organizational person'
 SUP person STRUCTURAL
 MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $
  preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
  telephoneNumber $ internationaliSDNNumber $
  facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
  postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) )

objectclass ( 2.5.6.8 NAME 'organizationalRole'
 DESC 'RFC2256: an organizational role'
 SUP top STRUCTURAL
 MUST cn
 MAY ( x121Address $ registeredAddress $ destinationIndicator $
  preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
  telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
  seeAlso $ roleOccupant $ preferredDeliveryMethod $ street $
  postOfficeBox $ postalCode $ postalAddress $
  physicalDeliveryOfficeName $ ou $ st $ l $ description ) )

objectclass ( 2.5.6.9 NAME 'groupOfNames'
 DESC 'RFC2256: a group of names (DNs)'
 SUP top STRUCTURAL
 MUST ( member $ cn )
 MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )

objectclass ( 2.5.6.10 NAME 'residentialPerson'
 DESC 'RFC2256: an residential person'
 SUP person STRUCTURAL
 MUST l
 MAY ( businessCategory $ x121Address $ registeredAddress $
  destinationIndicator $ preferredDeliveryMethod $ telexNumber $
  teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $
  facsimileTelephoneNumber $ preferredDeliveryMethod $ street $
  postOfficeBox $ postalCode $ postalAddress $
  physicalDeliveryOfficeName $ st $ l ) )

objectclass ( 2.5.6.11 NAME 'applicationProcess'
 DESC 'RFC2256: an application process'
 SUP top STRUCTURAL
 MUST cn
 MAY ( seeAlso $ ou $ l $ description ) )

objectclass ( 2.5.6.12 NAME 'applicationEntity'
 DESC 'RFC2256: an application entity'
 SUP top STRUCTURAL
 MUST ( presentationAddress $ cn )
 MAY ( supportedApplicationContext $ seeAlso $ ou $ o $ l $
 description ) )

objectclass ( 2.5.6.13 NAME 'dSA'
 DESC 'RFC2256: a directory system agent (a server)'
 SUP applicationEntity STRUCTURAL
 MAY knowledgeInformation )

objectclass ( 2.5.6.14 NAME 'device'
 DESC 'RFC2256: a device'
 SUP top STRUCTURAL
 MUST cn
 MAY ( serialNumber $ seeAlso $ owner $ ou $ o $ l $ description ) )

objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser'
 DESC 'RFC2256: a strong authentication user'
 SUP top AUXILIARY
 MUST userCertificate )

objectclass ( 2.5.6.16 NAME 'certificationAuthority'
 DESC 'RFC2256: a certificate authority'
 SUP top AUXILIARY
 MUST ( authorityRevocationList $ certificateRevocationList $
  cACertificate ) MAY crossCertificatePair )

objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames'
 DESC 'RFC2256: a group of unique names (DN and Unique Identifier)'
 SUP top STRUCTURAL
 MUST ( uniqueMember $ cn )
 MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) )

objectclass ( 2.5.6.18 NAME 'userSecurityInformation'
 DESC 'RFC2256: a user security information'
 SUP top AUXILIARY
 MAY ( supportedAlgorithms ) )

objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2'
 SUP certificationAuthority
 AUXILIARY MAY ( deltaRevocationList ) )

objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint'
 SUP top STRUCTURAL
 MUST ( cn )
 MAY ( certificateRevocationList $ authorityRevocationList $
  deltaRevocationList ) )

objectclass ( 2.5.6.20 NAME 'dmd'
 SUP top STRUCTURAL
 MUST ( dmdName )
 MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $
  x121Address $ registeredAddress $ destinationIndicator $
  preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
  telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $
  street $ postOfficeBox $ postalCode $ postalAddress $
  physicalDeliveryOfficeName $ st $ l $ description ) )

#
# Object Classes from RFC 2587
#
objectclass ( 2.5.6.21 NAME 'pkiUser'
 DESC 'RFC2587: a PKI user'
 SUP top AUXILIARY
 MAY userCertificate )

objectclass ( 2.5.6.22 NAME 'pkiCA'
 DESC 'RFC2587: PKI certificate authority'
 SUP top AUXILIARY
 MAY ( authorityRevocationList $ certificateRevocationList $
  cACertificate $ crossCertificatePair ) )

objectclass ( 2.5.6.23 NAME 'deltaCRL'
 DESC 'RFC2587: PKI user'
 SUP top AUXILIARY
 MAY deltaRevocationList )

#
# Standard Track URI label schema from RFC 2079
#
attributetype ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
 DESC 'RFC2079: Uniform Resource Identifier with optional label'
 EQUALITY caseExactMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject'
 DESC 'RFC2079: object that contains the URI attribute type'
 MAY ( labeledURI )
 SUP top AUXILIARY )

#
# Derived from RFC 1274, but with new "short names"
#
attributetype ( 0.9.2342.19200300.100.1.1
 NAME ( 'uid' 'userid' )
 DESC 'RFC1274: user identifier'
 EQUALITY caseIgnoreMatch
 SUBSTR caseIgnoreSubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )

attributetype ( 0.9.2342.19200300.100.1.3
 NAME ( 'mail' 'rfc822Mailbox' )
 DESC 'RFC1274: RFC822 Mailbox'
    EQUALITY caseIgnoreIA5Match
    SUBSTR caseIgnoreIA5SubstringsMatch
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

objectclass ( 0.9.2342.19200300.100.4.19 NAME 'simpleSecurityObject'
 DESC 'RFC1274: simple security object'
 SUP top AUXILIARY
 MUST userPassword )

# RFC 1274 + RFC 2247
attributetype ( 0.9.2342.19200300.100.1.25
 NAME ( 'dc' 'domainComponent' )
 DESC 'RFC1274/2247: domain component'
 EQUALITY caseIgnoreIA5Match
 SUBSTR caseIgnoreIA5SubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

# RFC 2247
objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject'
 DESC 'RFC2247: domain component object'
 SUP top AUXILIARY MUST dc )

# RFC 2377
objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject'
 DESC 'RFC2377: uid object'
 SUP top AUXILIARY MUST uid )

# From COSINE Pilot
attributetype ( 0.9.2342.19200300.100.1.37
 NAME 'associatedDomain'
 DESC 'RFC1274: domain associated with object'
 EQUALITY caseIgnoreIA5Match
 SUBSTR caseIgnoreIA5SubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# RFC 2459
attributetype ( 1.2.840.113549.1.9.1
 NAME ( 'email' 'emailAddress' 'pkcs9email' )
 DESC 'RFC2459: legacy attribute for email addresses in DNs'
 EQUALITY caseIgnoreIA5Match
 SUBSTR caseIgnoreIA5SubstringsMatch
 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )


<<add_test_01.ldif의 내용>>
1)
dn: dc=test,dc=my-domain,dc=com
dc: dc=test
objectclass: top
objectclass: dcObject
2)
dn: dc=test,dc=my-domain,dc=com
objectclass: top
objectclass: dcObject
3)
dn: dc=test,dc=my-domain,dc=com
objectclass: dcObject

1), 2), 3)의 형태로 바꿔가면서 테스트해보았지만 전부 동일한 에러가 발생합니다.
뿐만아니라 slapd.conf의 내용도 바꿔가면서 테스트해보았지만 계속 동일한 에러가 발생합니다.
고수님들!! 도데체 왜 에러가 발생하는지 좀 알려주세요.. 넘 급한데 큰일입니다..ㅠㅠ


 

 

이 글에 대한 댓글이 총 1건 있습니다.

dn: dc=test,dc=my-domain,dc=com
dc: dc=test

 

dn: dc=test,dc=my-domain,dc=com
dc: dc=test,dc=my-domain,dc=com
이러게 써보셨어요?

 

송상준님이 2003-11-15 01:21에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
1964DHCP server의 configuration이나 data를 LDAP DB를 이용? [1]
박상일
2003-11-17
6435
1963정말 기초적인 용어설명 부탁드립니다. [1]
문종민
2003-11-14
6262
1961ldap설치시 에러 발생 [1]
박수철
2003-11-12
6745
1960ldapadd 실행시 에러가 발생합니다... 지발 도와주세욤.. ㅠ_ㅠ [1]
엘답초보
2003-11-12
6741
1957LDIF파일중 일부만 add됩니다. ㅡ.ㅡ [1]
문종민
2003-11-12
6144
1956SunONE LDAP의 리플리케이션 관련 질문(송상준님께) [2]
초보
2003-11-10
5856
1955LDAP 원초적질문입니다. [1]
문종민
2003-11-06
6261
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.050초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다