[Postfixbuch-users] Cyrus-Imap Login via Mysql MD5 (Hash)

mrg at unimx.de mrg at unimx.de
Do Nov 8 19:38:31 CET 2007


Danke für die Antwort,

leider geht der Patch nur mit 2.1.19 und ich habe ein RPM 2.1.21 RPM
installiert.

Habe nun 2.1.19 mit Pacht kompiliert und dann ohne "make install" 
Nun einfach die neue libsasl2.so.2.0.19 ins /var/lib getan (symlinks noch
angepasst) und nun geht es.
Danke. Hoffe es tauchen keine Probleme auf da cyrus-sasl2.1.21 per RPM immer
noch installiert ist und ich nur die LIB von libsasl2.so.2.0.21 nach
libsasl2.so.2.0.19  ausgetauscht habe.

In den Logs schein alles sauber.

Danke soweit.

PS: das Kompilieren war echt ein Krampf, nur Fehler. Musste ohne digetmd5
kompilieren (brauch ich aber eh nicht) und musste einen HEADER fixen:

>When compiling with gcc (GCC) 4.0.1 20050727 on Fedora Core 4, you may
notice the following error:
>
>client.c:64: error: static declaration of 'global_callbacks' follows
non-static declaration
>saslint.h:112: error: previous declaration of 'global_callbacks' was here
>
>This can be corrected by commenting out the offending line (saslint.h, line
122). GCC 4.0.1 performs advanced checking, exposing problems like this in
the source.
>
>  /* extern sasl_global_callbacks_t global_callbacks; */

Hinweis: Ach normale MD5 HASHs scheinen nicht zu gehen, aber zumindest
Passwörter die ich mit crypt erstelle.
Also nur (um in PHP zu sprechen):
crypt($plainpass, $salt);  // DIESES PASSWORT GEHT
md5($plainpass); // DIESES PASSWORT GEHT NICHT

Grüße Martin

-----Ursprüngliche Nachricht-----
Von: postfixbuch-users-bounces at listi.jpberlin.de
[mailto:postfixbuch-users-bounces at listi.jpberlin.de] Im Auftrag von Andreas
Winkelmann
Gesendet: Donnerstag, 8. November 2007 18:32
An: postfixbuch-users at listi.jpberlin.de
Betreff: Re: [Postfixbuch-users] Cyrus-Imap Login via Mysql MD5 (Hash)

On Donnerstag, 8. November 2007, mrg at unimx.de wrote:

> Wie teile ich dem Systme nun mit, dass die Passwörter MD5 (Hash) in der
> Datenbank sind.

http://frost.ath.cx/software/cyrus-sasl-patches/

-- 
	Andreas
-- 
_______________________________________________
Postfixbuch-users -- http://www.postfixbuch.de
Heinlein Professional Linux Support GmbH

Postfixbuch-users at listi.jpberlin.de
https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users




Mehr Informationen über die Mailingliste Postfixbuch-users