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

Problems initiating openldap



Hi,
  I'm trying to start/initiate a slapd on a solaris8 E280R
  The goal is to have at least passwd/shadow/group maps
  so that a number of other solaris8 machines and som lnx/openBSD/freeBSD
  machines can use these maps.
  The Domain is "mss.mnemonic.no"
  I've compiled/installed openldap 2.1, and ran the tests (make test)
  without problems, and finally done a #make install
  
  Then my slapd.conf file looks like this: (removed all comments)
  
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.2 2002/08/19 16:21:49 
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/nis.schema
include         /usr/local/etc/openldap/schema/solaris.schema
pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args
database        bdb
suffix          "dc=mss,dc=mnemonic,dc=no"
rootdn          "cn=Manager,dc=mss,dc=mnemonic,dc=no"
rootpw          secret
directory       /usr/local/var/openldap-data
index   objectClass     eq
#---------------

I've got the solaris.schema from:
http://www.ypass.net/solaris8/openldap/nisschema.html#solarisschema

Now, I've made a file called "base.ldif", which looks like this:
dn:     dc=mss,dc=mnemonic,dc=no
objectclass:    top
objectclass:    dcObject
objectclass:    nisDomainObject
dc:     mss
nisDomain:      mss.mnemonic.no

dn:     ou=People,dc=mss,dc=mnemonic,dc=no
objectclass:    top
objectclass:    organizationalUnit
ou:     People

dn:     ou=LDAPusers,dc=mss,dc=mnemonic,dc=no
objectclass:    top
objectclass:    organizationalUnit
ou:     LDAPUsers

dn:     cn=solaris,ou=LDAPusers,dc=mss,dc=mnemonic,dc=no
objectclass:    top
objectclass:    person
cn:     solaris
sn:     LDAP User
userPassword:   {crypt}GYIC5lHgAsLhE
 
 
 
 Now, I'll try:
 #rm /usr/local/var/openldap-data/*
 #slapadd -v -d 9 -l ../ldif/base.ldif
 slapadd init: initiated tool.
bdb_open: initialize BDB backend
bdb_open: Sleepycat Software: Berkeley DB 4.1.24: (September 13, 2002)
>>> dnNormalize: <cn=Subschema>
<<< dnNormalize: <cn=subschema>
/usr/local/etc/openldap/schema/solaris.schema: line 35: AttributeType 
inappropriate matching rule: "caseIgnoreIA5Match"
slapadd: bad configuration file!

Can anyone help me on this?  Am I doing something terribly wrong ?


 
  
  
Yours
--------------------------------------------------------------
Espen Martinsen                       Email : esm@mnemonic.no
Mnemonic AS, Waldemar Thranesgt. 77   Phone : +47 2299 9710/00
                                      Mobil : +47 915 88 485
N-0175 Oslo, NORWAY                   Fax   : +47 2299 9701
--------------------------------------------------------------
(PADI AOW 87191)                       http://www.mnemonic.no/
pgp print =  99CD 4027 36F4 0A4F 68DA 2925 327A 5BCF 9C21 F277