Caused by: com.thoughtworks.xstream.converters.ConversionException: : entity reference names can not start with character '(' (position: START_TAG seen ...<userSearch>&(... @14:19) : : entity reference names can not start with character '(' (position: START_TAG seen ...<userSearch>&(... @14:19)
---- 调试信息 ---- 消息: : 实体引用名称不能以字符 '(' 开头(位置:START_TAG 看到 ...&(... @14:19) 原因异常:com.thoughtworks。 xstream.io.StreamException 原因消息::实体引用名称不能以字符“(”开头(位置:已看到 START_TAG ...&(... @14:19)
下面是我的 config.xml。
<securityRealm class="hudson.security.LDAPSecurityRealm" plugin="ldap@1.1">
<server>ldap://office.adroot.bmogc.net:3268</server>
<rootDN>DC=office,DC=adroot,DC=bmogc,DC=net</rootDN>
<inhibitInferRootDN>false</inhibitInferRootDN>
<userSearchBase>DC=office,DC=adroot,DC=bmogc,DC=net</userSearchBase>
<userSearch>&(objectCategory=Person)(memberof=CN=ccusers,OU=UNIX Security Groups,OU=CTD_CM_RMG,OU=Corporate Clients V2,DC=office,DC=adroot,DC=bmogc,DC=net)/userSearch>
<groupSearchBase>DC=office,DC=adroot,DC=bmogc,DC=net</groupSearchBase>
<managerDN>ldapuser</managerDN>
<managerPassword>MUJ</managerPassword>
</securityRealm>