LDAP problems
Hi. My name is Peter. I have been trying to get my ldap server working for a week. I have read every howto / helpfile / newsgroup I can find, and although your page (http://www.grennan.com/ldap-HOWTO.html) has been the absolute most help, I am still not up and running...
Here is my slapd.conf file _____________________________________________________________________ include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/redhat/rfc822-MailMember.schema include /etc/openldap/schema/redhat/autofs.schema include /etc/openldap/schema/redhat/kerberosobject.schema pidfile //var/run/slapd.pid argsfile //var/run/slapd.args database ldbm suffix "dc=caris,dc=com" rootdn "cn=root,dc=caris,dc=com" rootpw secret rootpw {SSHA}ikm0rM6ESposYFzTp70WcvIUrBucZmCA directory /usr/share/openldap/migration index objectClass,uid,uidNumber,gidNumber,memberUid eq #index objectClass index cn,mail,surname,givenname eq,subinitial ________________________________________________________________- Here is my first ldif file (I have no idea what this is used for or why it is needed dn: dc=caris,dc=com objectClass: top objectClass: organization o: caris # dn: ou=people,dc=caris,dc=com # objectClass: top # objectClass: organizationalUnit # ou: people # dn: cn=mail, ou=people,dc=caris,dc=com # objectClass: posixgroup # objectClass: top # cn: mail # userPassword: iforget ________________________________________________________- And here is my ldif file with the data in it. dn: cn=Peter Marshall,mail=peter.marshall@caris.com objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson objectclass: mozillaAbPersonObsolete givenName: Peter sn: Marshall cn: Peter Marshall mail: peter.marshall@caris.com modifytimestamp: 0Z dn: cn=John Doe,mail=hello@hotmail.com objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson objectclass: mozillaAbPersonObsolete givenName: John sn: Doe cn: John Doe mail: hello@hotmail.com modifytimestamp: 0Z _____________________________________________________________ If you can help me out at all, I would be most appriciative. When I run service ldap start The service starts fine ---------------------------------------------------------------------------------------- When I run ldapadd -a -W -x -D "cn=root,dc=caris,dc=com" -f base.ldif I get adding new entry "dc=caris,dc=com" ldap_add: Operations error -_____------------------------------------------------------------ If I try ldapadd -a -W -x -D "cn=root,dc=caris,dc=com" -f whatever I get adding new entry "cn=Peter Marshall,mail=peter.marshall@caris.com" ldap_add: No such object ldif_record() = 32 Very sorry to bother you, and thank you for looking at this Peter Marshall |
All times are GMT -5. The time now is 07:04 PM. |