ldap

Query an AD domain via SSL

I have a domain and port number (636) as well as a username and password. I am trying to figure out a way to connect to this AD via Secure LDAP and get a users 'givenname', 'sn', 'mail', and probably a few custom attributes. However I have no idea how to do this in C#. I think that Microsoft may have a method for this available alr...

asp C# login problem

I am looking for a way to authenticate at multiple servers at the same time. One login for multiple sites ( a.com , b.com, c.com ) All the servers are on one network. Ldap authentication Thanks for the help ...

How to check for user credentials using active directory and a ruby script.

I'm trying write a Ruby script that checks if user credentials are valid using an active directory server. Here's what I've tried so far: require 'rubygems' require 'net-ldap' host = '10.4.1.6' port = 389 username = 'username' password = 'password' ldap = Net::LDAP.new ldap.host = host ldap.port = port ldap.auth "CN=#{username},CN=Us...

PHP on Windows: LDAP (5.2) or Fileinfo (5.3), but not both?

I have got PHP 5.2.14 running successfully on Windows, with the LDAP extension loading and working correctly. I installed 5.2 because it appeared to be that php_ldap.dll wasn't available for 5.3. Now it looks like the Fileinfo extension is only available for 5.3! (I'm a linux chap mostly, and have generally been sheltered in the happy...

Using String.equals compare password and authenticate user against LDAP server, Does it make any sense?

I'm working with pretty old, big CMS (TeamSite) and it has an example how to connect it to an LDAP server. I've read the example and it work in very bizarre way. It just store a password in the "userPassword" field as expected but it does the validation manually instead of using the bind command. This doesn't make sense to me but I can ...

How to use LDAP plugin on Grails?

Hi Gurus I'm starting a new project on Groovy and Grails. I'm now working on the authentication part and as we have an LDAP server I want to work the authentication using LDAP. I began setting my environment, I'm using SpringSource Tool Suite and Grails 1.3.5. When I started working with the authentication part I installed two plugins: ...

LDAP Query URL - how to refer an attribute?

Hi, I have set up some database connection parameters on an OpenDS ldap server, using my own schema. It looks as the attached screenshot. when I try to query the LDAP using following URL, it fails. ldap://localhost/db-configname=local1,ou=eways,dc=repository,dc=com?db-serverName?sub I have LDAPAdmin that automatically opens LDAP URLs...

How can I authenticate with an existing LDAP server with authlogic_ldap using Rails?

I am working on a corporate intranet site and need users to be authenticated prior to using the rails application. I have experience using auth_logic, but in this case I don't care about creating/editing/deleting users, simply authenticating them. I found that Ruby Toolbox (http://ruby-toolbox.com/categories/ldap.html#binarylogic_aut...

In MS Exchange 2003, how do I find out which user deleted an item in a shared calendar?

We have multiple AD users sharing a calendar in MS Exchange 2003. All have read/write access to the calendar. If a calendar appiintment gets deleted, I need to know if there is a way of finding out who deleted it? Any help would be greatly appreciated. Thanks ...

how to authenticate encrypted password at LDAP server

How to authenticate encrypted password at LDAP server ...

Spring Security LDAP - No UserDetailsService registered

Hi, I'm trying to set up the LDAP Spring Security. And I've stucked with some strange exception: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainList' ... No UserDetailsService registered My security-config.xml looks like this: <?xml version="1.0" encoding="UTF-8"?> <bea...

What LDAP information could be persisted in my application?

Hello, Consider a classic LDAP usage for authentication and consequent calls to check if the user has rights to access an object accessible to groups "foo", "bar" and "baz". I am wondering if I am allowed to persist exact role names, i.e. "foo", "bar" and "baz" and then make CurrentUser.IsInRole("Foo") || CurrentUser.IsInRole("Bar") ...