openldap

What is the best OpenLDAP authentication option for a C# asp.net application?

I want to avoid the users of browsing the other users names , security (of course) and performance thanks ...

LDAP socket keep-alive

We are using OpenLDAP client library to conect to an LDAP server. The problem is that if there is no activity for some time, server (or firewall in the middle) drops TCP connection. Our current implementation of "keep-alive" just does search for baseDN from time to time - any better ideas ? ...

In Slapd, how do I deal with the "connection table full (64/64)" error?

I'm working on an application running on Windows servers which requires heavy use of LDAP. For now we are stuck with the slapd LDAP server on a Windows platform - it's not great but for various reasons we are stuck with this architecture. Our system scales with demand, so at peak times there will be more application servers. Each applic...

How can I find out how many connections to my slapd LDAP server?

I have a slapd LDAP server which is critical to my application. I want to monitor it in order to detect when it has become over-loaded or if it fails. Unfortunately we are stuck with a very old edition of slapd which has a known bug: It cannot cope with more than 64 concurrent connections. If a client attempts to open any more connectio...

How do I manually install an old cygwin package?

A project I am working on requires an old version of SLAPD (the LDAP server) and must run on Windows, hence I am using cygwin packages: I've found a binary package of slapd version I need 2.2.x here: http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/release/... How do I manually install it in cygwin? It does not seem to ...

Best Framework For Accessing OpenLDAP With Seam & JBoss AS?

We are currently implementing a portal to our web based services. The portal and services are written with Seam and we are using OpenLDAP to store the security data such as users, groups and permissions. So far we have looked at writing our own code to access LDAP but are there any existing APIs that we could use? ...

Connecting to OpenLDAP server in vbScript via openDSObject

I have code that works correctly to connect to an Active Directory server: Dim oDSObj: Set oDSObj = GetObject("LDAP:") Dim oAuth: Set oAuth = oDSObj.OpenDSObject("LDAP://ldap.domain.com", "DOMAIN\username", "password", 1) However, I can't seem to figure out the syntax to make this work against an OpenLDAP Server: Dim oDSObj: Set oDSO...

IIS OpenLDAP

Is it possible (and how) to have IIS check users against an OpenLDAP server? ...

how to update OpenLDAP directory attribute?

Is there any way to programmatically update the OpenLDAP directory attribute through Java code? ...

Adding a static library to an iPhone project

Hi guys, The motivation for this question is me trying to get LDAP functions to work with an iPhone application which is a project I'm attempting for part of my dissertation. When I was developing the application I used the ldap.framework framework that is part of Mac OS X. This works fine in the simulator, but when I try to now get t...

How do I clone an OpenLDAP database

I know this is more like a serverfault question than a stackoverflow question, but since serverfault isn't up yet, here I go: I'm supposed to move an application from one redhat server to another, and without very good knowledge of the internal workings of the application, how would I move the OpenLDAP database from the one machine to t...

Choosing an RDN for new objectClasses in LDAP?

What are the best practices for choosing an RDN when creating new objectClasses in LDAP? I know you can choose from uid, cn, ou, and so on, but what practices should one follow? ...

Attribute is not being renamed by this code in Ldap.

/** * * ModifyRDN .java * Sample code to demostrate how ModifyRDN/ModifyDN works. * */ import javax.naming.; import javax.naming.directory.; import java.util.Hashtable; public class ModifyRDN { public static void main(String[] args) { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY,"co...

Active Directory vs OpenLDAP

What are the main diffrences between these two implementations of LDAP protocol? Which is better for heterogenous environment? Any good websites about this topic? ...

Is there a way to query an openldap with GetObject method on VBS

Hello, i try to get ldap attribute with GetObject on openldap with vbs like set foo = GetObject("LDAP://127.0.0.1:389/uid=toto,uid=DriverSet,ou=Resources,o=my-security") For Each bar In foo wscript.echo bar.name next This block prints only other ldap directory(node). Getobject works only with AD object or with no...

iPhone SDK 3 EXC_BAD_ACCESS with openldap library

Hello, Hope someone can help me, I am trying to build openldap for an app on my iPhoneOS3 but when I try to use something from the library I get this error : Program received signal: “EXC_ BAD_ACCESS”. I followed this website to compile openldap with iphone gcc. So I built openldap with this : export DEVROOT=/Developer/P...

slappasswd -h {CRYPT} not working

Hi , When I try to encrypt the password by using the following command on my linux machine: slappasswd -h {CRYPT} I am prompted for a new password: Re-enter the new password : After typing this I encounter the following error: Password generation failed for scheme {CRYPT}: scheme not recognized. Why am I getting this error? I a...

openldap connections falling short

I have an openldap server which is not able to cater to all the connection requests it is getting. It stops responding - ie. clients which attempt a connection get an error 'Can't contact LDAP server (-1)' after about 2 - 3 minutes. There is high traffic (as far as I know) and the problem occurs throughout the day - the server responds, ...

How to change the backend database of OpenLdap in windows

I've see an article about how to change the backend database of openldap in linux,one of step in that guide is compile openldap with the --enable-sql option. But I'am working on windows and I only got a binary-version of openldap, could I use postgres to change the original and how? ...

How to store simple name value pairs in an ldap directory

I'm creating a user repository ldap backend for a series of web applications sharing the same users. I would like to store preference information in this ldap location. This way everything related to users is maintained in the same place and can be shared among all applications. I'm thinking of a general structure like this: ou=Peop...