diff options
Diffstat (limited to 'winsup/cygwin/ldap.h')
-rw-r--r-- | winsup/cygwin/ldap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/ldap.h b/winsup/cygwin/ldap.h index fb4bebf7d..9209d854b 100644 --- a/winsup/cygwin/ldap.h +++ b/winsup/cygwin/ldap.h @@ -37,7 +37,7 @@ class cyg_ldap { inline int map_ldaperr_to_errno (ULONG lerr); inline int wait (cygthread *thr); inline int connect (PCWSTR domain); - inline int search (PWCHAR base, PWCHAR filter, PWCHAR *attrs); + inline int search (PWCHAR base, ULONG scope, PWCHAR filter, PWCHAR *attrs); inline int next_page (); bool fetch_unix_sid_from_ad (uint32_t id, cygsid &sid, bool group); PWCHAR fetch_unix_name_from_rfc2307 (uint32_t id, bool group); @@ -53,7 +53,7 @@ public: ULONG connect_ssl (PCWSTR domain); ULONG connect_non_ssl (PCWSTR domain); - ULONG search_s (PWCHAR base, PWCHAR filter, PWCHAR *attrs); + ULONG search_s (PWCHAR base, ULONG scope, PWCHAR filter, PWCHAR *attrs); ULONG next_page_s (); bool is_open () const { return !!lh; } |