File: README

package info (click to toggle)
libauthen-pam-perl 0.09-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 160 kB
  • ctags: 8
  • sloc: perl: 78; makefile: 45
file content (121 lines) | stat: -rw-r--r-- 3,885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

				Authen::PAM 

				Version 0.09

				2000-Feb-03


	Copyright (c) 1998,1999 Nikolay Pelov. All rights reserved.
	This program is free software; you can redistribute it and/or
	modify it under the same terms as Perl itself.


DESCRIPTION
===========

This module provides a Perl interface to the PAM library.


PREREQUISITES
=============

Before you can build Authen::PAM you need to have the following
things installed on your system:

  * Perl, at least version 5.003_23
  * This module is known to work with the following or newer 
    implementations of the PAM library:
    - Linux-PAM
    - Solaris 2.6
    - FreeBSD 3.1

  The Linux-PAM home page is http://www.kernel.org/pub/linux/libs/pam/


BUILDING AND INSTALLING THE MODULE
==================================

Assuming you have met all the prerequisites, you can built the module 
using the following sequence of commands:

    perl Makefile.PL
    make
    make test
    make install

If you have any problems in building and installing the module then you
should first check on the home page of the Authen::PAM module at address
http://www.cs.kuleuven.ac.be/~pelov/pam/ for the latest development version
(if any) which could possibly fix your problems. If none is avaliable or the
problems remain then you can write me a mail which includes the following
information:
  * the version of your unix - `uname -a'
  * the version of the perl - `perl -V'
  * if you are on linux:
    - the name and version of the distribution you are using
    - the version of the pam - `ls /lib/libpam*' or `ls /usr/lib/libpam*'
  * the description of the "login" service from your pam configuration -
    usually found in `/etc/pam.conf' file or in the file `/etc/pam.d/login'
  * the output of the `perl Makefile.PL', `make' and `make test'
  * any relevant messages produced by the syslogd daemon -
    usually found in `/var/log/messages'


KNOWN PROBLEMS
==============

  Buggy glibc2
  ------------

  Some of the first versions of the glibc2 libraries have a bug in the
  dlopen function which will prevent this module from working. If you are
  using an original RedHat 5.0 distribution then you probably have this
  problem.
  I know that the bug is fixed in at least version 2.0.7-6 of the glibc2
  library.

  Bug in the Solaris 2.6 PAM library
  ----------------------------------

  There is a known bug in the Solaris 2.6 PAM library for which I have
  implemented a workaround. This bug is fixed in Solaris 2.7.
  The name and the version of your OS is determined by looking at the
  variables 'osname' and 'osvers' from the perl 'Config' module and if they 
  match 'solaris' and '2.6' then the workaround is activated. 
  To see the values of these variables you can use `perl -V:osname -V:osvers'.

  If you are building this module on a different version of Solaris (e.g 2.7)
  and you are planning to use it on Solaris 2.6 or if you are working on
  Solaris 2.6 and your perl is build on a different version of Solaris
  (and hence the value of 'osvers' is not '2.6') then you must activate the 
  workaround manually by running

     perl Makefile.PL -DSTATIC_CONV_FUNC


  Perl version 5.004_03
  ---------------------

  If you are using perl, version 5.004_03 then you will probably see the
  following error during the compilation of PAM.xs file to PAM.c:

     PAM.c:NNN: invalid format `#line' directive.

  This is caused by a bug in the perl xsubpp compiler.
  The simpliest way to solve this problem is to open the file PAM.c,
  delete the line with the error and run make again.

  The other solution is to patch your xsubpp compiler. Go to your perl
  directory (usually /usr/lib/perl5 or /usr/local/lib/perl5) and apply the
  patch xsubpp-1.9504.patch.


AUTHOR
======

  Nikolay Pelov <nikip@iname.com>

  The original distribution site of this module is 
  http://www.cs.kuleuven.ac.be/~pelov/pam/