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,11 +19,11 @@
* CDDL HEADER END
*/
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2019 Nexenta Systems, Inc. All rights reserved.
*/
/*
* LSA lookups
*/
@@ -81,11 +81,11 @@
*ret_name = NULL;
*ret_domain = NULL;
(void) snprintf(sid, sizeof (sid), "%s-%u", sidprefix, rid);
- rc = smb_lookup_sid(sid, &acct);
+ 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,11 +165,11 @@
if (namedom == NULL) {
ret = IDMAP_ERR_MEMORY;
goto out;
}
- rc = smb_lookup_name(namedom, SidTypeUnknown, &acct);
+ 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,