Re: LDAP password with EOModeler?
Re: LDAP password with EOModeler?
- Subject: Re: LDAP password with EOModeler?
- From: Colin Cornaby <email@hidden>
- Date: Sat, 20 Mar 2004 09:00:58 -0800
Essentially I'm trying to build a WebObjects frontend to our LDAP
server. It would be a quick way for remote teachers (this is a school
district) to reset a students password without the need to use the full
blown Workgroup Manager. I don't really care about reading the
password, I would just like to be able to write one. I was hoping there
was a quick way to do this using the wizard method with EOModeler for
connecting to an LDAP database.
We already have a quick version running in PHP, but WebObjects is the
nicer solution because of all the pre-built extras such as search and
editing of other attributes.
On Mar 20, 2004, at 8:48 AM, Erik Ableson wrote:
Ummm. Tha password attribute is a special attribute that is not
requesteable except under very limited circumstances and all you
should ever get back is the encrpyted hash value.
Why did you need to get the password? If you're trying to validate a
password given by a user you should attempt a bind with the values
supplied and the pass/fail is based on the success of the bind
operation.
Cheers,
Erik
-----Original Message-----
From: Chuck Hill
Date: 3/20/04 2:24 am
To: Colin Cornaby
Cc: email@hidden
Subj: Re: LDAP password with EOModeler?
There is an example of an LDAP model in the examples. That should
help. I think the LDAP types are rdn for UserID and DirectoryString
for password.
Chuck
On Mar 19, 2004, at 4:15 PM, Colin Cornaby wrote:
I'm trying to use fetch the user's password from an LDAP database
using EOModeler, for a database front end. I've run through the wizard
to create a project that works with my database. However, when I bind
a name to the userPassword column, I can't actually get it to work
without crashing when I search the database for the user. It fails on
converting the object type.
What external and internal types do I use for this?
-----------------------
Colin Cornaby - Co-Founder, Carpe Stellarem. Duality and XGame
Projects Manager. http://www.carpestellarem.com
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.
-----------------------
Colin Cornaby - Co-Founder, Carpe Stellarem. Duality and XGame Projects
Manager. http://www.carpestellarem.com
_______________________________________________
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.