ypldap exists precisely because we didn't want ldap in libc. Adding ldap support is a non goal.
On Nov 27, 2010, at 7:51 AM, Kapetanakis Giannis <bil...@edu.physics.uoc.gr> wrote: > On 26/11/10 19:11, Joachim Schipper wrote: >> I don't think I understand what you mean - what do you want to improve >> relative to login_ldap and ypldap? >> >> Joachim > > login_ldap is fine. The problem seems to be getting user info. > > Instead of ypldap I would prefer the system to direct contact the ldap servers to get user info similar the way nss does, and not using NIS as an extra layer for ldap. > > Looking around getpwent(3) I think it might be possible to extent it's functionality to include ldap support as well. Furthermore ypldap's functions (aldap ...) could be used for this (just the bind/search part). > > Does this make any sense or am I missing something vital here? > > Giannis