I am looking for any generic perl code 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.