* [pve-devel] [PATCH common] Added 'raw' option to LDAP constructor for UTF8 string default decoding
@ 2021-02-08 12:32 Ådne Hovda
0 siblings, 0 replies; only message in thread
From: Ådne Hovda @ 2021-02-08 12:32 UTC (permalink / raw)
To: pve-devel; +Cc: Ådne Hovda
---
Notes:
When syncing users including given/surname with non-ASCII characters from Active Directory I found garbled text in the users list in the GUI. Adding this option to the Net::LDAP object solved the issue.
src/PVE/LDAP.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/LDAP.pm b/src/PVE/LDAP.pm
index ff98e36..5fa43a8 100644
--- a/src/PVE/LDAP.pm
+++ b/src/PVE/LDAP.pm
@@ -23,6 +23,7 @@ sub ldap_connect {
port => $port,
timeout => 10,
onerror => 'die',
+ raw => qr/(;binary)/,
);
my $hosts = [];
--
2.29.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-08 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 12:32 [pve-devel] [PATCH common] Added 'raw' option to LDAP constructor for UTF8 string default decoding Ådne Hovda
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.