Google Answers Logo
View Question
 
Q: PHP-LDAP or Perl-LDAP Forms for Modifying LDAP Account Text Attributes ( No Answer,   0 Comments )
Question  
Subject: PHP-LDAP or Perl-LDAP Forms for Modifying LDAP Account Text Attributes
Category: Computers > Programming
Asked by: underachiever-ga
List Price: $20.00
Posted: 12 Dec 2002 02:04 PST
Expires: 15 Dec 2002 20:40 PST
Question ID: 123535
I need Web-OpenLDAP forms (written in Perl or PHP) that will do the
following:
o Check if userID and another attribute (roomNumber) are both correct
in two ou of an LDAP server (say, ou=mail and ou=People). If yes,
proceed. If not, reload the form.
o Proceed: display all user info on a new page (including this
attribute). Three links: Apply for Activation, Change Password, Change
User ID.
o Result page shows all user attributes (including accountStatus).
From this page, the user can click on Apply for Activation (if
accountStatus is disabled) or to Apply for Password Change Form.
o Apply For Activation form lists users' info and has a Print button
(the rest is done manually using paperwork).
o Password Change works the same as Apply for Activation form.
o Apply for UserID Change form: a separate form; the user inputs a new
UID he wants to get and the rest of data remains the same. A check is
done on ou=mail  to check if such user ID already exists; if not, the
info is written (with accountStatus=disabled) to ou=mail. If the
desired UID already exists, the user is prompted to enter a new UID
'cause the one he tried is already taken. After successful change, a
page with full user info is output to a new Web page with a print
button.

Relevant info: 
o OpenLDAP, Perl, PHP are all versions shipped with Red Hat 8.0
o Double-byte is used for some fields so care needs to be taken that
double-byte characters can be displayed in HTML and saved to LDAP
properly and especially that Web pages do now show double-byte escape
characters (<? and such).
Double-byte characters can be obtained by copy-and-paste from any
double-byte site such as Google's Traditional Chinese (Big5)
interface, etc.)
o LDAP: dc=company,dc=com, two ou=mail, ou=people, relevant
attributes: uid, roomNumber, userPassword, mail
Please use dc=company,dc=com in your code.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy