• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: LDAP using cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: Drawing strings and line heights off (NSTextView)
  • Next by Date: Re: Need help with SQLite
  • Previous by thread: LDAP using cocoa
  • Next by thread: Showing a URL with spaces in a NSAlertPanel
  • Index(es):
    • Date
    • Thread