checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb3)... no
checking for Berkeley DB link (-ldb-3)... no
checking for Berkeley DB link (-ldb2)... no
checking for Berkeley DB link (-ldb-2)... no
checking for Berkeley DB link (-ldb1)... no
checking for Berkeley DB link (-ldb-1)... no
configure: error: BDB: BerkeleyDB not available
I tried several ways to fix this but I'm unable to.
I had the same problem and this is what I used to fix it, it looks like you tried the same thing but included LIBS at the beginning, I don't know if this will make a difference??
Hope the suggestion helps.
I am Unable to add a user I have created a ldif, but went I try to add a user I get the error message...
I have only just started using LDAP myself so I am offering advice from the top of my head.
Check your ldif file. When I followed the example in the tutorial I copied and pasted and everything worked out fine.
Check the config files match exactly.
The only thing that I can think based on your description is that there is a configuration problem either in slapd.conf or through your ldif.
You can make sure that you config file is correct by providing a -t switch when you start slapd. This will let you know of any errors??
I know its not much help but I tried... :(
LR
I have only just started using LDAP myself so I am offering advice from the top of my head.
Check your ldif file. When I followed the example in the tutorial I copied and pasted and everything worked out fine.
Check the config files match exactly.
The only thing that I can think based on your description is that there is a configuration problem either in slapd.conf or through your ldif.
You can make sure that you config file is correct by providing a -t switch when you start slapd. This will let you know of any errors??
I know its not much help but I tried... :(
LR
I don't quite get it ...
Is it posible to add address book data in the Netscape or can I only read data out of it ?
Iztok
When I run slapd it gives me this:
/usr/local/opeldap/etc/openldap/schema/inetorgperson.schema line 142: AttributeType not found: "audio"
What now?
If your DN looks like dc=melonfire,dc=com
you have to have an
attribute with the value of the RDN to conform to the LDAP data model
I.e. you need an attribute
dc: itarchitect
which is NOT correctly written in the example provided eg:
dn: dc=melonfire, dc=com
objectclass: dcObject
objectclass: organization
o: Melonfire
dc: melonfire.com
for those who care
**** coding:)
Falcon,
Thanks for the tip. I couldn't configure openldap w/ BerkleyBD 4.1 until reading your post.
thanks,
sterling
Good morning,
I have the same problem, I am using this:
env CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.1/include" LDFLAGS="-L/usr/local/ssl/lib -I/usr/local/BerkeleyDB.4.
1/lib" \
./configure
But the error does not disappear:
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb4)... no
checking for Berkeley DB link (-ldb-4)... no
checking for Berkeley DB link (-ldb)... no
checking for Berkeley DB link (-ldb3)... no
checking for Berkeley DB link (-ldb-3)... no
checking for Berkeley DB link (-ldb2)... no
checking for Berkeley DB link (-ldb-2)... no
checking for Berkeley DB link (-ldb1)... no
checking for Berkeley DB link (-ldb-1)... no
configure: error: BDB: BerkeleyDB not available
Regards and thanks in advance.
I have fixed it!!!
In the LDFLAGS variable i put an "I" instead of an "L", that's why it did not find the Berkeley libraries.
The correct options is:
env CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.1/include" LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.
1/lib" \
./configure
Now that you know how LDAP works, it's time to put it into practice. In this article, find out how to compile, install and configure the OpenLDAP software suite, create an LDAP directory for your organization, and add entries to it. Also included: a detailed discussion of how to search the database using both the UNIX client tools supplied with OpenLDAP, and the LDAP client built into Qualcomm Eudora.
Please discuss this article in this thread. You can read the article here (http://www.devshed.com/c/a/Administration/Understanding-LDAP-part-2).
If you would like to see an article covering a particular topic, please post your request here (http://forums.devshed.com/forumdisplay.php?s=&forumid=65).
help. I can't find the slapd.conf file. thanks.
Hi - as to the missing Berkeleydb libraries I found that trying to compile openldap with "--without-threads" options also caused missing berkeleydb error - hope this is of help
I am Unable to add a user I have created a ldif, but went I try to add a user I get the error message...