Hi all,
Thanks for your help, i created another domain and from my slapcat output i get this
dn: dc=mycompnay,dc=com
objectClass: dcObject
objectClass: organization
o: mycompany
dc: mycompany
structuralObjectClass: organization
entryUUID: e235aa56-cd4a-102e-9e99- 4f8ab88a5141
creatorsName: cn=root,dc=mycompany,dc=com
modifiersName:
cn=root,dc=mycompany,dc=com
createTimestamp: 20100326174351Z
modifyTimestamp: 20100326174351Z
entryCSN: 20100326174351Z#000000#00# 000000
dn: dc=mycompany,dc=local
objectClass: dcObject
objectClass: organization
o: mycompany
dc: mycompany
structuralObjectClass: organization
entryUUID:
4c85f2e4-cf9e-102e-9a60- f35afa4f4768
creatorsName:
cn=root,dc=mycompany,dc=local
modifiersName:
cn=root,dc=mycompany,dc=local
createTimestamp: 20100329164559Z
modifyTimestamp: 20100329164559Z
entryCSN: 20100329164559Z#000000#00# 000000
i want to delete the first domain entry
"dc=mycompany,dc=com"so i am left with the last one ie
"dc=mycompany,dc=local"
Also, i get this error from ldasearch; ldap_bind Can't contact LDAP server,
i
have gotten a lead on linuxquestions which i will try end of day, but a
quick suggestion will be appreciated.
I am doing some good
reading on openldap so it wont be long until i get openldap right.
I am also checking on the forums.
This is a small project i am working on, and soon i will be doing ZCS running on CentOS.
Thanks
in advance.
________________________________
From: Patrick Mburu <patrick_lists(a)yahoo.com>
To: openldap-technical(a)openldap.org
Sent: Mon, March 29, 2010 12:37:01 PM
Subject: ldap
Hi all,
I have been trying to work with my .ldif file which looks like below but i get an error: All Services are started in this scenario;
My ldif file
dn: dc=mycompany,dc=COM
objectclass: dcObject
objectclass:
organization
o: mycompany
dc: mycompany
dn:
cn=root,dc=mycompany,dc=COM
objectclass: organizationalRole
cn: root
Error
=> bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already exists (-30996)
=> bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
slapadd: could not add entry dn="dc=mycompnaye,dc=com" (line=6): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
What am i not getting right, urgent help needed.