Fixes: #2547 ldap class has unused vars and methods
Fixes: #2544 Fixed class_config.inc code style to follow our guidelines