Hi. I
am a first timer on a short schedule. I was supposed to have LDAP up and
running yesterday J. Here are
my entries to the slapd.conf file: database bdb suffix "dc=services,dc=egginc,dc=com" rootdn "cn=Manager,dc=services,dc=egginc,dc=com" rootpw secret directory /usr/local/var/openldap-data index cn,sn,uid,
pres,eq,approx,sub index
telephonenumber,emailaddress pres,eq index objectClass eq Here is
some of my input file: #
record add into the egg ou dn:cn=Charles
Abbate ,ou=egg ,dc=services ,dc=egginc ,dc=com changetype:add cn:Charles
Abbate telephonenumber:(435)
833-7655 sn:Abbate emailaddress:CAbbate@EGGinc.com #
record add into the egg ou dn:cn=Jack
Abbott ,ou=egg ,dc=services ,dc=egginc ,dc=com changetype:add cn:Jack
Abbott telephonenumber:[702]-736-3538 sn:Abbott emailaddress:jabbott@egginc.com #
record add into the egg ou dn:cn=Ronald
Abe ,ou=egg ,dc=services ,dc=egginc ,dc=com changetype:add cn:Ronald
Abe telephonenumber: sn:Abe emailaddress:Ronald.Abe@jt3.com #
record add into the egg ou dn:cn=Louis
Abena-ondoa ,ou=egg ,dc=services ,dc=egginc ,dc=com changetype:add cn:Louis
Abena-ondoa telephonenumber: sn:Abena-ondoa emailaddress:louis.abena-ondoa@noaa.gov Here is
the error I get when I ldapadd ldapadd -x -D "cn=Manager,dc=services,dc=egginc,dc=com" -W -f
egg3.txt Enter LDAP Password: adding new entry "cn=Charles Abbate ,ou=egg ,dc=services
,dc=egginc ,dc=com" ldap_add: Type or value exists (20) additional info:
objectClass: value #70 provided more than once I've
tried this process, and one minute I seem to be getting further and then next I
am right back where I started [root@EGGLDAP
openldap]# ps ax | grep slap 28657
? S
0:00 /usr/local/libexec/slapd 28747
pts/13 R 0:00 grep slap [root@EGGLDAP
openldap]# kill 28657 [root@EGGLDAP
openldap]# slapindex bash:
slapindex: command not found [root@EGGLDAP
openldap]# /usr/sbin/slapindex [root@EGGLDAP
openldap]# su root -c /usr/local/libexec/slapd [root@EGGLDAP
openldap]# ldapsearch -x -b "" -s base '(objectclass=*)' namingco ntexts #
extended LDIF # #
LDAPv3 # base
<> with scope base #
filter: (objectclass=*) #
requesting: namingcontexts # # dn: namingContexts:
dc=services,dc=egginc,dc=com #
search result search:
2 result:
0 Success #
numResponses: 2 #
numEntries: 1 [root@EGGLDAP
openldap]# ldapadd -x -D "cn=Manager,dc=services,dc=egginc,dc=com" -W
-f egg3.txt Enter
LDAP Password: adding
new entry "cn=Charles Abbate ,ou=egg ,dc=services ,dc=egginc ,dc=com" ldap_add:
Type or value exists (20)
additional info: cn: value #70 provided more than once Any help would be
greatly appreciated! |