Univention Bugzilla – Bug 16750
Passwortdienst hat Probleme mit Umlauten bzw. UTF-8 Encoding
Last modified: 2016-02-25 17:02:34 CET
Ich habe ein UCS 2.3-0 System mit AD-Connector (im Read-Mode) gegen Windows 2008 konfiguriert. Das Passwort des Administrators lautete "Ünivention123" um den Standard-Passwortrichtlinien von AD zu genügen. Nun tritt folgendes Problem auf. Beim einrichten des Connectors wird das Passwort asl UTF-8 String in der Datei /etc/univention/connector/ad/bindpw abgelegt. Da der Passwortdienst anscheinend nicht mit dem Encoding klar kommt können keine Passwörter synchronisiert werden. Wenn man nun den UTF-8 String durch einen ASCII-String ersetzt funktioniert ein univention-adsearch nicht mehr. Ich nehme an das in diesem Fall die gesamte Synchronisation zwischen UCS und AD stehen bleibt.
Folgende Meldung ist im UCS-AD-Connector Dienst zu finden: Waiting for a client to connect... accept client connection... Client Connected. UserDN = [Administrator] Command = [G] User = [1126] user_logon error: E_LOGON_WRONG_PASSWORD
Das Problem liegt hier: int user_logon ( char *username, char *pwd, struct packet packet ) { int rc = 0; if ( ( ! LogonUser( username, NULL, pwd, LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, packet.hToken ) ) ) { Scheinbar kommt diese Funktion nicht mit UTF-8 klar?! Sollte im UCS Passwort-Dienst behoben werden -> daher schieben
Das Problem bez(In reply to comment #2) > Das Problem liegt hier: > > int user_logon ( char *username, char *pwd, struct packet packet ) Ergänzend dazu: Das bezieht sich nur auf den Passwortdienst. univention-adsearch funktioniert.
This issue has been filed against UCS 2.3. UCS 2.3 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug". In this case please provide detailed information on how this issue is affecting you.
Still an issue.
*** This bug has been marked as a duplicate of bug 25795 ***