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

Re: Bizarre error while initializing a DIT

I'm curious why the error says "DC= " yet your file says "dc=" The case mismatch is interesting, however, should not matter.

PROXIED attribute DC inserted is more of what I'm interested in. Is this server setup with replication by chance already? If so, you will want to turn that off before you initialize it otherwise that could get in the way. Or, do you have referrals setup already? (didn't see them in the config).


On Aug 21, 2008, at 11:19 AM, Maykel Moya wrote:

I'm trying to initialize a DIT. This is the error I get:

root@tpro:/var/lib/ldap# slapadd -v -n 2 -l tproca1st.ldif
PROXIED attributeDescription "DC" inserted.
hdb_monitor_db_open: monitoring disabled; configure monitor database to
slapadd: dn="DC=tpro,DC=ca" (line=1): (64) naming attribute 'DC' is

root@tpro:/var/lib/ldap# cat tproca1st.ldif
dn: dc=tpro,dc=ca
objectClass: top
objectClass: dcObject
objectClass: organization
o: My test Orga
dc: tpro

root@tpro:/var/lib/ldap# slapcat -b cn=config
dn: olcDatabase={2}hdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: {2}hdb
olcSuffix: DC=tpro,DC=ca
olcLastMod: TRUE
olcMaxDerefDepth: 15
olcReadOnly: FALSE
olcMonitoring: TRUE
olcDbDirectory: /var/lib/ldap/tproca
olcDbCacheSize: 1000
olcDbCheckpoint: 512 30
olcDbConfig: {0}set_cachesize 0 4194304 0
olcDbConfig: {1}set_lk_max_objects 1500
olcDbConfig: {2}set_lk_max_locks 1500
olcDbConfig: {3}set_lk_max_lockers 1500
olcDbNoSync: FALSE
olcDbDirtyRead: FALSE
olcDbIDLcacheSize: 0
olcDbLinearIndex: FALSE
olcDbMode: 384
olcDbSearchStack: 16
olcDbShmKey: 0
olcDbCacheFree: 1
olcDbDNcacheSize: 0
structuralObjectClass: olcHdbConfig
entryUUID: 140c5ffc-f953-102c-9659-bb5cef3694ca
creatorsName: cn=config
createTimestamp: 20080808050326Z
olcDbIndex: objectClass eq
olcDbIndex: mail eq
olcAccess: {0}to dn.subtree="ou=users,dc=tpro,dc=ca"
ailRecipient)" attrs=mail,sldMailbox,userPassword by
dn="cn=dovecot,dc=tpro,dc=ca" read by * break
olcAccess: {1}to attrs=entry,uid,objectClass by
dn.base="cn=dn-search,dc=tpro,dc=ca" read by * break
olcAccess: {2}to attrs=userPassword,shadowLastChange by
tpro,dc=ca" write by anonymous auth by self write by * none
olcAccess: {3}to dn.base="" by * read
olcAccess: {4}to * by dn.base="cn=admin,dc=tpro,dc=ca" write by * read
entryCSN: 20080818145521.939111Z#000000#000#000000
modifiersName: cn=admin,DC=tpro,DC=ca
modifyTimestamp: 20080820145521Z

I'm using Ubuntu package for slapd 2.4.11.

Any hints?


++++++++++++++++++++++++++++++++++++++ Chris G. Sellers | Internet Engineer | NITLE 734.661.2318 | chris.sellers@nitle.org Jabber: csellers@nitle.org | AIM: imthewherd