diff options
author | Dante Catalfamo | 2020-11-03 15:39:49 -0500 |
---|---|---|
committer | Dante Catalfamo | 2020-11-03 15:39:49 -0500 |
commit | 7c89d03a8d78acf3ea516b3be43fade154bd92a3 (patch) | |
tree | 7fa762cc9d0f72d0d7d5a56e3ec20aaa19d32e6e /content/posts/WIP-how-bsd-authentication-works | |
parent | 2e24230cb8dcdc0261f8ce1a6234c143690b917e (diff) | |
download | blog-7c89d03a8d78acf3ea516b3be43fade154bd92a3.tar.gz blog-7c89d03a8d78acf3ea516b3be43fade154bd92a3.tar.bz2 blog-7c89d03a8d78acf3ea516b3be43fade154bd92a3.zip |
Clarify what fd 4 is for, mention auth_mkvalue
Diffstat (limited to 'content/posts/WIP-how-bsd-authentication-works')
-rw-r--r-- | content/posts/WIP-how-bsd-authentication-works/index.org | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/content/posts/WIP-how-bsd-authentication-works/index.org b/content/posts/WIP-how-bsd-authentication-works/index.org index f051248..9c6ddde 100644 --- a/content/posts/WIP-how-bsd-authentication-works/index.org +++ b/content/posts/WIP-how-bsd-authentication-works/index.org @@ -107,9 +107,9 @@ descriptor 3. Some modules require an extra file descriptor to be passed in for - authentication. In these cases, an extra =-v fd=4= argument will be - passed. Theoretically this =fd= can be any number, but in practice - =fd=4= is hard-coded. + challenge/response authentication. In these cases, an extra =-v + fd=4= argument will be passed. Theoretically this =fd= can be any + number, but in practice =fd=4= is hard-coded. Most modules also have a hidden flag =-d=, which sets the back @@ -305,7 +305,6 @@ according to =BI_SETENV= and =BI_UNSETENV= instructions. ** auth_getvalue - #+BEGIN_SRC c char *auth_getvalue(auth_session_t *as, char *what) #+END_SRC @@ -317,6 +316,9 @@ escape sequences in the value, and returns the newly created string. + For convenience, the function =auth_mkvalue= can be used inside of + the authentication module to create appropriately escaped values. + * auth_open #+begin_src c |