How to check whether OpenLDAP server is provider or consumer ?