This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog ldap.cc ldap.h
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: Wed, 18 Feb 2015 10:25:14 +0000
- Subject: src/winsup/cygwin ChangeLog ldap.cc ldap.h
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2015-02-18 10:25:14
Modified files:
winsup/cygwin : ChangeLog ldap.cc ldap.h
Log message:
* ldap.cc (struct cyg_ldap_search): Add scope member.
(cyg_ldap::search_s): Add parameter scope. Use as LDAP search scope
instead of fixed LDAP_SCOPE_SUBTREE scope.
(ldap_search_thr): Call cyg_ldap::search_s with scope from argument.
(cyg_ldap::search): Add parameter scope and fill in to cyg_ldap_search.
(cyg_ldap::fetch_ad_account): Call search with LDAP_SCOPE_SUBTREE scope.
(cyg_ldap::fetch_posix_offset_for_domain): Call search with
LDAP_SCOPE_ONELEVEL scope.
(cyg_ldap::fetch_unix_sid_from_ad): Call search with LDAP_SCOPE_SUBTREE
scope.
(cyg_ldap::fetch_unix_name_from_rfc2307): Ditto.
* ldap.h (cyg_ldap::search): Align prototype to above change.
(cyg_ldap::search_s): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6635&r2=1.6636
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ldap.cc.diff?cvsroot=src&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ldap.h.diff?cvsroot=src&r1=1.9&r2=1.10