source: trunk/server/source3/pam_smbpass/pam_smb_auth.c@ 421

Last change on this file since 421 was 414, checked in by Herwig Bauernfeind, 16 years ago

Samba 3.5.0: Initial import

File size: 6.6 KB
Line 
1/* Unix NT password database implementation, version 0.7.5.
2 *
3 * This program is free software; you can redistribute it and/or modify it under
4 * the terms of the GNU General Public License as published by the Free
5 * Software Foundation; either version 3 of the License, or (at your option)
6 * any later version.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, see <http://www.gnu.org/licenses/>.
15*/
16
17/* indicate the following groups are defined */
18#define PAM_SM_AUTH
19
20#include "includes.h"
21#include "debug.h"
22
23#ifndef LINUX
24
25/* This is only used in the Sun implementation. */
26#if defined(HAVE_SECURITY_PAM_APPL_H)
27#include <security/pam_appl.h>
28#elif defined(HAVE_PAM_PAM_APPL_H)
29#include <pam/pam_appl.h>
30#endif
31
32#endif /* LINUX */
33
34#if defined(HAVE_SECURITY_PAM_MODULES_H)
35#include <security/pam_modules.h>
36#elif defined(HAVE_PAM_PAM_MODULES_H)
37#include <pam/pam_modules.h>
38#endif
39