evolution of ldaprecord by Christian Wittkowski (http://www.yiiframework.com/extension/ldaprecord/)