Subject: Re: BSD Authentication
To: Peter Seebach <seebs@plethora.net>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: current-users
Date: 09/05/2003 21:41:00
On Jan 16,  8:34am, Peter Seebach wrote:
} In message <Pine.NEB.4.33.0308261151550.20543-100000@vespasia.home-net.icnt.net
} >So what is the exposed API used by BSD Auth?
} 
} A bunch of functions with names like auth_foo:
} 
} bsd_auth(3):
} NAME
}      auth_open, auth_call, auth_challenge, auth_check_change,
}      auth_check_expire, auth_clean, auth_close, auth_clrenv, auth_clroption,
}      auth_clroptions, auth_getitem, auth_getstate, auth_getvalue,
}     auth_set_va_list, auth_setdata, auth_setenv, auth_setitem, auth_setoption,
}      auth_setpwd, auth_setstate - interface to the BSD Authentication system
} authenticate(3):
} NAME
}      auth_approval, auth_cat, auth_checknologin, auth_mkvalue,
}      auth_userchallenge, auth_usercheck, auth_userokay, auth_userresponse,
}      auth_verify - simplified interface to the BSD Authentication system
} 
} These do just about everything.  You almost never need the "full" interface,
} but it's there.

     I count a total of 29 functions between the two interfaces.  In
comparison, PAM has 14 functions for use by client apps, 6 functions
that modules can provide, and 9 functions that modules can use (7 of
which are also usable by clients) for a total of 23 functions.

}-- End of excerpt from Peter Seebach