Non-ASCII characters should be dropped instead of being properly
transliterated as initially designed if they are not recognised. This
should allow one to workaround installation issues as #939717.
---
 ldap-tools/ldap-debian-edu-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldap-tools/ldap-debian-edu-install 
b/ldap-tools/ldap-debian-edu-install
index 1b393a8f..df723d5d 100755
--- a/ldap-tools/ldap-debian-edu-install
+++ b/ldap-tools/ldap-debian-edu-install
@@ -73,7 +73,7 @@ if db_get debian-edu-config/first-user-fullname && [ "$RET" ] 
; then
        FIRSTUSERGIVENNAME="$FIRSTUSERLASTNAME"
     fi
     # GECOS in LDAP must be ASCII (IA5String), convert to this
-    FIRSTUSERGECOS="$(echo $RET | iconv -t ASCII//TRANSLIT)"
+    FIRSTUSERGECOS="$(echo $RET | iconv -ct ASCII//TRANSLIT)"
 else
     echo "error: no value in first-user-fullname, passing debconf values 
fail?" 1>&2
     FIRSTUSERGECOS="LDAP initial admin user"
-- 
2.23.0

Reply via email to