hi , all
environment is : postfix + cyrus sasl + pam .
when need to do authenticate , postfix will invoke
the sasl_server_new() to create a new context for this session of
connection.
then the pam module can get some info from that
session,such as username and passwd .
my problem is , i want to pass one of my
self-defined args to pam module , but i don't know how to program in postfix and
pam module .
thanks in advance .
|