Hello. I would like to build an app using MacRuby and Cocoa to retrieve information from an LDAP server, combine it with other data and present the result to the user. I have not found a great framework in Cocoa for making and using LDAP connections. I also have not had success in including and using Ruby gems like Net::LDAP. My last resort is to try and use the OpenLDAP libldap C library shipped with Mac OS X. I am currently stuck at figuring out how to include and access this library from MacRuby. Does anyone know of documentation that may help? Evan
Hello Evan, Try looking at this page here: http://www.macruby.org/documentation/reading-an-mp3-with-macruby.html It's how I wrapped functionality for BASS Audio Library into my application. It works quiet well, and if you need help with any callbacks, or such, I'll be happy to help out. On Sun, Sep 26, 2010 at 2:15 AM, Evan Chaney <evanchaney@gmail.com> wrote:
Hello.
I would like to build an app using MacRuby and Cocoa to retrieve information from an LDAP server, combine it with other data and present the result to the user.
I have not found a great framework in Cocoa for making and using LDAP connections. I also have not had success in including and using Ruby gems like Net::LDAP.
My last resort is to try and use the OpenLDAP libldap C library shipped with Mac OS X. I am currently stuck at figuring out how to include and access this library from MacRuby. Does anyone know of documentation that may help?
Evan
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-- Mario Steele Lieutenant Commander 3 XO - Geo 99 XO - STO IFT Fleet http://www.trekfederation.com http://geo99.ruby-im.net
Hi Evan, Have you looked at Open Directory? https://developer.apple.com/library/mac/#documentation/Networking/Conceptual... https://developer.apple.com/library/mac/#documentation/Networking/Reference/... OD provides a unified API for accessing account information from a number of sources, including LDAP servers. The documentation is a bit sparse, but I'd recommend playing around with it a bit in a macirb session and reading through the headers (there's not that many). Cheers, Josh On Sep 25, 2010, at 11:15 PM, Evan Chaney wrote:
Hello.
I would like to build an app using MacRuby and Cocoa to retrieve information from an LDAP server, combine it with other data and present the result to the user.
I have not found a great framework in Cocoa for making and using LDAP connections. I also have not had success in including and using Ruby gems like Net::LDAP.
My last resort is to try and use the OpenLDAP libldap C library shipped with Mac OS X. I am currently stuck at figuring out how to include and access this library from MacRuby. Does anyone know of documentation that may help?
Evan _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Evan Chaney
-
Joshua Ballanco
-
Mario Steele