s3-winbindd: Move common code for LDAP id mapping to idmap_utils
commit86d09ce779fdc9d6ebbbe44b25656808ab37ee14
authorChristof Schmitt <christof.schmitt@us.ibm.com>
Thu, 21 Feb 2013 19:30:48 +0000 (21 12:30 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 9 Mar 2013 05:30:22 +0000 (9 06:30 +0100)
tree5a967ad323207002cbe61d88395b53e8c4b03306
parent666a5630ef3b03640089a0b6e81bf578b91b88ab
s3-winbindd: Move common code for LDAP id mapping to idmap_utils

idmap_ad and idmap_ldap use the same helper functions and the same
maximum query size. Move the code to idmap_utils so that it can be
shared by every module issuing LDAP queries.

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/idmap_ad.c
source3/winbindd/idmap_ldap.c
source3/winbindd/idmap_proto.h
source3/winbindd/idmap_util.c