t; > 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.
> >
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
> http://www.o
, USA 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.
&g
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.
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;
>
System/Database Administrator
[EMAIL PROTECTED] 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
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
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 "\n\n\n\n";
#print "METHOD = $ENV{'REQUEST_METHOD'}\n";
i