LDAP receive only needed attributes on search

Andrew Bartlett abartlet at pcug.org.au
Thu Feb 14 01:56:08 GMT 2002


"Stefan (metze) Metzmacher" wrote:
> 
> Sorry, I mist some attributes!
> 
> I didn't make a 'const char *attr' because I got this compile warning:
> 
> passdb/pdb_ldap.c: In function `ldap_search_one_user':
> passdb/pdb_ldap.c:367: warning: passing arg 5 of `ldap_search_s' from
> incompatible pointer type
> passdb/pdb_ldap.c: In function `ldap_pdb_setsampwent':
> passdb/pdb_ldap.c:814: warning: passing arg 5 of `ldap_search_s' from
> incompatible pointer type

I forgot - the interface is broken :-(

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list