ldap

Reasons to store users' data in LDAP instead of RDBMS

It is often said that using LDAP is a good way to store data about users. That's beacause users' "directory" is hierarchical and it changes rarely. But in my opinion that doesn't exclude using RDBMS. What might be reasons to use LDAP? I guess that storing multi-valued fields or adding custom fields in LDAP might be easier but it can be d...

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...

LDAP: using a filter to avoid a sub CN in Active Directory

I am trying to query nearly all users in Active Directory. My normal users are in various OUs, and I want to retrieve those. But my system users are stored in the Users CN, and I don't want to retrieve those. It looks a lot like another question, but their answer didn't help me. I'm using the hint provided here, but its not helping out ...

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...

local LDAP server for development on windows 7

Our (ASP.Net) application has to talk to an LDAP/Active Directory server for verifying user groups. Now several members of our team need to be able to work disconnected. Is there a way to set up a local LDAP server on the development machine (Windows 7 Pro)? ...

Integrating linux into Active Directory- best approach?

We have a bunch of RHEL5/CENTOS5 boxes. And now, despite our best efforts, we are having XP desktops and AD (WS2003) shoved down our throats. Currently the linux boxes are all standalone, and use the usual /etc/passwd authentications, /etc/group groups, /etc/sudoers sudoers, and so forth. So this could actually be a constructive th...

LDAP - Authlogic

I have a ROR application with authlogic and LDAP, i follow the how to oh authologic and this http://pastie.org/385199 but the method (def valid_ldap_credentials?(password_plaintext)) is not called....any help ? ...

How can I make Mac OS X Address Book display a person's home address from an LDAP server?

Hi, I have a custom LDAP server, which I can customize to generate whichever object class and attributes I need. I'm trying to display people from that server in the Mac OS X address book. Names and organizations display correctly, as well as work-related phone and address. However, I've never been able to have a home address displayed...

JNDI Add Users to Groups with ADS

We have been trying to add users to groups using JNDI. Our directory server is Active Directory on Windows 2003. We were able to create users and groups just fine. However, making these users part of any group is a problem. Here is what the code looks like (inspired by this): ModificationItem mod[] = new ModificationItem[1]; mod[0] = n...

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? ...

Is LDAP obsolete?

Should I spend time implementing LDAP for authentication in my web application(php)? Is it a 'dead' technology? If it is what are the alternatives? and, if its not, what are good resources i can use? (books, tutorials) ...

Are Rollbacks possible with Active Directory?

I have read a few articles about how to programmatically interacting with Active Directory. One question remains though, is it possible to rollback a transaction of some sort with Active Directory? I have read that it is not possible in a context which you have several domain controllers as they seem to update each other with an update ...

Error searching directory with ODQuery

Hi there. I'm trying to search an LDAP database using the ODQuery method. I have the following code set up: - (void)awakeFromNib { [self startSearch:@"john"]; } - (void)startSearch:(NSString *)searchString { nodeName = @"http://sububria.org.au"; session = [ODSession defaultSession]; searchNode = [[ODNode alloc] init]; searchNode = [OD...

LDAP and Ruby on Rails

I'm trying to connect to an existing LDAP server to authenticate users trying to use my app – I'm having trouble figuring out where to start. I've read about LDAP, understand how it works, and have looks at libs like ActiveLdap. I'm just not sure where to start from here: I have the hostname of the server I was to authenticate agains...

web based java application to read LDAP

I want to make a web based Java application that reads an LDAP compliant directory and creates a record in a database for each user and group in the directory. How can i go about it? ...

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...

getpwnam on Ubuntu behaves differently if compiled in 32-bit

I'm setting up a ZABBIX agent (written in C) on a couple of Ubuntu 64-bit servers. I usually compile everything in 32-bit unless I specifically need 64-bit (such as database servers.) The servers in question will be hosting virtual servers and have 8GB RAM, hence why I've kept them 64-bit. If the ZABBIX agent starts as root, it tries ...

Can I get the current user from Active Directory LDAP using a VBA ADO Connection?

Is there any way to retrieve the user ID of the currently logged in user from Active Directory services using LDAP over an ADODB connection in VBA? I have only seen examples of how to query additional information about a user by specifying the user name and password. In those examples the user name is generally retrieved using Environ("...