dugangfeng(a)163.com wrote:
hi all:
I start slapd by -d -1 command,'slapd -d -1',but print this:
@(#) $OpenLDAP: slapd 2.2.13 (Aug 19 2004 21:22:15) $
^^^ you're actully running OpenLDAP 2.2.13 with more recent schema files.
root@porky.build.redhat.com:/usr/src/build/440386-i386/BUILD/openldap-2.2.13/openldap-2.2.13/build-servers/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
reading config file /etc/openldap/slapd.conf
line 5 (include /etc/openldap/schema/core.schema)
reading config file /etc/openldap/schema/core.schema
line 78 (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} ))
line 87 (attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' ) DESC
'RFC2256: last
(family) name(s) for which the entity is known by' SUP name ))
line 93 (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} ))
line 100 (attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' ) DESC
'RFC4519:
two-letter ISO-3166 country code' SUP name SYNTAX 1.3.6.1.4.1.1466.115.121.1.11
SINGLE-VALUE ))
/etc/openldap/schema/core.schema: line 100: AttributeType inappropriate
SUPerior: "c"
slapd shutdown: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
please help me ,thanks.
You need to use consistent code/configuration. As there is no evidence
of a bug, this ITS will be closed.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati(a)sys-net.it
---------------------------------------