Print this page
NEX-19665 Several door servers don't properly handle exiting threads
Review by: Gordon Ross <gordon.ross@nexenta.com>
Review by: Evan Layton <evan.layton@nexenta.com>
NEX-2225 Unable to join NexentaStor to 2008 AD
NEX-1638 Updated DC Locator
 Includes work by: matt.barden@nexenta.com, kevin.crowe@nexenta.com
re #13190 rb4312 idmapd error -9961 (No AD servers)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/idmap/idmapd/init.c
          +++ new/usr/src/cmd/idmap/idmapd/init.c
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23      - * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       23 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  24   24   */
  25   25  
  26   26  /*
  27   27   * Initialization routines
  28   28   */
  29   29  
  30   30  #include "idmapd.h"
  31   31  #include <signal.h>
  32   32  #include <thread.h>
  33   33  #include <string.h>
↓ open down ↓ 316 lines elided ↑ open up ↑
 350  350  
 351  351          if (_idmapdstate.cfg == NULL) {
 352  352                  idmapdlog(LOG_INFO, "Null configuration");
 353  353                  UNLOCK_CONFIG();
 354  354                  return;
 355  355          }
 356  356  
 357  357          pgcfg = &_idmapdstate.cfg->pgcfg;
 358  358  
 359  359          idmapdlog(LOG_DEBUG, "list_size_limit=%llu", pgcfg->list_size_limit);
      360 +        idmapdlog(LOG_DEBUG, "max_threads=%llu", pgcfg->max_threads);
 360  361          idmapdlog(LOG_DEBUG, "default_domain=%s",
 361  362              CHECK_NULL(pgcfg->default_domain));
 362  363          idmapdlog(LOG_DEBUG, "domain_name=%s", CHECK_NULL(pgcfg->domain_name));
 363  364          idmapdlog(LOG_DEBUG, "machine_sid=%s", CHECK_NULL(pgcfg->machine_sid));
 364  365          if (pgcfg->domain_controller == NULL ||
 365  366              pgcfg->domain_controller[0].host[0] == '\0') {
 366  367                  idmapdlog(LOG_DEBUG, "No domain controllers known");
 367  368          } else {
 368  369                  for (i = 0; pgcfg->domain_controller[i].host[0] != '\0'; i++)
 369  370                          idmapdlog(LOG_DEBUG, "domain_controller=%s port=%d",
↓ open down ↓ 83 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX