ports/73448: [PATCH] nss_ldap - getpwnam does not return password hash when run as root

Pawel Wieleba P.Wieleba at iem.pw.edu.pl
Sun Apr 16 20:45:23 UTC 2006


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.



More information about the freebsd-ports-bugs mailing list