summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2009-05-09 09:04:23 +0000
committerArthur de Jong <arthur@arthurdejong.org>2009-05-09 09:04:23 +0000
commit5416a584e40b28779daf793adf4dbf6dca65860f (patch)
treee3f39df812e7afec56269e7d5707808f7364d22e
parentb5bc66bdb97928ae5a9c3331964f0d8a67535a47 (diff)
add warnings about protocol stability
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@874 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r--nslcd.h5
-rw-r--r--pam/pam.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/nslcd.h b/nslcd.h
index e445a49..437c874 100644
--- a/nslcd.h
+++ b/nslcd.h
@@ -189,6 +189,11 @@
STRING user name (cannonical name)
STRING DN (can be used to speed up requests) */
+/*
+ WARNING: the PAM code is under development and the details of the protocol
+ may change between releases.
+*/
+
/* PAM authentication check request. The extra request values are:
STRING password
and the result value ends with:
diff --git a/pam/pam.c b/pam/pam.c
index e39ea59..89e6ca0 100644
--- a/pam/pam.c
+++ b/pam/pam.c
@@ -20,6 +20,11 @@
02110-1301 USA
*/
+/*
+ WARNING: this code is under development and the details of the protocol
+ may change between releases.
+*/
+
#include "config.h"
#include <stdlib.h>
@@ -467,7 +472,7 @@ static enum nss_status pam_do_sess(
pam_handle_t *pamh,pld_ctx *ctx,int action,int *errnop)
{
const char *svc = NULL, *tty = NULL, *rhost = NULL, *ruser = NULL;
-
+
pam_get_item (pamh, PAM_SERVICE, (CONST_ARG void **) &svc);
pam_get_item (pamh, PAM_TTY, (CONST_ARG void **) &tty);
pam_get_item (pamh, PAM_RHOST, (CONST_ARG void **) &rhost);