[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Inetorgperson schema and attributes - draft



On Wed, Jan 19, 2000 at 12:32:24AM +1100, Craig Silva mentioned:
> objectclass inetOrgPerson
>         requires
>                 objectClass,
>                 sn,
>                 cn
>         allows
>                 audio,
>                 businessCategory,
>                 carLicense,
>                 departmentNumber,
[ deleted
>                 homePostalAddress,
>                 jpegPhoto,
>                 initials,
>                 internationaliSDNNumber,          

 About jpeg photo - although I've managed to store binary data in an LDAP
database, are there any decent scripting languages with LDAP bindings, so
that I could extract the photo from the database, and view it on a webpage ?

 I tried writing a tcl script that would just *be* a jpeg, and do 

 <IMG src="http://localhost/ldapuser-to-jpeg.tcl";> but it didn't work very
well :(

 We use Apache&PHP and AOLserver & TCL, so if someone has a neat solution,
I'd love to hear of it. I ended up just storing URLs of photos in the
"jpeg" type attribute.

Kate

-- 
Microsoft. The best reason in the world to drink beer.
http://www.redbrick.dcu.ie/~valen

Attachment: pgprMqt0LbKbz.pgp
Description: PGP signature