summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/modules
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-06-01 12:54:03 +0000
committerdes <des@FreeBSD.org>2003-06-01 12:54:03 +0000
commit3409f2d5db068fa23d2344776412b86150352336 (patch)
tree6198c196f6c160a3b6c1800a13a74dbaf48a8cb8 /contrib/openpam/modules
parent1b2b5956a02e1d56168e372dc96807d70b3ca363 (diff)
downloadFreeBSD-src-3409f2d5db068fa23d2344776412b86150352336.zip
FreeBSD-src-3409f2d5db068fa23d2344776412b86150352336.tar.gz
Vendor import of OpenPAM Digitalis.
Diffstat (limited to 'contrib/openpam/modules')
-rw-r--r--contrib/openpam/modules/Makefile4
-rw-r--r--contrib/openpam/modules/pam_deny/Makefile4
-rw-r--r--contrib/openpam/modules/pam_deny/pam_deny.c4
-rw-r--r--contrib/openpam/modules/pam_permit/Makefile4
-rw-r--r--contrib/openpam/modules/pam_permit/pam_permit.c4
-rw-r--r--contrib/openpam/modules/pam_unix/Makefile4
-rw-r--r--contrib/openpam/modules/pam_unix/pam_unix.c8
7 files changed, 18 insertions, 14 deletions
diff --git a/contrib/openpam/modules/Makefile b/contrib/openpam/modules/Makefile
index 9b17f2f..0818653 100644
--- a/contrib/openpam/modules/Makefile
+++ b/contrib/openpam/modules/Makefile
@@ -1,5 +1,5 @@
#-
-# Copyright (c) 2002 Networks Associates Technology, Inc.
+# Copyright (c) 2002-2003 Networks Associates Technology, Inc.
# All rights reserved.
#
# This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -31,7 +31,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $P4: //depot/projects/openpam/modules/Makefile#8 $
+# $P4: //depot/projects/openpam/modules/Makefile#9 $
#
SUBDIR =
diff --git a/contrib/openpam/modules/pam_deny/Makefile b/contrib/openpam/modules/pam_deny/Makefile
index 502fc8b..98a7ce3 100644
--- a/contrib/openpam/modules/pam_deny/Makefile
+++ b/contrib/openpam/modules/pam_deny/Makefile
@@ -1,5 +1,5 @@
#-
-# Copyright (c) 2002 Networks Associates Technology, Inc.
+# Copyright (c) 2002-2003 Networks Associates Technology, Inc.
# All rights reserved.
#
# This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -31,7 +31,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $P4: //depot/projects/openpam/modules/pam_deny/Makefile#5 $
+# $P4: //depot/projects/openpam/modules/pam_deny/Makefile#6 $
#
LIB = pam_deny
diff --git a/contrib/openpam/modules/pam_deny/pam_deny.c b/contrib/openpam/modules/pam_deny/pam_deny.c
index 1f83ca5..0c79618 100644
--- a/contrib/openpam/modules/pam_deny/pam_deny.c
+++ b/contrib/openpam/modules/pam_deny/pam_deny.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2002 Networks Associates Technology, Inc.
+ * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
* All rights reserved.
*
* This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/modules/pam_deny/pam_deny.c#7 $
+ * $P4: //depot/projects/openpam/modules/pam_deny/pam_deny.c#8 $
*/
#include <sys/param.h>
diff --git a/contrib/openpam/modules/pam_permit/Makefile b/contrib/openpam/modules/pam_permit/Makefile
index 08038c4..b443a6c 100644
--- a/contrib/openpam/modules/pam_permit/Makefile
+++ b/contrib/openpam/modules/pam_permit/Makefile
@@ -1,5 +1,5 @@
#-
-# Copyright (c) 2002 Networks Associates Technology, Inc.
+# Copyright (c) 2002-2003 Networks Associates Technology, Inc.
# All rights reserved.
#
# This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -31,7 +31,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $P4: //depot/projects/openpam/modules/pam_permit/Makefile#5 $
+# $P4: //depot/projects/openpam/modules/pam_permit/Makefile#6 $
#
LIB = pam_permit
diff --git a/contrib/openpam/modules/pam_permit/pam_permit.c b/contrib/openpam/modules/pam_permit/pam_permit.c
index 2a974e7..33c7093 100644
--- a/contrib/openpam/modules/pam_permit/pam_permit.c
+++ b/contrib/openpam/modules/pam_permit/pam_permit.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2002 Networks Associates Technology, Inc.
+ * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
* All rights reserved.
*
* This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/modules/pam_permit/pam_permit.c#7 $
+ * $P4: //depot/projects/openpam/modules/pam_permit/pam_permit.c#8 $
*/
#include <sys/param.h>
diff --git a/contrib/openpam/modules/pam_unix/Makefile b/contrib/openpam/modules/pam_unix/Makefile
index 0352b32..2e4be46 100644
--- a/contrib/openpam/modules/pam_unix/Makefile
+++ b/contrib/openpam/modules/pam_unix/Makefile
@@ -1,5 +1,5 @@
#-
-# Copyright (c) 2002 Networks Associates Technology, Inc.
+# Copyright (c) 2002-2003 Networks Associates Technology, Inc.
# All rights reserved.
#
# This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -31,7 +31,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $P4: //depot/projects/openpam/modules/pam_unix/Makefile#2 $
+# $P4: //depot/projects/openpam/modules/pam_unix/Makefile#3 $
#
LIB = pam_unix
diff --git a/contrib/openpam/modules/pam_unix/pam_unix.c b/contrib/openpam/modules/pam_unix/pam_unix.c
index ddcd81b..2283915 100644
--- a/contrib/openpam/modules/pam_unix/pam_unix.c
+++ b/contrib/openpam/modules/pam_unix/pam_unix.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2002 Networks Associates Technology, Inc.
+ * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
* All rights reserved.
*
* This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#3 $
+ * $P4: //depot/projects/openpam/modules/pam_unix/pam_unix.c#5 $
*/
#include <sys/param.h>
@@ -42,6 +42,10 @@
#include <string.h>
#include <unistd.h>
+#ifdef __GLIBC__
+#include <crypt.h>
+#endif
+
#include <security/pam_modules.h>
#include <security/pam_appl.h>
OpenPOWER on IntegriCloud