In the last episode (Sep 16), Doug Sampson said:
I posted this to the Samba list yesterday and since this is related
to FreeBSD I thought I'd post to this list. Can anyone shed some
light on the 'getent' command in FreeBSD 5.4? It isn't working and
I'd like to know if it's because it's based
That email is referring to the getent command inside the linux /compat
tree. If you need that command to work, you will need to install and
set up the appropriate *linux* libraries and files into
/compat/linux/ .
If this is your only problem, I'd recommend just not running linuxes
getent
In the last episode (Sep 16), Doug Sampson said:
That email is referring to the getent command inside the linux
/compat tree. If you need that command to work, you will need to
install and set up the appropriate *linux* libraries and files into
/compat/linux/ . If this is your only
FreeBSD doesn't come with a getent program. I was able to compile
OpenSolaris' getent on FreeBSD with minimal problems, though. You'll
have to remove support for ipnodes, project, and netmasks since those
are Solaris-specific, remove the gettext code, and you'll need to
provide a putpwent
In the last episode (Sep 16), Doug Sampson said:
FreeBSD doesn't come with a getent program. I was able to compile
OpenSolaris' getent on FreeBSD with minimal problems, though. You'll
have to remove support for ipnodes, project, and netmasks since those
are Solaris-specific, remove the
Yes, that getent command should suffice for printing users and groups,
including any NSS-provided ones. You can also use the 'id'
or 'pw user
show' commands to print similar info.
aries-root@/usr/local/etc: pw group show DSP-PRODUCTION
pw: unknown group `DSP-PRODUCTION'
In the last episode (Sep 16), Doug Sampson said:
PAM only handles authentication during login; looking up user/group
names is handled by NSS. If your nsswitch.conf has passwd: compat
winbind in it, you have a /usr/local/lib/nss_winbind.so.1 file, and
getent can't find users that windbind