[Date Prev][Date Next] [Chronological] [Thread] [Top]

2.0.7: ldap_add: Undefined attribute type



Hi people;

I'm following the Quick Start Guide (QSG) on 
'http://www.openldap.org/doc/admin/quickstart.html', and have build
OpenLDAP 2.0.7 on my Solaris 7-box, performed the tests (make test) with
no errors, and installed under '/usr/local/openldap/'. My slapd.conf
looks like suggested in the QSG:

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		/usr/local/openldap/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/openldap/var/slapd.pid
argsfile	/usr/local/openldap/var/slapd.args

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

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

database	ldbm
suffix		"dc=mobilix, dc=dk"
#suffix		"o=My Organization Name, c=US"
rootdn		"cn=Manager, dc=mobilix, dc=dk"
#rootdn		"cn=Manager, o=My Organization Name, c=US"
# 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 accessable by the slapd/tools. Mode 700 recommended.
directory	/usr/local/openldap/var/openldap-ldbm
# Indices to maintain
index	objectClass	eq

When I run (#9 in the QSG) 

'ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts'

the output is

version: 2

#
# filter: (objectclass=*)
# requesting: namingContexts
#

#
dn:
namingContexts: dc=mobilix,dc=dk

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

which looks correct, I guess. When I try to add initial entries in the
directory, things go bad, however. I create an LDIF file that contains

dn: dc=mobilix,dc=dk
objectclass: dcObject
objectclass: organization
o: mobilix
dc: mobilix

dn: cn=Manager,dc=mobilix,dc=dk
objectclass: organizationalRole
cn: Manager

which is how I think it should be, according to the QSG. When I run

'ldapadd -v -x -D "cn=Manager,dc=mobilix,dc=dk" -W -f test.ldif' I get
this output:

ldap_initialize( <DEFAULT> )
Enter LDAP Password:
add objectclass:
        dcObject
        organization
        organizationalRole
add o:
        mobilix
add dc:
        mobilix.dk
add dn:
        cn=Manager,dc=mobilix,dc=dk
add cn:
        Manager
adding new entry "dc=mobilix,dc=dk"
ldap_add: Invalid syntax
        additional info: value contains invalid data

ldif_record() = 21

I have no idea why it will not work (but then again, I am very new in 
OpenLDAP), but I really belive I do it the way the QSG describes. I have
tried to include other schemes, to add other indexes, and to modify 
the test.ldif file slightly - nothing works. 

Running slapd with '-d -1' gives the typescript attached to this letter.
Notice the 

ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_add
ber_scanf fmt ({a) ber:

lines. That probably means something...

Please tell me where to find the solution, or what to try to find out what's
wrong. If you need additional info in order to help me, I'll be happy
to provide this.

Thanks a lot,

Ole Michaelsen,
Copenhagen,
Denmark
Script started on Fre 29 Dec 2000 13:22:56 MET
[root@braun]:/usr/local/openldap/libexec > muttvi .procmailrcdmesglt./sl

slapd*  slurpd* 

[root@braun]:/usr/local/openldap/libexec > ./slapd -d -1 

@(#) $OpenLDAP: slapd 2.0.7-Release (Fredag 29 December 2000, 10:39:08 MET) $
	root@braun.intra.mobilix.dk:/tmp/build/openldap-2.0.7/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse(ldap:///)
daemon: initialized ldap:///
daemon_init: 1 listeners opened
slapd init: initiated server.
reading config file /usr/local/openldap/etc/openldap/slapd.conf
line 6 (include		/usr/local/openldap/etc/openldap/schema/core.schema)
reading config file /usr/local/openldap/etc/openldap/schema/core.schema
line 29 (attributetype ( 2.5.18.1 NAME 'createTimestamp'	EQUALITY generalizedTimeMatch	ORDERING generalizedTimeOrderingMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.24	SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation ))
line 35 (attributetype ( 2.5.18.2 NAME 'modifyTimestamp'	EQUALITY generalizedTimeMatch	ORDERING generalizedTimeOrderingMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.24	SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation ))
line 40 (attributetype ( 2.5.18.3 NAME 'creatorsName'	EQUALITY distinguishedNameMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12	SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation ))
line 45 (attributetype ( 2.5.18.4 NAME 'modifiersName'	EQUALITY distinguishedNameMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12	SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation ))
line 50 (attributetype ( 2.5.18.10 NAME 'subschemaSubentry'	EQUALITY distinguishedNameMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 NO-USER-MODIFICATION	SINGLE-VALUE USAGE directoryOperation ))
line 54 (attributetype ( 2.5.21.1 NAME 'dITStructureRules'	EQUALITY integerFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.17 USAGE directoryOperation ))
line 58 (attributetype ( 2.5.21.2 NAME 'dITContentRules'	EQUALITY objectIdentifierFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.16 USAGE directoryOperation ))
line 62 (attributetype ( 2.5.21.4 NAME 'matchingRules'	EQUALITY objectIdentifierFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.30 USAGE directoryOperation ))
line 66 (attributetype ( 2.5.21.5 NAME 'attributeTypes'	EQUALITY objectIdentifierFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.3 USAGE directoryOperation ))
line 70 (attributetype ( 2.5.21.6 NAME 'objectClasses'	EQUALITY objectIdentifierFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.37 USAGE directoryOperation ))
line 74 (attributetype ( 2.5.21.7 NAME 'nameForms'	EQUALITY objectIdentifierFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.35 USAGE directoryOperation ))
line 78 (attributetype ( 2.5.21.8 NAME 'matchingRuleUse'	EQUALITY objectIdentifierFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.31 USAGE directoryOperation ))
line 84 (attributetype ( 2.5.21.9 NAME 'structuralObjectClass'	EQUALITY objectIdentifierMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.38	NO-USER-MODIFICATION SINGLE-VALUE USAGE directoryOperation ))
line 88 (attributetype ( 1.3.6.1.4.1.1466.101.120.5 NAME 'namingContexts'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 USAGE dSAOperation ))
line 91 (attributetype ( 1.3.6.1.4.1.1466.101.120.6 NAME 'altServer'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 USAGE dSAOperation ))
line 94 (attributetype ( 1.3.6.1.4.1.1466.101.120.7 NAME 'supportedExtension'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 USAGE dSAOperation ))
line 97 (attributetype ( 1.3.6.1.4.1.1466.101.120.13 NAME 'supportedControl'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 USAGE dSAOperation ))
line 100 (attributetype ( 1.3.6.1.4.1.1466.101.120.14 NAME 'supportedSASLMechanisms'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 USAGE dSAOperation ))
line 103 (attributetype ( 1.3.6.1.4.1.1466.101.120.15 NAME 'supportedLDAPVersion'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 USAGE dSAOperation ))
line 107 (attributetype ( 1.3.6.1.4.1.1466.101.120.16 NAME 'ldapSyntaxes'	EQUALITY objectIdentifierFirstComponentMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.54 USAGE directoryOperation ))
line 114 (objectclass ( 2.5.20.1 NAME 'subschema' AUXILIARY	DESC 'RFC2252: controlling subschema' 	MAY ( dITStructureRules $ nameForms $ ditContentRules $		objectClasses $ attributeTypes $ matchingRules $		matchingRuleUse ) ))
line 121 (attributetype ( 2.5.4.41 NAME 'name'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ))
line 125 (attributetype ( 2.5.4.49 NAME 'distinguishedName'	EQUALITY distinguishedNameMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 ))
line 131 (attributetype ( 2.5.4.0 NAME 'objectClass'	EQUALITY objectIdentifierMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 ))
line 135 (attributetype ( 2.5.4.1 NAME 'aliasedObjectName'	EQUALITY distinguishedNameMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE ))
line 140 (attributetype ( 2.5.4.2 NAME 'knowledgeInformation'	EQUALITY caseIgnoreMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ))
line 142 (attributetype ( 2.5.4.3 NAME ( 'cn' 'commonName' ) SUP name ))
line 144 (attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' ) SUP name ))
line 148 (attributetype ( 2.5.4.5 NAME 'serialNumber' EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} ))
line 151 (attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' ) SUP name SINGLE-VALUE ))
line 153 (attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' ) SUP name ))
line 155 (attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' ) SUP name ))
line 160 (attributetype ( 2.5.4.9 NAME ( 'street' 'streetAddress' )	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ))
line 162 (attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' ) SUP name ))
line 164 (attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' ) SUP name ))
line 166 (attributetype ( 2.5.4.12 NAME 'title' SUP name ))
line 171 (attributetype ( 2.5.4.13 NAME 'description'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ))
line 175 (attributetype ( 2.5.4.14 NAME 'searchGuide'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 ))
line 180 (attributetype ( 2.5.4.15 NAME 'businessCategory'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ))
line 185 (attributetype ( 2.5.4.16 NAME 'postalAddress'	EQUALITY caseIgnoreListMatch	SUBSTR caseIgnoreListSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ))
line 190 (attributetype ( 2.5.4.17 NAME 'postalCode'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} ))
line 195 (attributetype ( 2.5.4.18 NAME 'postOfficeBox'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{40} ))
line 200 (attributetype ( 2.5.4.19 NAME 'physicalDeliveryOfficeName'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{128} ))
line 205 (attributetype ( 2.5.4.20 NAME 'telephoneNumber'	EQUALITY telephoneNumberMatch	SUBSTR telephoneNumberSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} ))
line 208 (attributetype ( 2.5.4.21 NAME 'telexNumber'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.52 ))
line 211 (attributetype ( 2.5.4.22 NAME 'teletexTerminalIdentifier'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.51 ))
line 214 (attributetype ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' )	SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 ))
line 219 (attributetype ( 2.5.4.24 NAME 'x121Address'	EQUALITY numericStringMatch	SUBSTR numericStringSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{15} ))
line 224 (attributetype ( 2.5.4.25 NAME 'internationaliSDNNumber'	EQUALITY numericStringMatch	SUBSTR numericStringSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{16} ))
line 227 (attributetype ( 2.5.4.26 NAME 'registeredAddress' SUP postalAddress	SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ))
line 232 (attributetype ( 2.5.4.27 NAME 'destinationIndicator'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{128} ))
line 236 (attributetype ( 2.5.4.28 NAME 'preferredDeliveryMethod'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.14	SINGLE-VALUE ))
line 241 (attributetype ( 2.5.4.29 NAME 'presentationAddress'	EQUALITY presentationAddressMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.43	SINGLE-VALUE ))
line 245 (attributetype ( 2.5.4.30 NAME 'supportedApplicationContext'	EQUALITY objectIdentifierMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 ))
line 247 (attributetype ( 2.5.4.31 NAME 'member' SUP distinguishedName ))
line 249 (attributetype ( 2.5.4.32 NAME 'owner' SUP distinguishedName ))
line 251 (attributetype ( 2.5.4.33 NAME 'roleOccupant' SUP distinguishedName ))
line 253 (attributetype ( 2.5.4.34 NAME 'seeAlso' SUP distinguishedName ))
line 257 (attributetype ( 2.5.4.35 NAME 'userPassword'	EQUALITY octetStringMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} ))
line 261 (attributetype ( 2.5.4.36 NAME 'userCertificate'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 ))
line 265 (attributetype ( 2.5.4.37 NAME 'cACertificate'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 ))
line 269 (attributetype ( 2.5.4.38 NAME 'authorityRevocationList'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
line 273 (attributetype ( 2.5.4.39 NAME 'certificateRevocationList'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
line 277 (attributetype ( 2.5.4.40 NAME 'crossCertificatePair'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.10 ))
line 285 (attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' ) SUP name ))
line 289 (attributetype ( 2.5.4.43 NAME 'initials' SUP name	DESC 'The initials attribute type contains the initials of some		or all of an individuals names, but not the surname(s).' ))
line 293 (attributetype ( 2.5.4.44 NAME 'generationQualifier' 	DESC 'e.g. Jr or II.'	SUP name ))
line 297 (attributetype ( 2.5.4.45 NAME 'x500UniqueIdentifier'	EQUALITY bitStringMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.6 ))
line 303 (attributetype ( 2.5.4.46 NAME 'dnQualifier'	EQUALITY caseIgnoreMatch	ORDERING caseIgnoreOrderingMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 ))
line 306 (attributetype ( 2.5.4.47 NAME 'enhancedSearchGuide'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.21 ))
line 310 (attributetype ( 2.5.4.48 NAME 'protocolInformation'	EQUALITY protocolInformationMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.42 ))
line 319 (attributetype ( 2.5.4.50 NAME 'uniqueMember'	EQUALITY uniqueMemberMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.34 ))
line 324 (attributetype ( 2.5.4.51 NAME 'houseIdentifier'	EQUALITY caseIgnoreMatch	SUBSTR caseIgnoreSubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ))
line 328 (attributetype ( 2.5.4.52 NAME 'supportedAlgorithms'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.49 ))
line 332 (attributetype ( 2.5.4.53 NAME 'deltaRevocationList'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
line 334 (attributetype ( 2.5.4.54 NAME 'dmdName' SUP name ))
line 339 (objectclass ( 2.5.6.0 NAME 'top' ABSTRACT	MUST objectClass ))
line 342 (objectclass ( 2.5.6.1 NAME 'alias' SUP top STRUCTURAL	MUST aliasedObjectName ))
line 346 (objectclass ( 2.5.6.2 NAME 'country' SUP top STRUCTURAL	MUST c	MAY ( searchGuide $ description ) ))
line 349 (objectclass ( 2.5.6.3 NAME 'locality' SUP top STRUCTURAL	MAY ( street $ seeAlso $ searchGuide $ st $ l $ description ) ))
line 358 (objectclass ( 2.5.6.4 NAME '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 ) ))
line 367 (objectclass ( 2.5.6.5 NAME 'organizationalUnit' 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 ) ))
line 371 (objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL	MUST ( sn $ cn )	MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) ))
line 378 (objectclass ( 2.5.6.7 NAME 'organizationalPerson' SUP person STRUCTURAL	MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $		preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $		telephoneNumber $ internationaliSDNNumber $		facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $		postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) ))
line 387 (objectclass ( 2.5.6.8 NAME 'organizationalRole' 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 ) ))
line 391 (objectclass ( 2.5.6.9 NAME 'groupOfNames' SUP top STRUCTURAL	MUST ( member $ cn )	MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) ))
line 400 (objectclass ( 2.5.6.10 NAME 'residentialPerson' SUP person STRUCTURAL	MUST l	MAY ( businessCategory $ x121Address $ registeredAddress $		destinationIndicator $ preferredDeliveryMethod $ telexNumber $		teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $		facsimileTelephoneNumber $ preferredDeliveryMethod $ street $		postOfficeBox $ postalCode $ postalAddress $		physicalDeliveryOfficeName $ st $ l ) ))
line 404 (objectclass ( 2.5.6.11 NAME 'applicationProcess' SUP top STRUCTURAL	MUST cn	MAY ( seeAlso $ ou $ l $ description ) ))
line 409 (objectclass ( 2.5.6.12 NAME 'applicationEntity' SUP top STRUCTURAL	MUST ( presentationAddress $ cn )	MAY ( supportedApplicationContext $ seeAlso $ ou $ o $ l $	description ) ))
line 412 (objectclass ( 2.5.6.13 NAME 'dSA' SUP applicationEntity STRUCTURAL	MAY knowledgeInformation ))
line 416 (objectclass ( 2.5.6.14 NAME 'device' SUP top STRUCTURAL	MUST cn	MAY ( serialNumber $ seeAlso $ owner $ ou $ o $ l $ description ) ))
line 419 (objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser' SUP top AUXILIARY	MUST userCertificate ))
line 423 (objectclass ( 2.5.6.16 NAME 'certificationAuthority' SUP top AUXILIARY	MUST ( authorityRevocationList $ certificateRevocationList $		cACertificate ) MAY crossCertificatePair ))
line 427 (objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames' SUP top STRUCTURAL	MUST ( uniqueMember $ cn )	MAY ( businessCategory $ seeAlso $ owner $ ou $ o $ description ) ))
line 430 (objectclass ( 2.5.6.18 NAME 'userSecurityInformation' SUP top AUXILIARY	MAY ( supportedAlgorithms ) ))
line 434 (objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2' SUP	certificationAuthority	AUXILIARY MAY ( deltaRevocationList ) ))
line 439 (objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint' SUP top STRUCTURAL	MUST ( cn )	MAY ( certificateRevocationList $ authorityRevocationList $		deltaRevocationList ) ))
line 448 (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 ) ))
line 452 (objectclass ( 1.3.6.1.4.1.1466.101.120.111 NAME 'extensibleObject'	DESC 'RFC2252: extensible object'	SUP top AUXILIARY ))
line 460 (attributetype ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'	DESC 'RFC2079: Uniform Resource Identifier with optional label'	EQUALITY caseExactIA5Match	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
line 465 (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 ))
line 472 (objectclass ( 1.3.6.1.4.1.1466.101.119.2 NAME 'dynamicObject'	DESC 'RFC2589: Dynamic Object'	SUP top AUXILIARY ))
line 477 (attributetype ( 1.3.6.1.4.1.1466.101.119.3 NAME 'entryTtl'	DESC 'RFC2589: entry time-to-live'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE	NO-USER-MODIFICATION USAGE dSAOperation ))
line 482 (attributetype ( 1.3.6.1.4.1.1466.101.119.4 NAME 'dynamicSubtrees'	DESC 'RFC2589: dynamic subtrees'	SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 NO-USER-MODIFICATION	USAGE dSAOperation ))
line 492 (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} ))
line 499 (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} ))
line 504 (objectclass ( 0.9.2342.19200300.100.4.19 NAME 'simpleSecurityObject'	DESC 'RFC1274: simple security object'	SUP top AUXILIARY	MUST userPassword ))
line 512 (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 ))
line 517 (objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject'	DESC 'RFC2247: domain component object'	SUP top AUXILIARY MUST dc ))
line 523 (objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject'	DESC 'RFC2377: uid object'	SUP top AUXILIARY MUST uid ))
line 533 (attributetype ( 2.16.840.1.113730.3.1.34 NAME 'ref'	DESC 'Named referral'	EQUALITY caseExactIA5Match	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26	USAGE distributedOperation ))
line 537 (objectclass ( 2.16.840.1.113730.3.2.6 NAME 'referral'	DESC 'Named referral object'	SUP top STRUCTURAL MUST ref ))
line 544 (objectclass ( 2.16.840.1.113719.2.142.6.1.1 NAME 'LDAPsubEntry'	DESC 'LDAP Subentry'	SUP top STRUCTURAL MAY cn ))
line 552 (objectclass ( 1.3.6.1.4.1.4203.1.4.1	NAME ( 'OpenLDAProotDSE' 'LDAProotDSE' )	DESC 'OpenLDAP Root DSE object'	SUP top STRUCTURAL MAY cn ))
line 560 (attributetype ( 0.9.2342.19200300.100.1.37 NAME 'associatedDomain'	EQUALITY caseIgnoreIA5Match	SUBSTR caseIgnoreIA5SubstringsMatch	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ))
line 570 (attributetype ( 1.3.6.1.4.1.250.1.32	NAME ( 'krbName' 'kerberosName' )	DESC 'Kerberos Name'	EQUALITY caseIgnoreIA5Match	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26	SINGLE-VALUE ))
line 579 (attributetype ( 1.3.6.1.4.1.4203.1.3.1	NAME 'entry'	DESC 'OpenLDAP ACL entry pseudo-attribute'	SYNTAX 1.3.6.1.4.1.4203.1.1.1	SINGLE-VALUE NO-USER-MODIFICATION USAGE dSAOperation ))
line 585 (attributetype ( 1.3.6.1.4.1.4203.1.3.2	NAME 'children'	DESC 'OpenLDAP ACL children pseudo-attribute'	SYNTAX 1.3.6.1.4.1.4203.1.1.1	SINGLE-VALUE NO-USER-MODIFICATION USAGE dSAOperation ))
line 592 (attributetype ( 1.3.6.1.4.1.4203.666.1.5	NAME 'OpenLDAPaci'	DESC 'OpenLDAP access control information'	EQUALITY OpenLDAPaciMatch	SYNTAX 1.3.6.1.4.1.4203.666.2.1	USAGE directoryOperation ))
line 14 (pidfile		/usr/local/openldap/var/slapd.pid)
line 15 (argsfile	/usr/local/openldap/var/slapd.args)
line 28 (database	ldbm)
line 29 (suffix		"dc=mobilix, dc=dk")
line 31 (rootdn		"cn=Manager, dc=mobilix, dc=dk")
line 36 (rootpw		secret)
line 39 (directory	/usr/local/openldap/var/openldap-ldbm)
line 41 (index	objectClass	eq)
index objectClass 0x0004
slapd startup: initiated.
slapd starting
daemon: added 6r
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: new connection on 7
daemon: conn=0 fd=7 connection from IP=127.0.0.1:38926 (IP=0.0.0.0:389) accepted.
daemon: added 7r
daemon: activity on:
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0                 
ldap_read: want=1, got=1
  0000:  2d                                                 -                 
ldap_read: want=45, got=45
  0000:  02 01 01 60 28 02 01 03  04 1b 63 6e 3d 4d 61 6e   ...`(.....cn=Man  
  0010:  61 67 65 72 2c 64 63 3d  6d 6f 62 69 6c 69 78 2c   ager,dc=mobilix,  
  0020:  64 63 3d 64 6b 80 06 73  65 63 72 65 74            dc=dk..secret     
ber_get_next: tag 0x30 len 45 contents:
ber_dump: buf=0x000da948 ptr=0x000da948 end=0x000da975 len=45
  0000:  02 01 01 60 28 02 01 03  04 1b 63 6e 3d 4d 61 6e   ...`(.....cn=Man  
  0010:  61 67 65 72 2c 64 63 3d  6d 6f 62 69 6c 69 78 2c   ager,dc=mobilix,  
  0020:  64 63 3d 64 6b 80 06 73  65 63 72 65 74            dc=dk..secret     
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({iat) ber:
ber_dump: buf=0x000da948 ptr=0x000da94b end=0x000da975 len=42
  0000:  60 28 02 01 03 04 1b 63  6e 3d 4d 61 6e 61 67 65   `(.....cn=Manage  
  0010:  72 2c 64 63 3d 6d 6f 62  69 6c 69 78 2c 64 63 3d   r,dc=mobilix,dc=  
  0020:  64 6b 80 06 73 65 63 72  65 74                     dk..secret        
ber_scanf fmt (o}) ber:
ber_dump: buf=0x000da948 ptr=0x000da96d end=0x000da975 len=8
  0000:  80 06 73 65 63 72 65 74                            ..secret          
do_bind: version=3 dn="cn=Manager,dc=mobilix,dc=dk" method=128
conn=0 op=0 BIND dn="CN=MANAGER,DC=MOBILIX,DC=DK" method=128
==> ldbm_back_bind: dn: cn=Manager,dc=mobilix,dc=dk
dn2entry_r: dn: "CN=MANAGER,DC=MOBILIX,DC=DK"
=> dn2id( "CN=MANAGER,DC=MOBILIX,DC=DK" )
=> ldbm_cache_open( "/usr/local/openldap/var/openldap-ldbm/dn2id.dbb", 7, 600 )
ldbm_cache_open (blksize 8192) (maxids 2046) (maxindirect 5)
<= ldbm_cache_open (opened 0)
<= dn2id NOID
dn2entry_r: dn: "DC=MOBILIX,DC=DK"
=> dn2id( "DC=MOBILIX,DC=DK" )
=> ldbm_cache_open( "/usr/local/openldap/var/openldap-ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
do_bind: v3 bind: "cn=Manager,dc=mobilix,dc=dk" to "cn=Manager, dc=mobilix, dc=dk"
send_ldap_result: conn=0 op=0 p=3
send_ldap_result: 0::
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 7
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........    
conn=0 op=0 RESULT tag=97 err=0 text=
daemon: select: listen=6 active_threads=1 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0                 
ldap_read: want=1, got=1
  0000:  68                                                 h                 
ldap_read: want=104, got=104
  0000:  02 01 02 68 63 04 10 64  63 3d 6d 6f 62 69 6c 69   ...hc..dc=mobili  
  0010:  78 2c 64 63 3d 64 6b 30  4f 30 29 04 0b 6f 62 6a   x,dc=dk0O0)..obj  
  0020:  65 63 74 63 6c 61 73 73  31 1a 04 09 64 63 4f 62   ectclass1...dcOb  
  0030:  6a 65 63 74 20 04 0d 6f  72 67 61 6e 69 7a 61 74   ject ..organizat  
  0040:  69 6f 6e 20 30 11 04 01  6f 31 0c 04 0a 4d 6f 62   ion 0...o1...Mob  
  0050:  69 6c 69 78 20 41 53 30  0f 04 02 64 63 31 09 04   ilix AS0...dc1..  
  0060:  07 6d 6f 62 69 6c 69 78                            .mobilix          
ber_get_next: tag 0x30 len 104 contents:
ber_dump: buf=0x000da910 ptr=0x000da910 end=0x000da978 len=104
  0000:  02 01 02 68 63 04 10 64  63 3d 6d 6f 62 69 6c 69   ...hc..dc=mobili  
  0010:  78 2c 64 63 3d 64 6b 30  4f 30 29 04 0b 6f 62 6a   x,dc=dk0O0)..obj  
  0020:  65 63 74 63 6c 61 73 73  31 1a 04 09 64 63 4f 62   ectclass1...dcOb  
  0030:  6a 65 63 74 20 04 0d 6f  72 67 61 6e 69 7a 61 74   ject ..organizat  
  0040:  69 6f 6e 20 30 11 04 01  6f 31 0c 04 0a 4d 6f 62   ion 0...o1...Mob  
  0050:  69 6c 69 78 20 41 53 30  0f 04 02 64 63 31 09 04   ilix AS0...dc1..  
  0060:  07 6d 6f 62 69 6c 69 78                            .mobilix          
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_add
ber_scanf fmt ({a) ber:
ber_dump: buf=0x000da910 ptr=0x000da913 end=0x000da978 len=101
  0000:  68 63 04 10 64 63 3d 6d  6f 62 69 6c 69 78 2c 64   hc..dc=mobilix,d  
  0010:  63 3d 64 6b 30 4f 30 29  04 0b 6f 62 6a 65 63 74   c=dk0O0)..object  
  0020:  63 6c 61 73 73 31 1a 04  09 64 63 4f 62 6a 65 63   class1...dcObjec  
  0030:  74 20 04 0d 6f 72 67 61  6e 69 7a 61 74 69 6f 6e   t ..organization  
  0040:  20 30 11 04 01 6f 31 0c  04 0a 4d 6f 62 69 6c 69    0...o1...Mobili  
  0050:  78 20 41 53 30 0f 04 02  64 63 31 09 04 07 6d 6f   x AS0...dc1...mo  
  0060:  62 69 6c 69 78                                     bilix             
do_add: ndn (DC=MOBILIX,DC=DK)
ber_scanf fmt ({a{V}}) ber:
ber_dump: buf=0x000da910 ptr=0x000da929 end=0x000da978 len=79
  0000:  30 29 04 0b 6f 62 6a 65  63 74 63 6c 61 73 73 31   0)..objectclass1  
  0010:  1a 04 09 64 63 4f 62 6a  65 63 74 20 04 0d 6f 72   ...dcObject ..or  
  0020:  67 61 6e 69 7a 61 74 69  6f 6e 20 30 11 04 01 6f   ganization 0...o  
  0030:  31 0c 04 0a 4d 6f 62 69  6c 69 78 20 41 53 30 0f   1...Mobilix AS0.  
  0040:  04 02 64 63 31 09 04 07  6d 6f 62 69 6c 69 78      ..dc1...mobilix   
ber_scanf fmt ({a{V}}) ber:
ber_dump: buf=0x000da910 ptr=0x000da954 end=0x000da978 len=36
  0000:  30 11 04 01 6f 31 0c 04  0a 4d 6f 62 69 6c 69 78   0...o1...Mobilix  
  0010:  20 41 53 30 0f 04 02 64  63 31 09 04 07 6d 6f 62    AS0...dc1...mob  
  0020:  69 6c 69 78                                        ilix              
ber_scanf fmt ({a{V}}) ber:
ber_dump: buf=0x000da910 ptr=0x000da967 end=0x000da978 len=17
  0000:  30 0f 04 02 64 63 31 09  04 07 6d 6f 62 69 6c 69   0...dc1...mobili  
  0010:  78                                                 x                 
ber_scanf fmt (}) ber:
ber_dump: buf=0x000da910 ptr=0x000da978 end=0x000da978 len=0

conn=0 op=1 ADD dn="DC=MOBILIX,DC=DK"
dn2entry_r: dn: "DC=MOBILIX,DC=DK"
=> dn2id( "DC=MOBILIX,DC=DK" )
=> ldbm_cache_open( "/usr/local/openldap/var/openldap-ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: 21::value contains invalid data
send_ldap_response: msgid=2 tag=105 err=21
ber_flush: 41 bytes to sd 7
  0000:  30 27 02 01 02 69 22 0a  01 15 04 00 04 1b 76 61   0'...i".......va  
  0010:  6c 75 65 20 63 6f 6e 74  61 69 6e 73 20 69 6e 76   lue contains inv  
  0020:  61 6c 69 64 20 64 61 74  61                        alid data         
ldap_write: want=41, written=41
  0000:  30 27 02 01 02 69 22 0a  01 15 04 00 04 1b 76 61   0'...i".......va  
  0010:  6c 75 65 20 63 6f 6e 74  61 69 6e 73 20 69 6e 76   lue contains inv  
  0020:  61 6c 69 64 20 64 61 74  61                        alid data         
conn=0 op=1 RESULT tag=105 err=21 text=value contains invalid data
daemon: select: listen=6 active_threads=1 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 7r
daemon: read activity on 7
connection_get(7)
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0                 
ldap_read: want=1, got=1
  0000:  05                                                 .                 
ldap_read: want=5, got=5
  0000:  02 01 03 42 00                                     ...B.             
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x000d7188 ptr=0x000d7188 end=0x000d718d len=5
  0000:  02 01 03 42 00                                     ...B.             
ber_get_next
ldap_read: want=1, got=0

ber_get_next on fd 7 failed errno=0 (Error 0)
connection_read(7): input error=-2 id=0, closing.
connection_closing: readying conn=0 sd=7 for close
connection_close: deferring conn=0 sd=7
do_unbind
conn=0 op=2 UNBIND
connection_resched: attempting closing conn=0 sd=7
connection_close: conn=0 sd=7
daemon: removing 7
conn=-1 fd=7 closed
daemon: select: listen=6 active_threads=1 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=1 tvp=NULL
^Cslap_sig_shutdown: signal 2
daemon: shutdown requested and initiated.
daemon: closing 6
slapd shutdown: waiting for 0 threads to terminate
slapd shutdown: initiated
ldbm backend syncing
ldbm flushing db (/usr/local/openldap/var/openldap-ldbm/dn2id.dbb)
ldbm closing db (/usr/local/openldap/var/openldap-ldbm/dn2id.dbb)
ldbm backend done syncing
====> cache_release_all
slapd shutdown: freeing system resources.
slapd stopped.
[root@braun]:/usr/local/openldap/libexec > ^Dexit

script done on Fre 29 Dec 2000 13:23:17 MET