diff options
author | joyce mcintosh <Joyce.McIntosh@Sun.COM> | 2010-07-26 15:02:13 -0700 |
---|---|---|
committer | joyce mcintosh <Joyce.McIntosh@Sun.COM> | 2010-07-26 15:02:13 -0700 |
commit | 1fdeec650620e8498c06f832ea4bd2292f7e9632 (patch) | |
tree | 93e66a90f7f7260ca1086e7701a6c8dc1e46c5fb /usr/src/lib/libsec/common/aclutils.c | |
parent | 1a024a4828552f36f41749085bad547c64a0f0a6 (diff) | |
download | illumos-joyent-1fdeec650620e8498c06f832ea4bd2292f7e9632.tar.gz |
6779186 need domain controller hot failover
6970986 Level II oplocks - smb_oplock_grant_t shouldn't be dynamically allocated
6971031 Unable add ACL on the share which has only the default owner tab by ZFS
6971899 OpenSSL not MT-safe and takes down smbd
6936762 libidmap should transparently handle interruption in connection to idmapd
6954902 mapping to unknown type does not use directory-based mapping information
--HG--
rename : usr/src/lib/libidmap/common/idmap_priv.h => usr/src/cmd/idmap/idmap/namemaps.h
Diffstat (limited to 'usr/src/lib/libsec/common/aclutils.c')
-rw-r--r-- | usr/src/lib/libsec/common/aclutils.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/src/lib/libsec/common/aclutils.c b/usr/src/lib/libsec/common/aclutils.c index afe36a3aaa..ba7117c7f7 100644 --- a/usr/src/lib/libsec/common/aclutils.c +++ b/usr/src/lib/libsec/common/aclutils.c @@ -740,7 +740,6 @@ acl_error(const char *fmt, ...) int sid_to_id(char *sid, boolean_t user, uid_t *id) { - idmap_handle_t *idmap_hdl = NULL; idmap_get_handle_t *get_hdl = NULL; char *rid_start = NULL; idmap_stat status; @@ -757,8 +756,7 @@ sid_to_id(char *sid, boolean_t user, uid_t *id) errno = 0; rid = strtoul(rid_start--, &end, 10); if (errno == 0 && *end == '\0') { - if (idmap_init(&idmap_hdl) == IDMAP_SUCCESS && - idmap_get_create(idmap_hdl, &get_hdl) == + if (idmap_get_create(&get_hdl) == IDMAP_SUCCESS) { if (user) error = idmap_get_uidbysid(get_hdl, @@ -781,8 +779,6 @@ sid_to_id(char *sid, boolean_t user, uid_t *id) } if (get_hdl) idmap_get_destroy(get_hdl); - if (idmap_hdl) - (void) idmap_fini(idmap_hdl); } else { error = 1; } |