#include <afsconfig.h>
#include <afs/param.h>
-
#include <security/pam_appl.h>
#include <security/pam_modules.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
-#include <syslog.h>
-#include <stdlib.h>
-#include <string.h>
-#include <pwd.h>
-#include <unistd.h>
-#include <sys/param.h>
+#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
+#endif
+
#include <afs/kautils.h>
-#include <signal.h>
-#include <errno.h>
#include <security/pam_appl.h>
#include <security/pam_modules.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include <syslog.h>
-#include <stdlib.h>
-#include <string.h>
-#include <pwd.h>
-#include <unistd.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <security/pam_appl.h>
#include <security/pam_modules.h>
-
-#include <sys/param.h>
#include <afs/kautils.h>
-#include <stdarg.h>
+
#include "afs_message.h"
#include "afs_util.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
#include <security/pam_appl.h>
+
#include "afs_pam_msg.h"
#include "afs_message.h"
-#include <stdarg.h>
int
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include <syslog.h>
-#include <stdlib.h>
-#include <string.h>
-#include <pwd.h>
-#include <unistd.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
#include <security/pam_appl.h>
#include <security/pam_modules.h>
-
-#include <sys/param.h>
#include <afs/kautils.h>
#include "afs_message.h"
#include "afs_util.h"
#include "afs_pam_msg.h"
-#include <signal.h>
-#include <sys/wait.h>
-#include <errno.h>
#define RET(x) { retcode = (x); goto out; }
#include <afsconfig.h>
#include <afs/param.h>
-
-#include <syslog.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <errno.h>
+#include <roken.h>
#include <security/pam_appl.h>
#include <security/pam_modules.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include <syslog.h>
-#include <stdlib.h>
-#include <string.h>
-#include <pwd.h>
-#include <unistd.h>
-#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <security/pam_appl.h>
#include <security/pam_modules.h>
-
-#include <sys/param.h>
#include <afs/kautils.h>
+
#include "afs_message.h"
#include "afs_util.h"
* directory or online at http://www.openafs.org/dl/license10.html
*/
-#include <stdio.h>
-#include <assert.h>
-#include <unistd.h>
-#include <errno.h>
-#include <syslog.h>
-#include <security/pam_appl.h>
#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
+#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
+#endif
+
+#include <assert.h>
#include <limits.h>
-#include <string.h>
-#include <stdlib.h>
+
#ifdef AFS_AIX51_ENV
#include <sys/cred.h>
#ifdef HAVE_SYS_PAG_H
#endif
#endif
+#include <security/pam_appl.h>
#include "afs_util.h"
return;
}
-/* The PAM module needs to be free from libucb dependency. Otherwise,
-dynamic linking is a problem, the AFS PAM library refuses to coexist
-with the DCE library. The sigvec() and sigsetmask() are the only two
-calls that neccesiate the inclusion of libucb.a. There are used by
-the lwp library to support premeptive threads and signalling between
-threads. Since the lwp support used by the PAM module uses none of
-these facilities, we can safely define these to be null functions */
-
-#if !defined(AFS_HPUX110_ENV)
-/* For HP 11.0, this function is in util/hputil.c */
-int
-sigvec(int sig, const struct sigvec *vec, struct sigvec *ovec)
-{
- assert(0);
-}
-
-int
-sigsetmask(int mask)
-{
- assert(0);
-}
-#endif /* AFS_HPUX110_ENV */
-
/* converts string to integer */
char *
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
-#include <stdio.h>
#include <security/pam_appl.h>
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
-
static int my_conv(int num_msg, PAM_CONST struct pam_message **msg,
struct pam_response **response, void *appdata_ptr);