sd: remove 'ssd' driver support
[unleashed/tickless.git] / usr / src / lib / pam_modules / ldap / ldap_headers.h
bloba73590a1c94c3b0b4c67fb1bb5ad7e39ebd945ac
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _LDAP_HEADERS_H
28 #define _LDAP_HEADERS_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
36 #include <sys/types.h>
37 #include <sys/wait.h>
38 #include <sys/stat.h>
39 #include <sys/fcntl.h>
40 #include <stdlib.h>
41 #include <security/pam_appl.h>
42 #include <security/pam_modules.h>
43 #include <security/pam_impl.h>
44 #include <syslog.h>
45 #include <lastlog.h>
46 #include <ctype.h>
47 #include <unistd.h>
48 #include <stdlib.h>
49 #include <stdio.h>
50 #include <libintl.h>
51 #include <signal.h>
52 #include <thread.h>
53 #include <synch.h>
54 #include <errno.h>
55 #include <time.h>
56 #include <string.h>
57 #include <assert.h>
58 #include <libintl.h>
59 #include "ns_sldap.h"
61 #define bool_t int
63 /* Constants */
64 #define LDAP_AUTHTOK_DATA "SUNW-LDAP-AUTHTOK-DATA"
65 #define NULLSTRING ""
67 typedef struct _ldap_authtok_data_ {
68 int age_status;
69 } ldap_authtok_data;
71 /* LDAP specific functions */
72 int __ldap_to_pamerror(int ldaperror);
74 /* from ldap_utils.c */
75 extern int authenticate(ns_cred_t **, char *, char *, int *);
77 #ifdef __cplusplus
79 #endif
81 #endif /* _LDAP_HEADERS_H */