Hi
I have all users in openldap. In openldap I have password crypt+base64

after decoding base64 :
{CRYPT}$1$AvMW4io/$DDq..................

In postfix auth via saslauthd:

cat /etc/saslauthd.conf
....
ldap_auth_method: custom
ldap_filter:
(&(objectClass=qMailUser)(|(mail=%u%R)(mailAlternateAddress=%u%R)))
....

cat /etc/sasl2/smtpd.conf
....
pwcheck_method: saslauthd
saslauthd_path: /run/saslauthd/mux
mech_list: plain login
log_level: 1
...

all works fine

I must migrate all from openldap to mysql 1:1 ant I have a questions:

What I must use "type auth" in mysqldb if i have use this same rekord in
"password" ?

i thinking:
|user                                |
password                                       |
|exam...@domain.com | {CRYPT}$1$AvMW4io/$DDq  ....  |

maby:
|user                                |
password                                       |
|exam...@domain.com | $1$AvMW4io/$DDq  ....                |

or other ?

I cannot change password - I must moved all from openldap to mysql

--

Reply via email to