We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 965e5bd commit 6ae4e6dCopy full SHA for 6ae4e6d
resources/lib/UnityUser.php
@@ -71,7 +71,10 @@ public function init($send_mail = true)
71
$ldapUserEntry->setAttribute("uid", $this->uid);
72
$ldapUserEntry->setAttribute("givenname", $this->getFirstname());
73
$ldapUserEntry->setAttribute("sn", $this->getLastname());
74
- $ldapUserEntry->setAttribute("gecos", "{$this->getFirstname()} {$this->getLastname()}");
+ $ldapUserEntry->setAttribute(
75
+ "gecos",
76
+ transliterator_transliterate("Latin-ASCII", "{$this->getFirstname()} {$this->getLastname()}")
77
+ );
78
$ldapUserEntry->setAttribute("mail", $this->getMail());
79
$ldapUserEntry->setAttribute("o", $this->getOrg());
80
$ldapUserEntry->setAttribute("homedirectory", self::HOME_DIR . $this->uid);
0 commit comments