Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2019-03-04 16:58:45 +0300
committerCorinna Vinschen <corinna@vinschen.de>2019-03-04 19:31:34 +0300
commitad492320839c18936c56d776240c9a5151d5d97b (patch)
tree6b7f25a90eeab6fe89a44d9b612cfea9c097b7db
parent5c4ce731ac08d6615ae759121ab7e9e824024808 (diff)
Revert "Cygwin: load_user_profile: temporarily extend debug output"
This reverts commit 6aef5a46d7f22841e6a859103bb3f8acea060b84.
-rw-r--r--winsup/cygwin/sec_auth.cc15
1 files changed, 5 insertions, 10 deletions
diff --git a/winsup/cygwin/sec_auth.cc b/winsup/cygwin/sec_auth.cc
index 195d20ca9..a76f4534b 100644
--- a/winsup/cygwin/sec_auth.cc
+++ b/winsup/cygwin/sec_auth.cc
@@ -259,7 +259,6 @@ load_user_profile (HANDLE token, struct passwd *pw, cygpsid &usersid)
pi.lpUserName = username;
/* Check if user has a roaming profile and fill in lpProfilePath, if so.
Call NetUserGetInfo only for local machine accounts, use LDAP otherwise. */
- debug_printf ("machine <%W>", cygheap->dom.account_flat_name ());
if (!wcscasecmp (domain, cygheap->dom.account_flat_name ()))
{
NET_API_STATUS nas;
@@ -284,20 +283,16 @@ load_user_profile (HANDLE token, struct passwd *pw, cygpsid &usersid)
cyg_ldap cldap;
PCWSTR dnsdomain = NULL;
- debug_printf ("primary domain <%W>", cygheap->dom.primary_flat_name ());
if (wcscasecmp (domain, cygheap->dom.primary_flat_name ()))
{
PDS_DOMAIN_TRUSTSW td = NULL;
for (ULONG idx = 0; (td = cygheap->dom.trusted_domain (idx)); ++idx)
- {
- debug_printf ("foreign domain <%W>", td->NetbiosDomainName);
- if (!wcscasecmp (domain, td->NetbiosDomainName))
- {
- dnsdomain = td->DnsDomainName;
- break;
- }
- }
+ if (!wcscasecmp (domain, td->NetbiosDomainName))
+ {
+ dnsdomain = td->DnsDomainName;
+ break;
+ }
}
if (cldap.fetch_ad_account (usersid, false, dnsdomain))
{