[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: libpwdb/SuSE 6.2



On Wed, Oct 06, Keith Warno wrote:

> Testing.. 1... 2.... (new to list)
> 
> Hi all.  Where can one find libpwdb?  SuSE 6.2 lacks such cool things.

This is not true. SuSE Linux 6.2 contains libpwdb and pam_pwdb. Install
the pwdb package from serie a.
But since pam_pwdb ignores /etc/nsswitch.conf, has bad NIS support
and no NIS+ support, we don't use it as default.

  Thorsten

> 
> SuSE 6.2 comes packed with PAM 0.68, but missing some mods (ie pam_wheel,
> and pam_pwdb).  I've tried compiling both PAM 0.68 and 0.69 (even tho I
> don't have libpwdb) but the compile yacks/choaks/hurls on the first mod
> (pam_access), both versions.  Doesn't like _pam_macros.h.
> 
> Any clues?  Below is a cut-paste of the yack.  I used defs/linux.defs
> 
> morgan@linux.kernel.org has been CCed this message.
> 
> 
> (see below) it doesn't like line 12 of _pam_macros.h, but I don't see
> anything wrong w/ line 12 :>
> 
> 
> root@develop[pts/5]:/home/archive/Linux-PAM-0.68# make all
> make[1]: Entering directory `/home/archive/Linux-PAM-0.68/modules'
> modules for linux are:
> pam_access     pam_ftp        pam_mail       pam_rhosts     pam_tally
> pam_cracklib   pam_group      pam_nologin    pam_rootok     pam_time
> pam_deny       pam_lastlog    pam_permit     pam_securetty  pam_unix
> pam_env        pam_limits     pam_pwdb       pam_shells     pam_warn
> pam_filter     pam_listfile   pam_radius     pam_stress     pam_wheel
> :--------
> 
> make[2]: Entering directory
> `/home/archive/Linux-PAM-0.68/modules/pam_access'
> mkdir -p ./dynamic
> gcc -O7 -pipe -g -DLINUX_PAM  -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -W
> pointer-arith
> -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototy
> pes -Wnested-e
> xterns -Winline -Wshadow -pedantic -I/home/archive/Linux-PAM-0.68/include -f
> PIC -Dlinux -D
> i386             -DCONFILE=\"/etc/security/access.conf\" -DPAM_DYNAMIC   -c
> pam_access.c -
> o dynamic/pam_access.o
> In file included from pam_access.c:46:
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: parse error
> before `__exte
> nsion__'
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: `__len'
> undeclared here (n
> ot in a function)
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: initializer
> element is not
>  constant
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: parse error
> before `if'
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: warning:
> type defaults to
> `int' in declaration of `__retval'
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: conflicting
> types for `__r
> etval'
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: previous
> declaration of `_
> _retval'
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: ANSI C
> forbids data defini
> tion with no type or storage class
> /home/archive/Linux-PAM-0.68/include/security/_pam_macros.h:12: parse error
> before `}'
> make[2]: *** [dynamic/pam_access.o] Error 1
> make[2]: Leaving directory `/home/archive/Linux-PAM-0.68/modules/pam_access'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/home/archive/Linux-PAM-0.68/modules'
> root@develop[pts/5]:/home/archive/Linux-PAM-0.68# gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> root@develop[pts/5]:/home/archive/Linux-PAM-0.68#
> 
> 
> /*
> ** Keith Warno
> ** Make Us An Offer, Inc.
> ** http://www.makeusanoffer.com/
> */
> 
> -- 
> To unsubscribe: mail -s unsubscribe pam-list-request@redhat.com < /dev/null
> 

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/       kukuk@suse.de
SuSE GmbH            Schanzaeckerstr. 10            90443 Nuernberg
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []