LDAP receive only needed attributes on search

Gerald Carter jerry at samba.org
Fri Feb 8 06:11:06 GMT 2002


On Fri, 8 Feb 2002, Stefan (metze) Metzmacher wrote:

> I looked at the ldap_search_s function in pdb_ldap.c:
> I think it would be better to receive only the used attributes
> because if the user is not only a sambaAccount and posixAccount.
> There are maybe attributes like jpegPhoto, userCertificate, ...
> and that would be much useless traffic on the network.

Stefan,

Please resend this to me as a unified diff (and send the diff as an 
attachment).  Thanks.












jerry





More information about the samba-technical mailing list