Skip to content
Snippets Groups Projects
Commit 66f95e65 authored by Jean-François B's avatar Jean-François B
Browse files

[FIX] ms-ds-consistencyguid need also to be Base64 encode

parent 93594a77
No related branches found
No related tags found
No related merge requests found
...@@ -569,7 +569,7 @@ class SimpleSAML_Auth_LDAP ...@@ -569,7 +569,7 @@ class SimpleSAML_Auth_LDAP
} }
// Base64 encode binary attributes // Base64 encode binary attributes
if (strtolower($name) === 'jpegphoto' || strtolower($name) === 'objectguid') { if (strtolower($name) === 'jpegphoto' || strtolower($name) === 'objectguid' || strtolower($name) === 'ms-ds-consistencyguid') {
$values[] = base64_encode($value); $values[] = base64_encode($value);
} else { } else {
$values[] = $value; $values[] = $value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment