Print this page
NEX-19057 All zfs/nfs/smb threads in door calls to idle idmap
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-1638 Updated DC Locator
Includes work by: matt.barden@nexenta.com, kevin.crowe@nexenta.com
*** 19,29 ****
* CDDL HEADER END
*/
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
/*
* LSA lookups
*/
--- 19,29 ----
* CDDL HEADER END
*/
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2019 Nexenta Systems, Inc. All rights reserved.
*/
/*
* LSA lookups
*/
*** 81,91 ****
*ret_name = NULL;
*ret_domain = NULL;
(void) snprintf(sid, sizeof (sid), "%s-%u", sidprefix, rid);
! rc = smb_lookup_sid(sid, &acct);
if (rc != 0) {
idmapdlog(LOG_ERR, "Error: smb_lookup_sid failed.");
idmapdlog(LOG_ERR,
"Check SMB service (svc:/network/smb/server).");
idmapdlog(LOG_ERR,
--- 81,91 ----
*ret_name = NULL;
*ret_domain = NULL;
(void) snprintf(sid, sizeof (sid), "%s-%u", sidprefix, rid);
! rc = smb_lookup_lsid(sid, &acct);
if (rc != 0) {
idmapdlog(LOG_ERR, "Error: smb_lookup_sid failed.");
idmapdlog(LOG_ERR,
"Check SMB service (svc:/network/smb/server).");
idmapdlog(LOG_ERR,
*** 165,175 ****
if (namedom == NULL) {
ret = IDMAP_ERR_MEMORY;
goto out;
}
! rc = smb_lookup_name(namedom, SidTypeUnknown, &acct);
if (rc != 0) {
idmapdlog(LOG_ERR, "Error: smb_lookup_name failed.");
idmapdlog(LOG_ERR,
"Check SMB service (svc:/network/smb/server).");
idmapdlog(LOG_ERR,
--- 165,175 ----
if (namedom == NULL) {
ret = IDMAP_ERR_MEMORY;
goto out;
}
! rc = smb_lookup_lname(namedom, SidTypeUnknown, &acct);
if (rc != 0) {
idmapdlog(LOG_ERR, "Error: smb_lookup_name failed.");
idmapdlog(LOG_ERR,
"Check SMB service (svc:/network/smb/server).");
idmapdlog(LOG_ERR,