I’m importing data into an LDAP store. The attribute in question is of type OctetString. I have a normal string that I need to get into that attribute.
I’m using C# (.net 3.5)
How do I do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I know, an OctetString is just a byte array. Not to be confused with Octal (base 8)
Completely open to correction but some random googling would seem to agree…
This will convert your string to a byte array