Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84851 - yppasswd cant interact with NetBSD NIS Master Server in Secure Mode, password changes are dismissed.
Summary: yppasswd cant interact with NetBSD NIS Master Server in Secure Mode, password...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 05:31 UTC by Torsten Krah
Modified: 2005-05-03 13:47 UTC (History)
0 users

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


Attachments
Patch for yppasswd.c (yppasswd.c.diff,1.66 KB, patch)
2005-03-11 05:35 UTC, Torsten Krah
Details | Diff
Man Page Description to "-b" feature. (yppasswd.1.in.diff,517 bytes, patch)
2005-03-11 05:36 UTC, Torsten Krah
Details | Diff
New Ebuild to apply the attached patches. (yp-tools-2.8-r1.ebuild,1.17 KB, text/plain)
2005-03-11 05:39 UTC, Torsten Krah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Krah 2005-03-11 05:31:13 UTC
Type yppasswd to change your password, you will be prompted for type in your old one:
#:> yppasswd 
Changing NIS account information for $USER on $NIS-Server
Please enter old password:
Sorry.

Reproducible: Always
Steps to Reproduce:
1.type in "yppasswd"
2.type in your correct old password
3.it will be discarded

Actual Results:  
yppasswd told me "Sorry." - nothing more happend, password will be left unchanged.

Expected Results:  
Instead it should look like this:
#:>yppasswd
Changing NIS account information for $USER on $NIS-Server.
Please enter old password:
Changing NIS password for $USER on $NIS-Server.
Please enter new password:
Please retype new password:

The NIS password has been changed on $NIS-Server.

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 17:01:24)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks keepwork noinfo sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/gentoo-de /usr/local/portage/default"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd emboss
encode esd fam flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm
gtk gtk2 guile imagemagick imlib ipv6 jack java jikes jpeg junit kde ldap libg++
libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls odbc oggvorbis opengl oss
pam pdflib perl png postgres python qt quicktime readline samba scanner sdl
slang spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts xml xml2 xmms xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Torsten Krah 2005-03-11 05:35:24 UTC
Created attachment 53177 [details, diff]
Patch for yppasswd.c

Apply this patch to current yp-tools version 2.8 and start yppasswd with "-b"
switch if you are running a NetBSD NIS Server.
Comment 2 Torsten Krah 2005-03-11 05:36:02 UTC
Created attachment 53178 [details, diff]
Man Page Description to "-b" feature.
Comment 3 Torsten Krah 2005-03-11 05:39:01 UTC
Created attachment 53179 [details]
New Ebuild to apply the attached patches.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-05-03 13:47:31 UTC
in portage.  thanks.