Re: LDAP using cocoa
Re: LDAP using cocoa
- Subject: Re: LDAP using cocoa
- From: Richard Wolf <email@hidden>
- Date: Mon, 26 Jan 2004 16:41:08 -0600
does someone know of a code snippet to read/write access an LDAP
server?
Stefan,
I do not see that anyone has replied to you publicly ... so I will take
a whack at it. :)
It is simple to access LDAP from Cocoa. Just include the LDAP
framework in your project and include the standard C LDAP headers in
your code. There are a number of good books that explain the LDAP APIs
(with code snippets) ... they mostly target Java/Perl ... but if you
compare those books with what's in the C headers, you will see that
there is nearly a one-to-one correspondence between the Java API, say,
and the C API. Any code snippet would, pretty much, look like what's
in the books.
If you're looking for Objective-C model object wrappers for LDAP, I
don't know that any exist. I have a very crude, homebrew set of model
classes that I use myself ... but they would not be suitable for
prime-time use. :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.