Is there any free ldap server with data? [closed]

早过忘川 提交于 2021-02-17 11:13:50

问题


I need to test an application which uses LDAP for authentication, but still I don't have access to the server I have to use, but I need to test my application.

Does somebody know if is there any LDAP server with data that i can use for access??


回答1:


Here you go: Online LDAP Test Server

It's free, contains data, browsable. Make sure you use LDAP v3 when trying to bind.

Example of using from command line:

ldapsearch -W -h ldap.forumsys.com -D "uid=tesla,dc=example,dc=com" -b "dc=example,dc=com"

Password: password

Returns:

# extended LDIF
#
# LDAPv3
# base <dc=example,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

...

# search result
search: 2
result: 0 Success

# numResponses: 16
# numEntries: 15



回答2:


If you use the UnboundID LDAP SDK, you can stand up an in-memory LDAP server to use for testing. The API to deploy an in-memory server is included in the API. The standard edition is free, and the source code is included. I've included an example in this blog entry.




回答3:


If you use a unix-like OS, I wrote a simple server in Java, that uses the Apache Directory Studio SDK to serve LDAP:

https://github.com/intelie/dummyldap




回答4:


ldap://directory.verisign.com is available according to one of Terry's blogs.



来源:https://stackoverflow.com/questions/7667197/is-there-any-free-ldap-server-with-data

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!