2

For a number of reasons, I do not want to host an actual LDAP server.

Instead, through PHP, I want to simulate the essential functions of an LDAP server.

So I want, for instance, to be able to respond to ldap_search, ldap_connect, ldap_bind, ldap_unbind, etc.

Results would come from MySQL.

It looks like ldap_search would be a matter of returning the same response that an LDAP URL Query would return, which is like a JSON format, but I am unsure about e.g. ldap_bind.

Right now I am just researching the feasibility of providing a "simulated" LDAP Server. I would greatly appreciate any thoughts on how much this would require, using PHP/MySQL.

Thanks in advance!

4

1 に答える 1

2

プロトコルの仕様を確認し、基本的にサーバーの実装を構築する必要があると思います。それはあなたが何をする必要があるかについてあなたに考えを与えるでしょう、LDAPクライアントアプリはプロトコル仕様に非常に厳密に従います。

仕様:https ://www.rfc-editor.org/rfc/rfc4510

于 2010-02-19T16:47:04.877 に答える