X-Git-Url: http://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/01037b081eab5fb3f208489dc3e052ec3a2c8ba1..5459351437f2b7b2a08457e5397f8a8381986ffe:/auth_generic.html diff --git a/auth_generic.html b/auth_generic.html index ed7afb2..2ccfb28 100644 --- a/auth_generic.html +++ b/auth_generic.html @@ -7,7 +7,7 @@ information. -->
auth_generic â Generic authentication request
#include <courierauth.h>
int rc=auth_generic( | const char *service, |
 | const char *authtype, |
 | const char *authdata, |
 | int (*callback_func)
- ( struct authinfo *, void *) , |
 | void *callback_arg) ; |
auth_generic
processes a generic authentication request.
You do not want to use this function.
You really want to use
@@ -35,7 +35,7 @@ newline character.
followed by a second newline character.
The base64-encoded string consists of the responding userid, a space
character, then the response to the challenge expressed as hexadecimal
-digits.
callback_func
will be invoked if
auth_generic
succeeds, and callback_func
's return value becomes
@@ -48,7 +48,7 @@ return value indicates that this request was processed, but it failed.
The second argument to callback_func
will be
callback_arg
, which is not interpreted by this
function in any way.
-The first argument will be a pointer to the following structure:
Example 1. struct authinfo
+The first argument will be a pointer to the following structure:Example 1. struct authinfo
struct authinfo { const char *sysusername; const uid_t *sysuserid; @@ -101,7 +101,7 @@ The account's cleartext password, if available. If the account has an encrypted password defined, this field can be set toNULL
.options A comma-separated list of miscellaneous account options. -See below for more information.
Account options
Depending on the configuration of the Courier authentication library, accounts may have individual options associated with them. If the authentication library configuration does not implement account @@ -150,7 +150,7 @@ account could possibly access (and that's on top of whatever else the access control lists say). See the virtual shared folder documentation for more information.
For technical reasons, group names may not include comma, tab, "/" or "|" -characters.