openldap

Using Ruby to access LDAP DIT

Hi, We use ACLs to grant access to svn repositories. The users/groups are stored in LDAP (openLDAP 2.4 (LDAP3). Does anyone know or used libraries/package (gems) I can use. Basically, I will traverse LDAP DIT and update my svn file based on that. Connect to ldaps://xxxxxxxxxxx:636 Traverse DIT (subtree based on 'ou') Read attributes ...

Windows 7 OpenLDAP Curl DLL Dependency Hell

Hi, I really hope someone can be of help to me because this problem has me totally stuck and frustrated. Yesterday I installed a fresh and shiney new Windows 7 x64 onto a development box. I got VS2008 installed, Tortoise SVN, did a checkout, compiled my currently project, all fine and dandy. But when I go to run (either F5 in VS or ...

Retrieve empty attributes of LDAP DN.

Hi Community! I am currently programming a tool (in ANSI C) for my company which reads from an LDAP Directory and outputs all the data in a specific format (that is: the name format of our old proprietary directory db). This is then handled by another tool which reads the output and so on ... don't ask. Anyways, for my "ldaplist ..." c...

Open Directory directory domain name on Mac OS X

I can retrieve the logged in user name using NSUserName(), but how do I get the Open Directory "directory domain name" or other domain he is a member of? i.e. similar to the notion in Windows where a logged-in user is DOMAIN\USERNAME, where DOMAIN is his local machine, workgroup or Active Directory domain. ...

Paged ldap_search in OpenLDAP to get around size limit?

Hi there! We are currently in the process of migrating from an aged proprietary directory service to OpenLDAP. Today we ran into the problem that ldap_search_ext_s or ldapsearch in general does not return any results, if the number of entries, which were to be returned by the current search, would hit a certain limit. Unfortunately set...

OpenLdap Sq Server 2000 Interface

I need to implement an LDAP instance that will query SQL Server 2000. Can anyone point me to a tutorial/guide that will help me with the setup? I need to use the Windows build from OpenLDAP. Any material on back_sql configuration for OpenLDAP on windows? ...

ldap server-side batch operations

Hi, I'm using Net::LDAP to perform some operations on an openldap server. I'm interested in performing a number of simultaneous operations, O1, O2 .. On. The normal way to do so would be to perform them sequentially with each operation involving at least 1 round trip to the server. I want to perform all of these ops within a single rou...

open ldap registration with Zend Framework

The docs are very clear on how to authenticate against open LDAP with ZF. But, I failed to find the docs on how to register new users, delete users and update users (change password) using ZF on Open LDAP. Any good docs out there? ...

What problem does LDAP solve in the web world?

I understand LDAP is the protocol which is used to talk to an active directory system like OpenLDAP. I also understand OpenLDAP is a kind of database which stores objects in a tree. My question is: When and for what should I use (if at all) LDAP instead of a relational DB. ...

What's the official name of a "domain\username" authentication method for a domain?

Does anyone know what the official name is for a "domain\username" based login? I'm trying to troubleshoot an application which claims to have support for LDAP integration with OpenLDAP, Sun One etc. When I reviewed logs , and sniffed the network traffic I could see that in every instance of authentication a "domain\username" is passed...

Open ldap modify - /usr/bin/modify problem

Can anyone help me out on this? I'am trying to add another attribute on my LDAP, but i don't know much about this. It returns an error after trying the sample i searched on net. This command will be used on my perl program to add new attribute "status" w/ value "yes".. Help pls? /usr/bin/ldapmodify -x -D "cn=Test,ou=mygroup.com,o=group...

Pros and cons of using LDAP for external users

Hi I work for a company with multiple public-facing web sites. Some of these sites are built using third party products (Moveable Type, myBB, Trac and others). We also have a couple of bespoke sites built on the Microsoft stack. Currently, we have no unified authentication/authorisation solution; each site implements its own user sto...

PHP, LDAPS, APache and Multiple Server Certs

OK, ladies and gentlemen. If you could just read the whole thing before asking "Why would you want to do that!?!", I'd be much obliged ;) I am writing a PHP script to pull information from an LDAP server over LDAPS. I am using PHP 5.3, OpenLDAP and OpenSSL 0.9.7l (28 Sep 2006) and Apache 2.2 on a Windows 2003 server. I have one instanc...

New ldap records not appearing when using jdbc

I have an LDAP server setup (OpenLdap). It uses MySQL as a backend - and everything works wonderfully. When I add a new record to the table, I can see the new record in an LDAP browser immediately. However, when I insert a record into the database using JDBC (via a hello world-ish java app), the record does not appear in my LDAP browser...

FreeBSD OpenLDAP + nss_ldap issue

Hi! We have OpenLDAP server 2.3.43 (it runs on FreeBSD 7.2) and plenty of client servers with FreeBSD 7.2 as well. They authenticate against OpenLDAP server by means of nss_ldap and pam_ldap. nss_ldap-1.265_3 (We’ve also tried 1.266 version) openldap-client-2.4.21 pam_ldap-1.8.4_1 Actually we have an odd problem with nss_ldap. From t...

Simulate an LDAP Server?

For a number of reasons, I do not want to host an actual LDAP server. Instead, through PHP, I want to simulate the essential functions of an LDAP server. So I want, for instance, to be able to respond to ldap_search, ldap_connect, ldap_bind, ldap_unbind, etc. Results would come from MySQL. It looks like ldap_search would be a matte...

How to connect to an OpenLDAP server using ADO (or else) and Delphi

Hello, I'm trying to connect to an OpenLDAP server 'clone'. I've tried using Synapse Library but I was able to get only a part (about 50%) of our public contacts. I'm trying now the ADO way (I've read that ADSI was compatible with other LDAP servers) but I can't get it working. ADOConnection provider connection string looks like this ...

how to bind to an openldap server

I am using the PHP extension. The username is admin password is 111111 I try to bind using ldap_bind($rs,'admin','111111') It gives me an error: Unable to bind to server: Invalid DN syntax in [line of the ldap_bind] I can bind anonymously, what is the correct syntax? ...

what are aliases in ldap

What are aliases in ldap (referenced for example here php.net/ldap) Are they pointers to other objects in the system not directly under the object where the alias is found? ...

Recommendation for an ldap book for a programmer.

The need is to program an application (in PHP if it matters) against an OpenLDAP server. We need a good and orderly resource to learn from how to create schemes and queries against LDAP servers. We want a book as the stuff on the net is good but we feel is not as comprehensive as a book and articles will be used, after we have a good gra...