简体   繁体   English

从Java更新ldap

[英]Updating ldap from java

I know that java offers a set of apis to contact an LDAP server, and a process could contact LDAP server by providing credentials, but I always thought that to update the LDAP besides a user name and password, the PC contacting LDAP should be joined in the windows domain. 我知道Java提供了一组用于联系LDAP服务器的API,并且进程可以通过提供凭据来联系LDAP服务器,但是我一直认为,除了更新用户名和密码之外,要更新 LDAP,应该将与LDAP联系的PC加入其中Windows域。

Is assumption this wrong? 假设这是错误的吗?

That assumption is indeed wrong. 这个假设确实是错误的。

LDAP is not a Windows-specific technology. LDAP不是Windows特定的技术。 All you need in order to update directory data is the ability to connect to the appropriate port (389 for unencrypted or TLS-encrypted connections, or 636 for SSL-encrypted connections) and bind to the LDAP server using the credentials of a user that has sufficient access to modify the attributes you have in mind. 要更新目录数据,您所需要做的就是能够连接到适当的端口(389用于未加密或TLS加密的连接,或636用于SSL加密的连接)并使用具有以下功能的用户的凭据绑定到LDAP服务器:足够的权限来修改您所考虑的属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM