Get all possible attributes and all objectClasses from openLDAP in PHP

前端 未结 2 1597
名媛妹妹
名媛妹妹 2021-02-05 14:00

I have to write LDAP editor in PHP. LDAP is used for store network devices (switch,AP,..). So, it is not normal functionality and I found lot of problems. The biggest problem is

2条回答
  •  孤街浪徒
    2021-02-05 14:10

    Perhaps you should have a look at Zend_Ldap, the LDAP component in the Zend Framework. It allows schema introspection for OpenLDAP servers and those compatible with OpenLDAP. The code may provide you with some hints on how to do this.

    Please note that this procedure is not possible with an Active Directory server as they store the schema information in a form that cannot be retrieved by ext/php due to the lack of paging support.

提交回复
热议问题