Package: libnss-ldapd
Severity: normal
RFC2307 (nis.schema) doesn't require a passwordAccount object to set
any loginShell. For such an account, PADL falls back to /bin/sh, but
this implementation falls back to "\n", which obviously is not useful.
I would like it to default to /bin/sh. If you're feeling especially
paranoid, I would at least like it to default to (say) /bin/false, so
that I don't have spurious blank lines in my getent output.
root@blood:~# getent passwd twb conz
twb:x:1008:1008:Trent W. Buck:/home/twb:
conz:x:1001:1001:Con Zymaris:/home/conz:
root@blood:~# ldapsearch -LLL -x uid=twb
dn: uid=twb,ou=people,dc=cybersource,dc=com,dc=au
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
cn: Trent W. Buck
sn: Buck
givenName: Trent
uid: twb
uidNumber: 1008
gidNumber: 1008
homeDirectory: /home/twb
userPassword:: e1NTSEF9U24yRVQwd1Mvb0Jzd3U3V0xETTVPQkNBN3FsUFdwWmg=
root@blood:~# ldapsearch -LLL -x uid=conz
dn: uid=conz,ou=people,dc=cybersource,dc=com,dc=au
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
cn: Con Zymaris
sn: Zymaris
givenName: Con
uid: conz
uidNumber: 1001
gidNumber: 1001
homeDirectory: /home/conz
userPassword:: e1NTSEF9V0tybHp4UjhyM0YyaHZQSXFNQkxaL0dGQ0Foby9wNzU=
PS: yes, I know my password hashes are visible to anonymous users.
This is a scratch network and my olcAccess rules are temporarily too
permissive.
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]