[midPoint] Running into issue with previous users
Jason Everling
jeverling at bshp.edu
Fri Oct 16 21:02:02 CEST 2015
Here is the situation,
I am running into a issue, if the user in the CSV has a middle initial that
was not there before and does not have that value in AD then I get an error,
Attempt to replace 2 values to a single-valued item attributes/name;
values: [PPV(String:cn=Charlie K.
Brown,OU=DISABLED,OU=Students,DC=TEST,DC=LOCAL), PPV(String:cn=Charlie K.
Brown,OU=Dept,OU=Users,OU=Students,DC=TEST,DC=LOCAL)]
The above users original "name" in AD is
cn=Charlie Brown,OU=Dept,OU=Users,OU=Students,DC=TEST,DC=LOCAL
So when they are added to CSV with a middle initial it is trying to build
the new name like in the first example and fails.
My AD DN code is,
if (additionalName == null) {
return 'cn='+givenName+' '+familyName+iterationToken+','+organization+'';
} else {
return 'cn='+givenName+' '+additionalName+'.
'+familyName+iterationToken+','+organization+'';
}
--
JASON
--
CONFIDENTIALITY NOTICE:
This e-mail together with any attachments is proprietary and confidential;
intended for only the recipient(s) named above and may contain information
that is privileged. You should not retain, copy or use this e-mail or any
attachments for any purpose, or disclose all or any part of the contents to
any person. Any views or opinions expressed in this e-mail are those of the
author and do not represent those of the Baptist School of Health
Professions. If you have received this e-mail in error, or are not the
named recipient(s), you are hereby notified that any review, dissemination,
distribution or copying of this communication is prohibited by the sender
and to do so might constitute a violation of the Electronic Communications
Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the
sender and delete this e-mail and any attachments from your computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20151016/48245892/attachment.htm>
More information about the midPoint
mailing list