Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
Hello: Hope the subject make sense. I'm new to LDAP, and don't know how it works. I need to use SQL Loader to load a text file into Oracle817 Database from a unix box. The file/data comes from LDAP server. My question is: how do I get the file/object from LDAP site from my unix script? Does

Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
Hello: Hope the subject make sense. I'm new to LDAP, and don't know how it works. I need to use SQL Loader to load a text file into Oracle817 Database from a unix box. The file/data comes from LDAP server. My question is: how do I get the file/object from LDAP site from my unix script? Does

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Charlie Mengler
I hope you can read UGLY Perl code. HTH YMMV! #!/usr/local/bin/perl # File: chg-oracle-passwd.cgi use Net::LDAP; use Carp; use DBI; $ENV{ORACLE_HOME} = /db02/app/oracle/product/8.1.6; print Content-type: text/html\n\n; print HTML\n\nBODY\n\n; #print METHOD = $ENV{'REQUEST_METHOD'}\n; if

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Joe Raube
You need to do an LDIF export, using the LDAP export tool that came with your LDAP server -- the tools differ between servers. Or you could write your own using one of the Perl LDAP modules. -Joe --- Steven Joshua [EMAIL PROTECTED] wrote: Hello: Hope the subject make sense. I'm new to

RE: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Jesse, Rich
] Quad/Tech International, Sussex, WI USA -Original Message- From: Charlie Mengler [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 3:54 PM To: Multiple recipients of list ORACLE-L Subject: Re: Does any one know how to call LDAP from UNIX script ? I hope you can read UGLY

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
Thanks for the code. But can we do this in UNIX shell script or Java? Thanks again Steven --- Charlie Mengler [EMAIL PROTECTED] wrote: I hope you can read UGLY Perl code. HTH YMMV! #!/usr/local/bin/perl # File: chg-oracle-passwd.cgi use Net::LDAP; use Carp; use DBI;

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Suzy Vordos
Yes, you'd need the LDAP API libraries, check here http://www.openldap.org/ Steven Joshua wrote: Thanks for the code. But can we do this in UNIX shell script or Java? Thanks again Steven --- Charlie Mengler [EMAIL PROTECTED] wrote: I hope you can read UGLY Perl code. HTH

RE: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Koivu, Lisa
33063 -Original Message- From: Steven Joshua [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 6:17 PM To: Multiple recipients of list ORACLE-L Subject: Re: Does any one know how to call LDAP from UNIX script ? Thanks for the code. But can we do this in UNIX shell

Re: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Suzy Vordos
Here are a few more resources: http://www.umich.edu/~dirsvcs/ldap/ldclients.html (you could download the client for Unix and use those libraries in shell) http://www.mozilla.org/directory/standards.html Suzy Vordos wrote: Yes, you'd need the LDAP API libraries, check here

RE: Does any one know how to call LDAP from UNIX script ?

2002-05-02 Thread Steven Joshua
To: Multiple recipients of list ORACLE-L Subject:Re: Does any one know how to call LDAP from UNIX script ? Thanks for the code. But can we do this in UNIX shell script or Java? Thanks again Steven --- Charlie Mengler [EMAIL PROTECTED] wrote: I hope you can read UGLY