openldap

How to configure OpenLDAP Proxy/Cache to cache all queries

Ok, this is an OpenLDAP newby question so bear with me. I haven't been able to find a straight answer on the webinets, so here we go: Note: The ultimate goal is to have an OpenLDAP server set up as a proxy/cache for a "single" query to get all of the results in a master LDAP (if you're familiar with .Net's DirectoryServices dll, the app...

error LNK2019 unexplainable when trying to port openldap to windows

Hi , I m working on windows XP with visual studio 2005. My project is a Cmake project created after creating an LDAP abstraction API on linux.I m trying somehow to make it work on windows. I've got an unusual linking error of type LNK2019 code : main.obj : error LNK2019: symbole externe non résolu _strcpy référencé dans la fonction _m...

How to add a new field to an open ldap schema

What would be the easiest way to add a new field to a list of potential fields on an existing ldap schema? How would this affect existing records? The field would be added at the deepest level of the dn (each user account). ...

OpenLdap proxy CN case-sensitive

Hi, I am having a web app which needs to cache a notes ldap. For that the IT installed Openldap which will be queried from the web app. Basically OpenLdap Proxy. now CN=My User, O=Corp comes over as cn=My User, o=Corp... (notice the case CN vs. cn, etc) Can I adjust something in slapd.conf that tells my mapping to be case-sensitive? ...

openldap data files, what do they look like

from my slapd.conf file, i see where my data is stored. when I look into that data directory i see two kinds of files, one type are .bdb files which appear to be the data files as that is the extension defined in the config file. But, I also have a bunch of log files, which appear to be binary when I try to read them in vi. I'm not sure ...

Configure OpenLDAP inside Unbuntu 10.04 server for svn user and group administration

After configuring apache2 and svn inside ubuntu 10.04 serve I'm pretending to install OpenLDAP to use LDAP protocol to configure and administrate users and groups with the svn repositories. However it seems that OpenLDAP recently went through some modifications and the Ubuntu offical documentation about OpenLDAP is out of date. I foun...

OpenLDAP configuration error ldap_bind: Invalid credentials (49)

I'm using Ubuntu 10.4 server and I'm trying to configure OpenLDAP as a protocol for authentication for SVN and other services. However I quite don't understand how ldap works and after setting a example config I tried to populate it without success. This is the error: ldap_bind: Invalid credentials (49) It seems to be example config p...

Java JNDI Delete entire LDAP subtree

Hi all, I need to delete entire LDAP subtree, by Java code, like the -r parameter of ldapdelete command. How can I do that? There is a simple way to delete entire LDAP subtree with JNDI? Thanks and best regards, Roberto. ...

OpenLDAP Installation - not finding the BerkelyDB

I'm installing OpelLdap on a RHEL 5; I used instructions found at http://www.linux.com/archive/feature/113607. All went well, until running './configure' for OpenLDAP - the following error was recorded: checking for gethostbyaddr_r... yes checking number of arguments of ctime_r... 2 checking number of arguments of gethostbyname_r... 6...

LDAP authenticating partially. Password being replaced

After a week of struggling to find out why some of our machines are Authenticating off of our LDAP servers and some are not I noticed that after PAM binds to see if the uid exists it then sends the users password. At the packet level, I can see that when I auth on the machines that are working that I see my password come through. When I ...

How to update ldap with ldif backups?

Hi all, I have an openldap ldif backup file daily that I want to replicate in other server. I add the data with slapadd -v -l file.ldif but Can I update the changes that have occurred in my other ldap server with next ldif backup file? I try with ldapmodify, ldapadd but not work properly. Regards, f. ...

Fetching LDAP Schema in Java

Hello, I'm trying to fetch the schema of an LDAP entity. I've been advised to use Novell's open sourced LDAP library, which seems to be quite good. I found an example called GetAttributeSchema, which sounds really good, but I think I've got a parameter set incorrectly or something. The results I'm getting are: ou ( 2.5.4.11 NA...

How can I use OpenLDAP as the store for OpenAM under Ubuntu?

I realize there are a number of sources on how to get OpenLDAP set up under Ubuntu, or how to configure data stores for OpenAM (formerly OpenSSO). Some that seem most useful to me are: ubuntuforums.org/showpost.php?p=8236370&postcount=1 blogs.sun.com/indira/entry/using_openldap_as_user_data Unfortunately, when I try to import the LDIF...