Bug 16750 - Passwortdienst hat Probleme mit Umlauten bzw. UTF-8 Encoding
Passwortdienst hat Probleme mit Umlauten bzw. UTF-8 Encoding
Status: RESOLVED DUPLICATE of bug 25795
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 2.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-08 11:10 CET by Andre Fenske
Modified: 2016-02-25 17:02 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Fenske univentionstaff 2009-12-08 11:10:44 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.
Comment 1 Andreas Büsching univentionstaff 2010-04-26 14:09:55 CEST
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
Comment 2 Andreas Büsching univentionstaff 2010-04-26 14:23:07 CEST
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
Comment 3 Andreas Büsching univentionstaff 2010-04-26 14:26:42 CEST
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.
Comment 4 Stefan Gohmann univentionstaff 2014-02-18 21:37:53 CET
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.
Comment 5 Michel Smidt 2016-02-25 15:45:34 CET
Still an issue.
Comment 6 Michel Smidt 2016-02-25 17:02:34 CET

*** This bug has been marked as a duplicate of bug 25795 ***