LDAP ObjectSID Convert Hex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2020 08:00 AM
Hi Everybody,
I have a question about the LDAP user import.
In my Customer, the coaslesce is objectSID.
I need to convert the value on the objectSID on hex
Exemple:
Base 64: AQUAAAAAAAUVAAAAPt85e78Lxl5Dn58Z+J0AAA==
Hex: 01 05 00 00 00 00 ........ (with no space)
My investiguations:
- Sys properties: glide.ldap.binary_attributes = objectsid,objectguid
- Mid Server properties: Add propertie: glide.ldap.binary_attributes = objectsid,objectguid
I test this script but I have the same value on all users.
https://community.servicenow.com/community?id=community_question&sys_id=7b8c8fa5db9cdbc01dcaf3231f96196f&view_source=searchResult
Have you an idea?
Thanks
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2020 01:46 AM
Can you prepare some examples, what you get in the import and what the result should be?
What do you mean exactly with "I test this script but I have the same value on all users.?" What have you tried?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2020 12:20 AM
Hi Lylys,
I am also facing the same issue. Please let me know if you found a solution for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2021 07:24 PM
I wrote some script for this issue, and seems working fine for past few months.
Hope this will help you too.
https://community.servicenow.com/community?id=community_question&sys_id=37ed6bfddb056c1066f1d9d968961994&view_source=searchResult