Re: authenticate to opendirectory
Re: authenticate to opendirectory
- Subject: Re: authenticate to opendirectory
- From: Chuck Hill <email@hidden>
- Date: Wed, 28 Jul 2004 23:27:41 -0700
There are two ways to authenticate against LDAP, the right way and the
wrong way. I don't know if there is also a Marine way...
The right way is to do a bind on the LDAP server with the user's ID and
credential. Either it works and they are authenticated, or it fails.
The wrong (though somewhat common) way is to bind to the LDAP server using
some other credentials, then search for a record based on the uid and
password that the user entered. If found, they are authenticated.
Chuck
At 01:03 AM 29/07/2004 -0500, William Norris wrote:
>I'm at a loss... I know this can't be that difficult. I've just spent
>hours on google, but cannot find a way to have my WO application
>authentication users against OpenDirecctory (or any LDAP source for
>that matter). I've been reading extensively about JAAS and JNDI, but
>can't seem to find anyone that has actually done it [and written about
>it]. I was able to find one email (link below) with a code example of
>how to do it, but it fails to work for me. I must be overlooking
>something... this would seem to be a very common task, so there must
>be some good authentication libraries already out there (guess I've
>been spoiled by PHP's PEAR::Auth)
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.