* ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Drop stray

system_printf.
This commit is contained in:
Corinna Vinschen 2015-02-17 21:17:49 +00:00
parent c6d22dd3b0
commit b50e45ff15
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-02-17 Corinna Vinschen <corinna@vinschen.de>
* ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Drop stray
system_printf.
2015-02-17 Corinna Vinschen <corinna@vinschen.de>
* ldap.h (class cyg_ldap): Rename rootdse to def_context. Change

View File

@ -550,7 +550,6 @@ cyg_ldap::fetch_posix_offset_for_domain (PCWSTR domain)
}
/* If domain name has no dot, it's a Netbios name. In that case, filter
by flatName rather than by name. */
system_printf ("base <%W>", base);
wcpcpy (wcpcpy (base, SYSTEM_CONTAINER), def_context);
__small_swprintf (filter, L"(&(objectClass=trustedDomain)(%W=%W))",
wcschr (domain, L'.') ? L"name" : L"flatName", domain);