How to retrieve all LDAP attributes definition on LDAP database?
<p>I'm working with ldap and want to retrieve all Ldap Attribute fields that defined on Ldap server. I just need list of attribute field only not the value. The result should be a list like this:</p>

<pre><code>['mailNickname',
 'publicDelegatesBL',
 'logonCount',
 'cn',
 'countryCode',
 'dSCorePropagationData',
 'objectClass',
 # ...
'telephoneNumber',
'physicalDeliveryOfficeName',
'name',
'memberOf',
'codePage',
'userAccountControl',
'msExchMDBRulesQuota',
'lastLogon',
'protocolSettings',
'uSNChanged',
'sn',
'msExchVersion',
'mDBUseDefaults',
'givenName',
'msExchMailboxGuid',
'lastLogoff']
</code></pre>

<p>Is there way to do this?</p>