ldap

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

how to use ldap_sasl_bind_s() with SSL, DN, password (no client cert)

I have ldap_sasl_bind_s() working fine with SSL and client cert (without DN and password) from 'C' windows program. When I call ldap_sasl_bind_s() using SSL, DN and password (no client cert) it throws null pointer exception. Should this work or should I be using another api call? ...

Does Python 3 have LDAP module?

Hi, I am porting some Java code to Python and we would like to use Python 3 but I can't find LDAP module for Python 3 in Windows. This is forcing us to use 2.6 version and it is bothersome as rest of the code is already in 3.0 format. ...

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

How can I make password optional when using authlogic and LDAP authentication?

I am creating an application for which I am trying to use LDAP with authlogic for login authentication. I want to accept just the username and log the user in if he is on the LDAP server. For this, I need to disable the password validation. How can I do that? ...

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

LDAP Query with sub result

I have been banging my head for quite a while with this and can't get it to work. I have a LDAP Query I do have working in AD Users and Computers but dont know how to do it programatically in C#. Here are my LDAP Query that works fine in the AD Tool: (memberOf=CN=AccRght,OU=Groups,OU=P,OU=Server,DC=mydomain,DC=com)(objectCategory=user)(...

How to get user's OU programmatically with ldap C++

how to get user's ou programmatically with ldap C++ ...

case insensitive LDAP searches

What't the syntax for performing a case-insensitive match on a 'uid' attribute? If attribute definition matters then how would that be changed? In particular I am using ApacheDS for my LDAP store. ...

LDAP over SSL on windows service

Hi, I have an application that connects to an LDAP server using SSL. The problem I'm having is that when I run it as a console application it connects successfully, but when I run the application as a windows service, it fails. There is some information that could help: ldap_sslinit ALLWAYS returns success 1 ldap_connect = 0 (Succes...

Python-LDAP integration BABY

Hello all. I need to integrate Python with LDAP. I just need to choose the best way to make Python talk to LDAP. I understand there are many ways to do this, including using a prebuilt toolkit such as the AuthKit or writing a thing ourselves with LDAP modules and functions. What do you recommend? Thanks everyone, I love you ...

How to use Python to get local admins from a computer on the Network?

Hi, I need to get a list of all people in the company who have local admin rights on their computers. We have a group on each machine called "Administrators." I can get a list of all computers from active directory with: import active_directory for computer in active_directory.search ("objectCategory='Computer'"): print computer.dis...

How do I run range queries on LDAP

I am trying to retrieve data about groups on LDAP. As I need to paginate results, I need to run range queries. My setup uses JNDI to connect to LDAP. I am trying to run this query (&(objectclass=group)(range=1-500)) What am I doing wrong? I know there are range based queries for LDAP,how do I modify this query for get the same? ...

How get get more search results than the server's sizelimit with Python LDAP?

I am using the python LDAP module to (amongst other things) search for groups, and am running into the server's size limit and getting a SIZELIMIT_EXCEEDED exception. I have tried both synchronous and asynchronous searches and hit the problem both ways. You are supposed to be able to work round this by setting a paging control on the s...

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

[Delphi] LDAP query with FILTER

Suppose i have a following LDAP query: Base DN: OU=Groups,DC=office,DC=domain,DC=org Filter: (member:1.2.840.113556.1.4.1941:=CN=adam smith,OU=Users,DC=office,DC=domain,DC=org) How can I execute it under Delphi(2007)? Examples using ADO seem to have SQL'ish syntax and I do not now how to convert it? ...

LDAPS with ActiveDirectoryMembershipProvider on ASP.Net Webforms.

Hi, I have set the ActiveDirectoryMembershipProvider connectionProtection attribute to secure, according to MSDN documentation states that when this is set to secure the following holds: "The ActiveDirectoryMembershipProvider class will attempt to connect to Active Directory using SSL. If SSL fails, a second attempt to connect to Activ...

Java Spring NtlmProcessingFilter second controller

<bean id="ntlmFilter" class="org.springframework.security.ui.ntlm.NtlmProcessingFilter"> <security:custom-filter position="NTLM_FILTER" /> <property name="stripDomain" value="true" /> <property name="defaultDomain" value="company" /> <property name="domainController" value="192.168.1.1" /> <property name="authenticati...

Java, LDAP with MySQL, and authenticating users

There's a few moving pieces to this one, so I'll go through things fairly slowly. I have a java web app that has registered a few thousand users, and stored them in a MySQL DB. The passwords for each user has been hashed using SHA1, plus a bit of extra trickery including a randomly generated salt. I also have an LDAP server setup (Open...

Is Active Directory Really LDAP-Compliant?

I'm working on a plug-in to one of our products (an RMS) that will allow customers to import employee information stored in their LDAP directory into a corresponding Person record in our application. Our RMS allows Person records to have multiple names and addresses (it's a public safety system: this feature is for supporting persons wi...