Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200062 - sys-libs/pam-0.99.8.1-r1 and above breaks compatibility with hpux aging password system
Summary: sys-libs/pam-0.99.8.1-r1 and above breaks compatibility with hpux aging passw...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-23 10:01 UTC by redo_fr
Modified: 2007-11-23 10:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description redo_fr 2007-11-23 10:01:12 UTC
After an upgrade (or a fresh installation) from pam-0.78-r5 to pam-0.99.8.1-r1 (and above), i can't login anymore using my NIS account.
Local users can login (console and/or graphic).
I can login with local user then su - <NIS user>
If i suppress the aging password field on my HP-UX NIS server, i can login from my NIS account.

Reproducible: Always

Steps to Reproduce:
1.Use an account on an HP-UX NIS server with aging system enabled.
2.Try to login on Gentoo with this NIS password: Can't login
3.Suppress the aging field on NIS server (rebuild map)
4 Try to login on Gentoo: can login

Actual Results:  
users can't login with NIS accounts

Expected Results:  
Open a session on the workstation with a NIS account

emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1400MHz
Timestamp of tree: Fri, 16 Nov 2007 01:47:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ http://mirror.switch.ch/mirror/gentoo/"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl aim alsa apache2 arts audiofile avi bash-completion bcmath berkdb bindist bitmap-fonts bonobo bzip2 cdr cli cracklib crypt cups dbus dell dri dvd dvdr dvdread encode esd foomaticdb fortran ftp gd gdbm gif gimpprint glitz gpm gtk gtk2 gtkhtml hal iconv ieee1394 imagemagick ipv6 isdnlog ithreads java jpeg ldap mad mbox midi mime mp3 mpeg mudflap ncurses nis nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf perl php png posix ppds pppd python qt quicktime readline reflection samba session spl sse ssl svg tcltk tcpd threads truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wifi win32codecs x86 xcomposite xml xml2 xorg xosd xscreensaver xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

================================================================================

# eix sys-libs/pam
[I] sys-libs/pam
     Available versions:  *0.78-r5 0.99.8.1-r1 (~)0.99.9.0 {audit berkdb cracklib elibc_FreeBSD elibc_glibc nis nls pam_chroot pam_console pam_timestamp pwdb selinux test vim-syntax}
     Installed versions:  0.99.9.0(09:37:40 11/23/07)(-audit cracklib -elibc_FreeBSD elibc_glibc nls -selinux -test -vim-syntax)
     Homepage:            http://www.kernel.org/pub/linux/libs/pam/
     Description:         Linux-PAM (Pluggable Authentication Modules)

============================================================================
HP-UX /etc/passwd format (with password aging)

<login>:<crypted password>,<aging code>:uid:gid:GECOS:<home>:<shell>
============================================================================
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-23 10:07:37 UTC
If pam-0.99.9.0 still doesn't work, you'd be better off reporting this upstream. Nothing Gentoo-specific for sure, and pretty impossible to debug for us w/o access to such systems.

Comment 2 redo_fr 2007-11-23 10:57:40 UTC
OK.

i submit a bug on PAM tracker (for info: http://sourceforge.net/tracker/index.php?func=detail&aid=1836981&group_id=6663&atid=106663 )

Thanks for help,

redo.