Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Applescript-LDAP bridge

Applescript-LDAP bridge
Thread Tools
Mac Enthusiast
Join Date: Oct 1999
Location: Brooklyn, NY, USA
Status: Offline
Reply With Quote
Oct 24, 2002, 01:57 PM
 
I've got an FM database that our HR department uses to track employee info, and I want to have that drive our LDAP directory (adds, modifies, deletes). Since FileMaker pretty much talks to nothing (ack), the process likely involves a convoluted scheme of exporting from FM, then scripting the LDAP calls in Perl from the export files. What a pain!

I figured, if anything could do it end-to-end, AppleScript could. Does this idea sound far-fetched? Is anyone working on LDAP hooks in AppleScript?
     
Forum Regular
Join Date: Jan 2001
Location: Boston, MA
Status: Offline
Reply With Quote
Oct 24, 2002, 03:52 PM
 
Originally posted by schwa:
I've got an FM database that our HR department uses to track employee info, and I want to have that drive our LDAP directory (adds, modifies, deletes). Since FileMaker pretty much talks to nothing (ack), the process likely involves a convoluted scheme of exporting from FM, then scripting the LDAP calls in Perl from the export files. What a pain!

I figured, if anything could do it end-to-end, AppleScript could. Does this idea sound far-fetched? Is anyone working on LDAP hooks in AppleScript?
Depending on the directory vendor, you could also use web services to facilitate the integration. Since XML was touted as one of the big benefits of FMPro6 you could use some combination of XML, the SOAP/XML-RPC support available in AppleScript and the SOAP/XML-RPC APIs available on your directory to do the directory operations. LDAP queries are icky; SOAP might be cleaner.
     
schwa  (op)
Mac Enthusiast
Join Date: Oct 1999
Location: Brooklyn, NY, USA
Status: Offline
Reply With Quote
Oct 24, 2002, 03:58 PM
 
An interesting idea, but unfortunately my LDAP server (iPlanet Directory Server 5.1) doesn't support either of those protocols yet. *sigh*...
     
Fresh-Faced Recruit
Join Date: Oct 2002
Location: Southern California
Status: Offline
Reply With Quote
Oct 25, 2002, 01:19 PM
 
Since the addressbook is LDAP aware could you route it though that with apple script?

Never done much with applescript but it is a very interesting how to combine many apps alltogether
     
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status: Offline
Reply With Quote
Oct 25, 2002, 01:31 PM
 
I thought I read of an LDAP FileMaker plug-in a while ago. Have a search on FileMaker's plug-in page for it.

Good luck.
     
schwa  (op)
Mac Enthusiast
Join Date: Oct 1999
Location: Brooklyn, NY, USA
Status: Offline
Reply With Quote
Oct 25, 2002, 01:38 PM
 
Originally posted by hayesk:
I thought I read of an LDAP FileMaker plug-in a while ago. Have a search on FileMaker's plug-in page for it.

Good luck.
FM can register on an LDAP server for things like auth, but what I need is something more akin to db export-import.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:15 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2