ldap

restful authentication and LDAP

Hi, I'm new on ruby, i use the restful authentication plugin and that works perfectly, Now, i have an authentication based on LDAP, and i want to combine ldap and restful authentication. Ldap also Any examples ? Thank you for help. ...

How to connect to a LDAP server using a p12 certificate

I want to connect to a LDAP server using a .p12 certificate instead of using a username and password. The Java solution for this looks like String ldapURL = "ldaps://"+host+":"+port; System.setProperty("javax.net.ssl.keyStoreType", "PKCS12" ); System.setProperty("javax.net.ssl.keyStore",keystore); System.setProperty("javax.net.ssl...

LDAP Authentication from .NET using Proxy User

We want to use a "proxy user" to connect to an LDAP server (Active Directory, Novell, or otherwise) and then make sure that the user trying to log into the application has typed in an acceptable user name and password. I have got the code for connecting to LDAP just fine, but I'm at a loss as to how to check the user name and password. C...

php_ldap over ssl difficulties

I am trying to bind to AD with php_ldap (using ADLdap), from a Ubuntu (hardy 8.04LTS) host. Binding on port 389 is fine to ldap://myserver, but does not allow me to do things like set password, so I need to bind on port 636 to ldaps://myserver. I am aware that some form of credential passing occurs, perhaps with certificates, but I am r...

How can I get the group memberships for an AD user - including all groups in other domains?

I have tried the below LDAP search, but it only gives me the group membership for the domain the user is in. I need it to include also the memberships of the foreign security principals. public static List GetGroups() { List oGroups = new List(); string vLDAPPath = "GC://dc1.dom1.local/dc=dom1,dc=local"; string vFilterUser = s...

How can I configure Apache and LDAP to allow a second authentication attempt?

I just got Apache/LDAP authentication working (almost) on a new SLES 10 server. When I visit one of the protected areas on my website I get the Apache Authentication pop-up window where I can LDAP authenticate to gain access to the protected folder. But I'm getting wierd behaviour. If I type in a valid user but the incorrect passwor...

NTLM authentication using custom (asp.net) form

Is it possible to programatically authenticate a user using NTLM (on asp.net)? I would like to have control over the look and feel of the website where I would have a form that users enter their username/password. I would then query NTLM to validate the provided information and if valid, redirect them to a virtual directory? ...

ldap how to for thunderbird address book integration

hi, i'm looking for a how to, to share my adresse book (and contacts) via ldap in thunderbird 3. Not configuring the client but the ldap daemon with its related schemas. thanks, ...

Need to support network based authentication

Are there any libraries that can authenticate via active directory? This is a new application, so I want to make the correct design patterns in the beginning. I want my authentication service to be able to support my session/cookie based authentication and active directory/ldap. Are there any examples online that I can look over that ...

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

LDAP connection leak in this code

Could someone explain me why this piece of code randomly "leaks" LDAP connections? I can see the amount of established TCP/IP connections rising by time and at some stage this starts causing problems. I tried fiddling with the com.sun.jndi.ldap.connect environment properties (enabling pooling, disabling it and such) but it did not seem t...

Export Plone users to LDAP?

Hi, I've been tasked with setting up a subversion server next to a Plone instance. The situation is that the Plone instance is already in a "production" state because there are outside users that can access it any moment. I believe setting up a LDAP and binding both, the Plone and subversion instance, to it for authentication is the be...

How to programmatically retrieve information from LDAP

I am running an ASP.Net page on IIS7, and developing in VS 2008. Currently, I have user authentication being done through an LDAP connection. Once the user logs in, on one page they have a form with some basic information about them (such as their name, email address, country, and the like) and I wish to pre populate some of these fields...

ActiveLdap/ruby-net-ldap: How to implement associations

Greetings all... I'm using OpenLDAP, ActiveLdap and ruby-net-ldap to administer the contents of an LDAP directory. I have most of the things I need working but have been unable to get associations to work (and associations are the reason I'd like to use ActiveLdap; otherwise, I'll just implement associations manually with ruby-net-ldap)...

Coldfusion LDAP Authentication issue / domain prefix

I am currently setting up a dev environment which is an exact copy of our prod environment. The problem is when I try to authenticate a user by using CFLDAP tag in the dev environment, it won't let me authenticate the user without prefixing the username with the domain name while in the prod environment we don't have to prefix the userna...

ldap search filter with java

Hi all. I'm having problems with ldap search filters. I want to search through all the children of a root node. I want the users where the username of the email contains the query string. for example, if I have [email protected] foobar@foo_l.c_bar and the search query is "l.c" I want only [email protected] the following co...

DJANGO Python-ldap UNWILLING TO PERFORM {'info': '00002077: SvcErr: DSID-031907B4, problem 5003 (WILL_NOT_PERFORM), data 0\n', 'desc': 'Server is unwilling to perform'}

My Django application using python-ldap library (ldap_groups django application) must add users against an Active Directory on a Windows 2003 Virtual Machine domain. My application running on a Ubuntu virtual Machine is not member of the Windows domain: Here is the code: settings.py DNS_NAME='IP_ADRESS' LDAP_PORT=389 LDAP_URL='ldap:/...

PHP/LDAP Authentication Using a VPN

Hello all, I have an interesting situation, and Google doesn't appear to have any information regarding the issue. I develop a web-based software written in PHP. Most of our clients have some sort of CAS server setup for authentication, and we simply point our site at their authentication server. We have a new client that does not have...

Grails LDAP authentication failed

Hi, guys I am developing a web app by using Grails and using Grails LDAP as my Authentication mechanism. However, i always get following error: {Error 500: Cannot pass null or empty values to constructor Servlet: default URI: /ldap-app/j_spring_security_check Exception Message: Cannot pass null or empty values to constructor Caused by:...

Some attributes don't appear to be returned on oracle ldap search

For some reason my LDAP search doesn't seem to be returning all the attributes available for a given DN. Using the folling code: DirContext ctx = new InitialDirContext(mEnv); DirContext obj = (DirContext)ctx.lookup(dn); Attributes attrs = obj.getAttributes(new CompositeName("")); (Where mEnv is a valid Properties class, and dn is a v...