在windows 2008 AD 的 Users 下創建一個group, 用 spring ladp 更新group 中的 成員時報:
Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 00002016: SvcErr: DSID-031A120C, problem 5003 (WILL_NOT_PERFORM), data 0
]; remaining name 'CN=m8,CN=Users'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)
at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1478)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:273)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:190)
at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:172)
at org.springframework.ldap.core.LdapTemplate$19.executeWithContext(LdapTemplate.java:966)
at org.springframework.ldap.core.LdapTemplate.executeWithContext(LdapTemplate.java:817)
如果group是創建在 OU下可以正常操作。
不知哪位大神遇到過類似的問題?
uj5u.com熱心網友回復:
是否物件DN沒寫完整,需要CN=group,CN=Users,DC=domain,DC=com轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/108396.html
