Added unbind code (cleanup) to system/ldap module