LDAP Queries

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bohrme
Posts: 7
Joined: Wed Dec 23, 2009 4:35 pm

LDAP Queries

Post by bohrme » Wed Jan 13, 2010 6:08 pm

Does Revolution support LDAP or Active Directory queries yet? If so, would someone post an example? If not, what's an example of a usable work around?

thanks.

Larry

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: LDAP Queries

Post by BvG » Thu Jan 14, 2010 1:33 am

LDAP is a protocol that runs on TCP sockets. if you read the rfc. then you can replicate it's functionality by using some of these rev terms:
open socket
accept
close socket
socketerror
socketclosed


I know that is not the answer you want. But beyond dns, html and non-encrypted ftp, there's no build in protocols for rev (tho there's third party additions for email stuff).
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

bohrme
Posts: 7
Joined: Wed Dec 23, 2009 4:35 pm

Re: LDAP Queries

Post by bohrme » Sat Jan 16, 2010 2:47 am

BvG wrote:I know that is not the answer you want. But beyond dns, html and non-encrypted ftp, there's no build in protocols for rev (tho there's third party additions for email stuff).
I wasn't sure if Rev supported it in a library or what. Since it doesn't, I can code what I need easy enough in Perl and just shell out.

Thanks.

Larry

Post Reply