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
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.
Created attachment 53178 [details, diff] Man Page Description to "-b" feature.
Created attachment 53179 [details] New Ebuild to apply the attached patches.
in portage. thanks.