diff options
Diffstat (limited to 'content/posts/WIP-how-bsd-authentication-works/index.org')
-rw-r--r-- | content/posts/WIP-how-bsd-authentication-works/index.org | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org index 87339b4..7917adc 100644 --- a/content/posts/WIP-how-bsd-authentication-works/index.org +++ b/content/posts/WIP-how-bsd-authentication-works/index.org @@ -755,32 +755,6 @@ =s= is returned. <<here>> -* grapgh? -# Setting env on auth_close(as) -# partual rewrite below - -The call graph for =auth_userokay= looks something like this: - -#+BEGIN_SRC c -int auth_userokay(char *name, char *style, char *type, char *password) -#+END_SRC - -calls ~auth_usercheck~ and then calls ~auth_close~ on the returned -~auth_session_t~. The value returned from ~auth_close~ is then -returned. - -#+BEGIN_SRC c -auth_session_t *auth_usercheck(char *name, char *style, char *type, char *password) -#+END_SRC - -Validates the checks that the user exists, gets the user's login -class, verifies the auth type, and that the auth style can be used. - -It creates an auth session struct. - -If the password is provided it sets the service type to =response=, -and adds the adds the password to the auth data. Otherwise it -leaves it empty. * COMMENT note --- |