Received: from mail.rdc1.sdca.home.com (imail@ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.org (8.9.3/8.9.3) with ESMTP id OAA06379 for ; Sun, 20 Feb 2000 14:55:18 -0500 (EST) (envelope-from jconway2@home.com) Received: from jec-nt1 ([24.0.42.111]) by mail.rdc1.sdca.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <20000220195516.QOKQ16629.mail.rdc1.sdca.home.com@jec-nt1> for ; Sun, 20 Feb 2000 11:55:16 -0800 Message-ID: <000801bf7bdc$6984b6b0$0505a8c0@jec-nt1.elcjn1.sdca.home.com> Reply-To: "Joe Conway" From: "Joe Conway" To: Subject: pltcl and LDAP Date: Sun, 20 Feb 2000 11:55:18 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 I'm working on a project right now which involves updating an LDAP directory from a PostgreSQL database. The database includes a table called employee_data. I would like to use the tclLDAP library from within a pltcl function and create a trigger on the employee_data table to update the LDAP directory every time something changes. I have been able to get the tclLDAP functions to work properly from with pgtclsh, but not from within pltcl. The documentation states that pltcl uses a safe interpreter which does not allow a tcl load command. Has anyone else tried to do this, i.e. synch up a PostgreSQL database with a LDAP directory? If so, how? I have considered just writing a pgtclsh script and run it from a chron, but I would prefer real time updates via a trigger if possible. Any help or suggestions would be much appreciated. Thanks, Joe