无法使用LDAPS将UserAccountControl设置为512
我正在使用mulesoft连接LDAP并提供用户。 mule 4 LDAP连接器的连接是在端口636上使用LDAP(使用TrustStore File +密码的SSL连接)。如在线文档中所述,我正在基于Active Directory指南设置有效的UserPassword属性。仍然是投掷错误:
"OPERATION_NOT_SUPPORTED: [LDAP: error code 53 - 0000052D: SvcErr: DSID-031A12E8, problem 5003 (WILL_NOT_PERFORM), data 0"
我能够将其设置为546、544等,但是512从未实现。请任何人建议犯此错误的原因?
以下是LDAP添加操作的有效载荷:
{
"accountExpires": "0",
"givenName": "First",
"name": "First Last",
"displayName": "First Last",
"cn": "First Last",
"sn": "Last",
"userAccountControl": "512",
"userPassword": "s4mb@r89!DRFnw",
"physicalDeliveryOfficeName": "London",
"dn": "CN=First Last,OU=London,DC=company,DC=co,DC=uk",
"distinguishedName": "CN=First Last,OU=London,DC=company,DC=co,DC=uk",
"manager": "CN=Mgr Name,OU=London,DC=company,DC=co,DC=uk",
"userPrincipalName": "[email protected]",
"sAMAccountName": "First.Last",
"employeeID": "First.Last",
"objectCategory": "CN=Person,CN=Schema,CN=Configuration,DC=company,DC=co,DC=uk",
"objectClass": ["top", "person", "organizationalPerson", "user"]
}
m子4- LDAP连接器配置:
<ldap:config name="LDAP_Configuration" doc:name="LDAP Configuration" doc:id="dc616c25-140d-42ef-a72e-575379a81596" >
<ldap:ssl-connection
authDn="ldap_user"
authPassword="password"
url="ldaps://domain:636"
trustStorePath="C:\path\src\main\resources\server.truststore"
trustStorePassword="mulesoft" >
<reconnection >
<reconnect frequency="20000" count="2" />
</reconnection>
</ldap:ssl-connection>
</ldap:config>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎使用的密码仍然不符合此页面的限制:。
似乎没有任何与此问题相关的m子。它看起来纯粹是与Active Directory相关的。
It seems that the password used is still not complying with some restriction according to this page: https://ldapwiki.com/wiki/ERROR_PASSWORD_RESTRICTION.
It doesn't seem that there is anything Mule related to this issue. It looks to be purely Active Directory related.