This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog ldap.cc uinfo.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: Thu, 13 Feb 2014 14:04:03 +0000
- Subject: src/winsup/cygwin ChangeLog ldap.cc uinfo.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2014-02-13 14:04:03
Modified files:
winsup/cygwin : ChangeLog ldap.cc uinfo.cc
Log message:
* ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): If domain name
has no dot, it's a Netbios name. Change the search filter expression
accordingly and filter by flatName. Add comment.
* uinfo.cc (cygheap_domain_info::init): Gracefully handle NULL
DnsDomainName and DomainSid members in DS_DOMAIN_TRUSTSW strutures.
Add comment. Fix comment preceeding fetching the mapping server
from registry.
(pwdgrp::fetch_account_from_file): Convert str to a local array.
(fetch_posix_offset): New static function.
(pwdgrp::fetch_account_from_windows): Add debug output in case
LookupAccountSidW fails. Simplify code by calling fetch_posix_offset
where appropriate. If LookupAccountSidW fails, check if the SID is
one of the known trusted domains. If so, create a more informative
account entry.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6330&r2=1.6331
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ldap.cc.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=src&r1=1.198&r2=1.199