tarballed
02-17-2003, 06:58 PM
Hello everyone.
Well, I have been coming through LDAP here and it has been some what successfuly and very frustrating. :)
Let me explain here:
We are setting up a LDAP server to test on at this moment. We eventually want to make the LDAP server our main authentication for our users to access data on the server. But for the time being, I am just trying to get this up and running so I can test.
I have installed the latest version of openldap via Red Hat update. My main config files are in /etc/openldap. Here is the output of slapd.conf:
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
#database info
database ldbm
#suffix "dc=ubergeek,dc=org"
suffix "o=ubergeeks"
#suffix "dc=ldap,dc=ubergeeks,dc=org"
rootdn "cn=Manager,o=ubergeeks"
rootpw secret
# rootpw {crypt}ijFYNcSNctBYg
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq,subinitial
Ok. I should mention that the box that we are testing on does not have a formal DNS setup. It is just called ubergeek.
So here is the output when I try to add data to the directory:
ldapadd -f uber.ldif -xv -D "cn=Manager,o=ubergeek" -w secret
ldap_initialize( <DEFAULT> )
add o:
ubergeek
add objectclass:
top
organization
adding new entry "o=ubergeek"
ldap_add: Operations error
ldif_record() = 1
I cant seem to figure out why this is not going as smoothly as I thought.
Does anyone have any thoughts? I have been using multiple HOW-To links, but none seem to be really helping out.
Any help would be greatly appreciated.
Thanks.
Tarballed
Well, I have been coming through LDAP here and it has been some what successfuly and very frustrating. :)
Let me explain here:
We are setting up a LDAP server to test on at this moment. We eventually want to make the LDAP server our main authentication for our users to access data on the server. But for the time being, I am just trying to get this up and running so I can test.
I have installed the latest version of openldap via Red Hat update. My main config files are in /etc/openldap. Here is the output of slapd.conf:
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
#database info
database ldbm
#suffix "dc=ubergeek,dc=org"
suffix "o=ubergeeks"
#suffix "dc=ldap,dc=ubergeeks,dc=org"
rootdn "cn=Manager,o=ubergeeks"
rootpw secret
# rootpw {crypt}ijFYNcSNctBYg
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index objectClass,uid,uidNumber,gidNumber,memberUid eq
index cn,mail,surname,givenname eq,subinitial
Ok. I should mention that the box that we are testing on does not have a formal DNS setup. It is just called ubergeek.
So here is the output when I try to add data to the directory:
ldapadd -f uber.ldif -xv -D "cn=Manager,o=ubergeek" -w secret
ldap_initialize( <DEFAULT> )
add o:
ubergeek
add objectclass:
top
organization
adding new entry "o=ubergeek"
ldap_add: Operations error
ldif_record() = 1
I cant seem to figure out why this is not going as smoothly as I thought.
Does anyone have any thoughts? I have been using multiple HOW-To links, but none seem to be really helping out.
Any help would be greatly appreciated.
Thanks.
Tarballed