Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2006 20:50:16 GMT
From:      Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/73448: [PATCH] nss_ldap - getpwnam does not return password hash when run as root
Message-ID:  <200604162050.k3GKoGKa090843@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/73448; it has been noted by GNATS.

From: Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
To: Sergey Matveychuk <sem@FreeBSD.org>
Cc: bug-followup@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, vd@FreeBSD.org
Subject: Re: ports/73448: [PATCH] nss_ldap - getpwnam does not return password hash when run as root
Date: Sun, 16 Apr 2006 22:45:20 +0200

 On Sun, Apr 16, 2006 at 11:26:08PM +0400, Sergey Matveychuk wrote:
 > I'm not sure it's correct.
 > How does it work in Linux world?
 
 On Linux there is a function getspnam which returns password hash 
  and on FreeBSD there is no such a function. However on FreeBSD
  a function getpwnam when run as root returns user's password hash.
 
 Pawel Wieleba
 
 ps
 To make it clear I'm keen on PAM, but some software does not work with it.
  The question is do we really need the present passwd structure.
  Maybe we should resign from 'pw_passwd' and 'pw_class' fields
  as they are not compatible with broadly used LDAP posixAccount and shadowAccount objectClasses.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604162050.k3GKoGKa090843>