FreeBSD getpwuid_r issue
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
FreeBSD getpwuid_r issue
- From: Aragon Gouveia <aragon [at] phat.za.net>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: FreeBSD getpwuid_r issue
- Date: Tue, 04 Mar 2014 16:28:16 +0200
Hi,
I've recently tried to implement nss-pam-ldapd 0.8.13 on FreeBSD 9.2.
Most things work, but bash's default PS1 prompt shows this:
[I have no name!@cstor1 ~]$
For some reason it can't lookup the username, but everything else can:
[I have no name!@cstor1 ~]$ id
uid=5000(aragon) gid=513(domusers)
groups=513(domusers),119(admin),4000(sudo),10010(sysadmins)
[I have no name!@cstor1 ~]$ id 5000
uid=5000(aragon) gid=513(domusers)
groups=513(domusers),4000(sudo),119(admin),10010(sysadmins)
[I have no name!@cstor1 ~]$ w
4:24PM up 4 days, 19:30, 2 users, load averages: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE WHAT
aragon pts/0 2:01PM 1 -su (csh)
aragon pts/1 4:03PM - w
I do see some errors in debug.log:
Mar 4 16:26:13 <user.debug> cstor1 bash: NSSWITCH(_nsdispatch): ldap,
passwd, getpwuid_r, not found, and no fallback provided
Mar 4 16:26:13 <user.debug> cstor1 bash: NSSWITCH(_nsdispatch): ldap,
passwd, endpwent, not found, and no fallback provided
Which seems strange considering these calls look ok in nss/bsdnss.c?
Any help appreciated. :)
Thanks,
Aragon
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/
- FreeBSD getpwuid_r issue,
Aragon Gouveia