Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Apr 2006 22:45:20 +0200
From:      Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org, bug-followup@FreeBSD.org, vd@FreeBSD.org
Subject:   Re: ports/73448: [PATCH] nss_ldap - getpwnam does not return password hash when run as root
Message-ID:  <20060416204520.GA19196@volt.iem.pw.edu.pl>
In-Reply-To: <44429A50.1030606@FreeBSD.org>
References:  <44429A50.1030606@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?20060416204520.GA19196>