on ‎2017 Sep 20 7:03 PM
Fellow experts,
I'm trying to create a From LDAP pass, or maybe even use the uGetUserSid internal function, to get the objectSID attribute from a given entry in my target repository. I'm not having any success with uGetUserSid but I was able to bring something back on the From LDAP pass method. Problem is, when I pull up the results that show up in the SQL temp table, it's all mumbo-jumbo. The attribute is stored in LDAP as a binary attribute so what comes into IDM isn't the pretty looking S-1-5-21-xxxxxx-xxxxx format you see when you look at the attribute in an LDAP browser or ADUC.
I looked through my environment to see if there was an SAP supplied global script that would convert the binary format to text but alas, nothing. Any suggestions?
Request clarification before answering.
Brandon,
I did a little googling and saw that the value is encoded. You might want to look at the functions for converting base64 strings and see if it is more direct. Otherwise I found the following links which may or may not be helpful.
Mr. Google can be your friend!
Good luck!
Java/JavaScript:
https://github.com/mcavage/node-ldapjs/issues/193
https://stackoverflow.com/questions/7118290/how-to-convert-the-sid-to-string-and-vice-versa-in-java
Powershell:
http://activelydirect.blogspot.com/2011/01/convert-active-directory-object.html
http://woshub.com/hot-to-convert-sid-to-username-and-vice-versa/
SQL:
https://www.sqlservercentral.com/Forums/Topic458324-1203-1.aspx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I used:
how to convert ad objectsid
and
how to convert ad objectsid javascript
I've had the same thing happen. That's what we're here for! 🙂
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.