Simple LDAP account web manipulator
- Perl 5.8 or higher
- Net::LDAP
- Template
- File::Basename
- MIME::Base64
- Digest::SHA
Edit LMConfig.pm with definitions.
- LDAP_URI : Target LDAP URI like ldap://localhost/
- LDAP_BASEDN : Target BASEDN
- URL_BASE : Assumed to be used for template, not used as for now
- PASS_DEGREE : Threshold for password strength
- MAX_PHOTO_BYTE : Max photo size in byte
- HASH_HISTORY : If not empty, save and match password hash on change
If not empty, use file $path_data/HASH_HISTORY for password hash history. Use complex string for this file. ($pash_data should be readable from http daemon, so no restriction...)
Execute as ./testscripts/ These scripts are for command line testing.
- t_stat.pl : display attributes for specified cn
- testChangePass.pl : Change password (read from stdin)
- testNetLdap_Entry_ReplaceAttr.pl : Edit attribute
- testNetLdap_SearchUID.pl : Search with binding
- testParseExop.pl : Read input as 'exop' hash
- test_checker.pl : Password strength level check