[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zimlets and LDAP



Try using the classes that we use in Zimbra is your jsps

http://java.sun.com/products/jndi/tutorial/

You cannot use a get call to get ldap data, unless the jsp translates it on the back end to a good oldfashion ldap call.

for example

http://server.com/service/zimlet/com_zimbra_ldapquery/query.jsp?classname=edu101&studentid=5711

would use jndi on the back end to talk to what ever ldap server you want.

This is the extent of my knowledge on the subject, but thought it might be helpful

John


----- Original Message -----
From: "Matt Mencel" <MR-Mencel@wiu.edu>
To: "zimbra-hied-admins" <zimbra-hied-admins@sfu.ca>
Sent: Tuesday, October 21, 2008 8:43:57 PM GMT -07:00 U.S. Mountain Time (Arizona)
Subject: Re: Zimlets and LDAP

It doesn't directly query your LDAP server from the Zimlet though does it?  The page you make the HTTP GET call too does the LDAP query?  

I'm trying to figure out how to make the LDAP query from the Zimlet....

Thanks,
Matt


----- Original Message -----
From: "Robert M. Thompson" <ab5602@wayne.edu>
To: "zimbra-hied-admins" <zimbra-hied-admins@sfu.ca>
Sent: Tuesday, October 21, 2008 8:49:16 PM GMT -06:00 US/Canada Central
Subject: Re: Zimlets and LDAP


Yup, we've developed one.  It calls a page w/ an HTTP GET, and displays the results in a popup when you hover over a REGEX match.  Let me know if you would like the code.

-Rob

--
Rob Thompson, Systems Analyst
Enterprise Applications
Computing & Information Technology
Wayne State University
313-577-5645

Public Key: http://pgp.wayne.edu/rob.key


----- "Matt Mencel" <MR-Mencel@wiu.edu> wrote:

> Just curious if anyone is writing their own Zimlets yet that query
> your internal LDAP directories.  I'm stuck on that problem here...
>
> Thanks,
> Matt Mencel
> Western Illinois University