diff options
author | Keyur Desai <Keyur.Desai@Sun.COM> | 2010-04-02 15:07:12 -0600 |
---|---|---|
committer | Keyur Desai <Keyur.Desai@Sun.COM> | 2010-04-02 15:07:12 -0600 |
commit | c586600796766c83eb9485c446886fd9ed2359a9 (patch) | |
tree | be38c992d2fa6b7489bce2b0e6e81ad8dba9d3c2 /usr/src/lib/libshare | |
parent | a23420cf95f05ac67f2c299116a3225581e519d1 (diff) | |
download | illumos-gate-c586600796766c83eb9485c446886fd9ed2359a9.tar.gz |
6932404 Autohome share does not show up when using sharemgr show -vp
6875358 NDR support for Serialization Types
6811350 Autohome wildcard rule fails with mixed case (or upper case) user name
6932967 Add local group manipulation functions to SAMR service
6801203 libidmap should not link with bunch of libraries
6928764 Diagnostic noise on "idmap get-namemap" and "idmap set-namemap"
6885923 idmapd loops infinitely, leaking memory
6936722 Sparc : Unable to destroy zpool, sharemgr locks up.
6937163 smbd door operations should initialize XDR decode data
6937814 Memory corruption while running stress test
6913525 smb_ads_decode_host_ip doesn't step over IPv6 address
6939430 queryfileinfo should only use vnodetopath for directory nodes
6938318 Unable to save files with Save As
--HG--
rename : usr/src/lib/libidmap/common/namemaps.c => usr/src/cmd/idmap/idmap/namemaps.c
rename : usr/src/lib/libidmap/common/idmap_priv.h => usr/src/cmd/idmap/idmap/namemaps.h
Diffstat (limited to 'usr/src/lib/libshare')
-rw-r--r-- | usr/src/lib/libshare/smb/libshare_smb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/lib/libshare/smb/libshare_smb.c b/usr/src/lib/libshare/smb/libshare_smb.c index 0994b48bb5..2fd55603fa 100644 --- a/usr/src/lib/libshare/smb/libshare_smb.c +++ b/usr/src/lib/libshare/smb/libshare_smb.c @@ -20,8 +20,7 @@ */ /* - * Copyright 2010 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. */ /* @@ -2312,6 +2311,9 @@ disposition_validator(int index, char *value) * The properties are given as a list of name-value pair. * The name argument should be the optionset property name and the value * should be a valid value for the specified property. + * + * When calling this function for permanent shares, the caller must also + * call sa_commit_properties() to commit the changes to SMF. */ static int smb_update_optionset_props(sa_handle_t handle, sa_resource_t resource, @@ -2361,9 +2363,6 @@ smb_update_optionset_props(sa_handle_t handle, sa_resource_t resource, cur = nvlist_next_nvpair(nvl, cur); } - if (err == SA_OK) - err = sa_commit_properties(opts, 0); - return (err); } |