[midPoint] Multi-valued password attributes

Todd Bickers tbickers at illinois.edu
Wed Jan 20 17:33:04 CET 2016


Is it possible to setup a resource with a userPassword attribute that 
allows for multiple password values in LDAP?  Below is the error I'm 
receiving

Thanks,

Todd


2016-01-20 10:20:15,351 [UCF] [Thread-20] TRACE 
(com.evolveum.polygon.connector.ldap.search.SearchStrategy): method: 
null msg:Search RES Entry
     dn: uid=someuser,ou=Production, ou=People, dc=uillinois, dc=edu
     objectClass: top
     objectClass: person
     objectClass: organizationalPerson
     objectClass: inetOrgPerson
     objectClass: eduPerson
     uid: someuser
     mail:
     userPassword: 0x7B 0x53 0x53 0x48 0x41 0x7D 0x39 0x38 0x56 0x33 
0x4F 0x54 0x6A 0x6F 0x4C 0x69 ...
     userPassword: 0x7B 0x53 0x53 0x48 0x41 0x7D 0x65 0x6F 0x50 0x68 
0x4C 0x71 0x65 0x31 0x58 0x74 ...
     sn: User
     employeeNumber: 657499404
     cn: Some Test User
     givenName: Some

2016-01-20 10:20:16,149 [UCF] [http-8080-4] ERROR 
(com.evolveum.midpoint.provisioning.ucf.impl.IcfUtil): ICF Exception 
java.lang.IllegalArgumentException in 
connector:3dadb6e0-671c-469b-8181-0d21bec3c479(ICF 
com.evolveum.polygon.connector.ldap.LdapConnector v1.4.2.0): 
resource:01111111-1111-1111-1111-100000000111(EAS LDAP 3.3 
(urbldaptest1.admin.uillinois.edu)): Must be a single value., attribute 
__PASSWORD__ (ldap: userpassword)
java.lang.IllegalArgumentException: Must be a single value., attribute 
__PASSWORD__ (ldap: userpassword)
     at 
com.evolveum.polygon.connector.ldap.schema.SchemaTranslator.toIcfAttribute(SchemaTranslator.java:1012) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.schema.SchemaTranslator.toIcfObject(SchemaTranslator.java:825) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.schema.SchemaTranslator.toIcfObject(SchemaTranslator.java:767) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.schema.SchemaTranslator.toIcfObject(SchemaTranslator.java:763) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.search.SearchStrategy.handleResult(SearchStrategy.java:270) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.search.DefaultSearchStrategy.search(DefaultSearchStrategy.java:87) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.AbstractLdapConnector.searchUsual(AbstractLdapConnector.java:486) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.AbstractLdapConnector.executeQuery(AbstractLdapConnector.java:324) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.AbstractLdapConnector.executeQuery(AbstractLdapConnector.java:139) 
~[connector-ldap-1.4.2.0.jar:na]
     at 
org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:193) 
~[connector-framework-internal-1.4.2.0.jar:na]
     at 
org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:130) 
~[connector-framework-internal-1.4.2.0.jar:na]
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.7.0_13]
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[na:1.7.0_13]
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
~[na:1.7.0_13]
     at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_13]
     at 
org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:98) 
~[connector-framework-internal-1.4.2.0.jar:na]
     at sun.proxy.$Proxy161.search(Unknown Source) ~[na:na]
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.7.0_13]
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[na:1.7.0_13]
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
~[na:1.7.0_13]
     at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_13]
     at 
org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:96) 
~[connector-framework-internal-1.4.2.0.jar:na]
     at sun.proxy.$Proxy161.search(Unknown Source) ~[na:na]
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.7.0_13]
     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
~[na:1.7.0_13]
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
~[na:1.7.0_13]
     at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_13]
     at 
org.identityconnectors.framework.impl.api.BufferedResultsProxy$BufferedResultsHandler.run(BufferedResultsProxy.java:165) 
~[connector-framework-internal-1.4.2.0.jar:na]
Caused by: java.lang.IllegalArgumentException: Must be a single value.
     at 
org.identityconnectors.framework.common.objects.Attribute.<init>(Attribute.java:111) 
~[connector-framework-1.4.2.0.jar:na]
     at 
org.identityconnectors.framework.common.objects.AttributeBuilder.build(AttributeBuilder.java:188) 
~[connector-framework-1.4.2.0.jar:na]
     at 
com.evolveum.polygon.connector.ldap.schema.SchemaTranslator.toIcfAttribute(SchemaTranslator.java:1009) 
~[connector-ldap-1.4.2.0.jar:na]
     ... 27 common frames omitted



More information about the midPoint mailing list