This project has moved. For the latest updates, please go here.

Disabling prefix (Role) when searching for AD groups

Mar 24, 2016 at 9:24 AM
Hi all,

I'm looking for solution to prevent emerge of (Role) prefix when searching for AD groups in people picker.
Currently, when looking for a AD group, I've got the following: "(Role) Project ХХХ-ХХХ".

Unfortunately, in /_admin/Ldapcp/ClaimsTable.aspx i see only possibility to add prefix to returned value, not to remove.

Any suggestions?

Thanks,
Sergey
Coordinator
Mar 25, 2016 at 5:17 PM
Hello,
this will be possible with the next version that will be available soon.
thanks,
Yvan
Mar 26, 2016 at 6:41 AM
Hi Yvan,
Thank you for prompt answer.
I've found this topic - http://ldapcp.codeplex.com/discussions/587739, may i achieve it using the specified technique (create a new entry of type "Query LDAP with specified attribute and create permission with the attribute linked to identity claim" ) ?

Thanks,
Sergey
Coordinator
Mar 29, 2016 at 4:06 PM
Hello Sergey,
you can do this with the new version I just published.
Once installed, go to central admin > security > LDAPCP claims mapping page > Edit the claim type and uncheck box for column "Show claim name in display text".
Thanks,
Yvan
Mar 29, 2016 at 4:22 PM
Hello Yvan,

Many thanks for update.
Just for your information, i was able to do it by removing LDAP class "group" from _admin/Ldapcp/ClaimsTable.aspx on my ShP CA server (as shown on screenshot below):
Image
However, i think it's a bad way, isn't it?

Thanks,
Sergey
Coordinator
Mar 29, 2016 at 4:27 PM
Hello,
I'm not exactly sure about what you did but I don't think it was a good idea :)
You should revert your change and after installing the update, you'll see a checkbox for to show/hide the claim name.
thanks,
Yvan
Mar 29, 2016 at 4:57 PM
Sure,
Will try it today and reply back.
Thanks.
Mar 31, 2016 at 7:10 AM
Edited Mar 31, 2016 at 7:34 AM
Hello Yvan,
All works like a charm.
Great addition to this solution!

However i'd like to ask one more question.
To not interfere with the initial topic theme I'll create a new one.

Thanks,
Sergey