ldap

ASP.NET Authentication To LDAp

We have a web site that we have moved to LDAP authentication. But we are getting many "server not available" LDAP errors, even though the LDAP server remains in service. Do I need to worry about multiple users, each in their own thread causing concurrent authentication requests to the LDAP server and or causing too much authentication tr...

osTicket authenticate with Open Directory

We recently setup osTicket Ticket System and have been testing it to see whether to implement in our office. It would really help to have the ability to authenticate against our existing open directory. I found an article (http://www.bauer-power.net/2010/04/how-to-make-osticket-160-authenticate.html) that talks about using Active Directo...

SQL Srvr 08 on Win Server 08 64bit accessing Linked Server to AD sporadic results issue

Hi, Within our system we have a linked server to our Active Directory server and a sql script which uses an LDAP query to retrieve users and groups in order to populate tables within an application. This script worked without issue on the original set up (SQL 2005, Win Server '03 32 bit). The script now will initially succeed (after t...

ASP.NET MVC2 Authentication form with localization

I have two level authentification, first the user enters their nt/password and it is validated by LDAP and afterward I have a custom role provider that make sure the user has access to said page. That being said, in my web.config I have: <authentication mode="Forms"> <forms loginUrl="~/Account.mvc/LogOn" timeout="2880"/> </authentica...

Subversion/Apache/LDAP 401 Authorization Required when using LOCK

Hi, We've set up Subversion to sit behind Apache on a Windows machine and using LDAP. The repository can be browsed, and check ins and check outs seem to work fine. The problem is, our UML tool requires the use of LOCK and we receive 401 errors when attempting to LOCK. We've tried from the command line, Tortoise SVN and the UML tool an...

How to get Internet Address from Lotus Notes

A Notes calendar entry has an Item called "Chair", which is a distinguished name along the lines of "CN=My Name/OU=Something/O=SomethingElse". How do I convert this to an SMTP address such as "[email protected]"? I tried looking at NotesName which has an Addr821 property, but this only seems to work if you give it an SMTP address - wh...

LDAP Authentication with Active Directory and SunOne

Hi All, I know how to authenticate username and password using LDAP after reviewing this site and others. But my question is our client does not give permission to any username or password to bind itself to active directory. I mean there is admin kind of uname and password which is used to bind first and then you have to provide your act...

Ldap Removing Property attribut

I am trying to remove a property from ldap. I know that if I do entry.Properties["myProperty"].Remove(entry.Properties["myProperty"].Value); it keeps the attribut and sets the Value to null the question is how do I remove the entire attribute from LDAP coul someone help..? ...

Problem replacing LDAP default attribute

$entries = ldap_get_entries($ldapconn, $ldapsearch); // This is my result form ldap server $format = "@sn, @givenname, E: @mail"; // This are new strings to replace ldap defualt attribures. if ( $entries ) { // Check $entries are not empty. # Try to authenticate to each until we get a match for ( $i = 0 ; $i < $entries['count'...

How can I read the Active Directory schema programmatically

I did some programming for reading the data from Active Directory such as user account or Orgnization info and so on. The code below is like something what I did. DirectoryEntry entry = new DirectoryEntry( "LDAP://CN=Users,DC=domain,DC=com", null, null, AuthenticationTypes.Secure ); DirectorySearcher search = new Di...

BlackBerry user authentication with LDAP

Hi there, After I've tried so much and still being stuck, I hope anyone here has an idea. Well, that's the situation: I'm trying to login to my app with ldap. If its possible to login there, you can go on using the app. I've already tried to use net.rim.device.api.ldap.LDAPQuery but the problem is, that if I try to log in, the LDAP L...

cf ldap accessing RACF

Can Cfoldfusion 8, through LDAP, access IBM mainframe security system such as RACF? ...

Adding an error to a django form in a view... hack?

What I'm trying to do is to add an error for a field in a view, AFTER both form.is_valid() and form.save(), and it seems to work but only because of a hack, and I'm hoping someone here can explain why it works. So in my form's save() function, I connect to an LDAP server, and try to authenticate the user and password supplied in the for...

Java (Groovy) LDAP Non-ASCII Characters

Hi, I've been googling my ass off without any success. So I came here. Hope someone can help me out! Im using Groovy to do some LDAP searches but when a person has å, ä or ö in their names I get for example Jens R√§fteg√•rd. I've tried: new String(attrs.get("name")?.get(0)?.getBytes(), "UTF-8") And even tried: def charsets = Charset....

Active Directory Login Problem

I have 2 users in my AD installation with the same CN CN=jack,CN=Users,DC=xyz,DC=com and CN=jack,OU=abc,DC=xyz,DC=com When I try to authenticate to the AD Server using the Apache Directory Studio client and give the following credentials User: jack Password: <password> the authentication fails. The following credentials work...

How do I do an LDAP query with JavaScript?

trying to make a sidebar gadget that has an ldap query function, but haven't been able to find very good, or any, useful documentation on the matter. im not hugely experienced with javascript, and know little to nothing about how ldap queries function, so any information at all would be useful. info: host: a.b.c.d.e port: 389 ou: peop...

Memory Leak in Ruby net/ldap Module

As part of my Rails application, I've written a little importer that sucks in data from our LDAP system and crams it into a User table. Unfortunately, the LDAP-related code leaks huge amounts of memory while iterating over our 32K users, and I haven't been able to figure out how to fix the issue. The problem seems to be related to the ...

PHP connect via SSH tunnel to LDAP in other network

I'm developing website for my school. In that school we authenticate users via LDAP, so there was an idea to do the same via school-site. On that site everything is working perfectly, but during developing I need very often to test if such solution works, of not. In order not to commit my changes so often I want to test this site on my l...

Modify entry in OpenLDAP directory

Hi, I have a large Openldap directory. In the directory the display name property for every is filled but i need to modify these entry and make it like "givenName + + sn". Is there are way i can do it directly in the directory just like sql queries (update query). I have read about the ldapmodify but could not find the way to use it li...

LDAP Call in ASP page no longer works

Hi all I have a Classic ASP page that made an LDAP call to our Domain Controllers to find out the group membership of the logged on user. Since our Network Admin demoted the two old Windows Server 2003 Domain Controllers and promoted two Windows Server 2008 R2 servers the page now fails at Set CurrentUser = GetObject("LDAP://" & ADSysIn...