|
From: Mihamina R. <mih...@gu...> - 2010-07-09 10:25:17
|
Manao ahoana, Hello, Bonjour,
We are using pam_mysql module for our SMTP server
We use to put in /etc/pam.d/smtp:
auth required pam_mysql.so \
user=xxxx \
passwd=xxxxx \
host=12.34.56.78 \
db=xxx \
table=xxx \
usercolumn=id passwdcolumn=pwd crypt=0 account
sufficient pam_mysql.so \
user=xxx \
passwd=xxx \
host=12.34.56.78 \
db=xxx \
table=xxx \
usercolumn=id passwdcolumn=pwd crypt=0
I have 2 questions:
If I am going to crypt() the passwords in the MySQL database, changing
crypt=0
to
crypt=1
will be OK?
Now suppose I dont use crypt() but md5 (just example), how will I use
pam_mysql?
Misaotra, Thanks, Merci.
--
Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 56 000 19
|