Click here to get back home

Perl Script

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl Script dakin999 06-16-2008
|--> Re: Perl Script A. Sinan Unur06-16-2008
Get Chitika Premium
Posted by dakin999 on June 16, 2008, 10:45 pm
Please log in for more thread options
I am looking for any generic perl script that is doing some thing
like
following. Any code help will be really helpful.

1. Reads from a database(oracle) following columns:
Customer_No, Fname, Lname, Password.


2. Encrypts the password in SHA1_Base64 format.


3. Use the perl-ldap add object to create a ldif record with the same
columns (as in step 1, but password in the SHA1_Base64 encrypted
string).


4. Create a CSV file with same columns as in step 1, exculding the
password.


5. Add the ldif data into SUN LDAP directory.


Thanks in advance.

Posted by A. Sinan Unur on June 16, 2008, 11:12 pm
Please log in for more thread options
cd68218e0ea2@l28g2000prd.googlegroups.com:

> I am looking for any generic perl script that is doing some thing
> like following.

http://jobs.perl.org/

Sinan

--
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://www.rehabitation.com/clpmisc/

Posted by Ron Bergin on June 16, 2008, 11:20 pm
Please log in for more thread options
> I am looking for any generic perl script that is doing some thing
> like
> following. Any code help will be really helpful.
>
> 1. Reads from a database(oracle) following columns:
> Customer_No, Fname, Lname, Password.
>
> 2. Encrypts the password in SHA1_Base64 format.
>
> 3. Use the perl-ldap add object to create a ldif record with the same
> columns (as in step 1, but password in the SHA1_Base64 encrypted
> string).
>
> 4. Create a CSV file with same columns as in step 1, exculding the
> password.
>
> 5. Add the ldif data into SUN LDAP directory.
>
http://www.rentacoder.com/RentACoder/default.asp

Posted by Dr.Ruud on June 17, 2008, 5:44 am
Please log in for more thread options
dakin999 schreef:

> 1. Reads from a database(oracle) following columns:
> Customer_No, Fname, Lname, Password.
>
> 2. Encrypts the password in SHA1_Base64 format.

You have plain passwords in the database?

--
Affijn, Ruud

"Gewoon is een tijger."

Posted by dakin999 on June 17, 2008, 6:40 pm
Please log in for more thread options
> dakin999 schreef:
>
> > 1. Reads from a database(oracle) following columns:
> > Customer_No, Fname, Lname, Password.
>
> > 2. Encrypts the password in SHA1_Base64 format.
>
> You have plain passwords in the database?
>
> --
> Affijn, Ruud
>
> "Gewoon is een tijger."
The passwords are in plain text in the database.

Similar ThreadsPosted
what's wrong calling a Perl/CGI script in Perl/CGI script under Tomcat server? April 8, 2007, 11:38 pm
Problem in passing values to perl script using another perl script August 10, 2005, 12:32 pm
Issue in executing more than one perl script from Single perl script November 1, 2007, 2:52 am
How to generate radio buttons in Perl/CGI script with call to shell script? November 23, 2007, 11:24 pm
FAQ: I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible? October 6, 2004, 4:54 pm
FAQ 8.34: I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible? November 3, 2004, 12:03 am
FAQ 8.34: I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible? November 9, 2004, 6:03 am
FAQ 8.34 I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible? March 26, 2005, 12:03 am
FAQ 8.34 I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible? June 1, 2005, 11:03 pm
FAQ 8.34 I {changed directory, modified my environment} in a perl script. How come the change disappeared when I exited the script? How do I get my changes to be visible? October 19, 2005, 4:03 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap