<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=GB2312">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Look for a pam_set_item() (though it's not available in the DogWood
versions of the PAM library, i.e. FreeBSD 5.x, so portability becomes
an issue on that). The modules can retrieve the username/password
through the use of pam_get_item().<br>
<br>
Joe<br>
<br>
lu.peng wrote:<br>
<blockquote type="cite" cite="mid002c01c401ef$a0a4c160$dd59a8c0@m12">
<meta http-equiv="Content-Type" content="text/html; ">
<base
href="file://C:%5CProgram%20Files%5CCommon%20Files%5CMicrosoft%20Shared%5CStationery%5C">
<meta content="MSHTML 5.50.4807.2300" name="GENERATOR">
<style></style>
<div>hi , all</div>
<div> </div>
<div> environment is : postfix + cyrus sasl + pam . </div>
<div> when need to do authenticate , postfix will invoke
the sasl_server_new() to create a new context for this session of
connection. </div>
<div> then the pam module can get some info from that
session,such as username and passwd .</div>
<div> 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 .</div>
<div> </div>
<div> thanks in advance .</div>
<div> </div>
</blockquote>
</body>
</html>