Lines Matching defs:share

184  * share and save it.
227 * List tree connections made to a share on this server or all tree
246 * NERR_NetNameNotFound The share qualifier cannot be found.
474 * The qualifier is a string that specifies a share name or computer name
475 * for the connections of interest. If it is a share name then all the
476 * connections made to that share name are listed. If it is a computer
1059 * This call is made by SrvMgr to set share information.
1181 * connections to a share.
1950 * Add a new share. Only power users groups can manage shares.
2074 * Level 0: share names.
2075 * Level 1: share name, share type and comment field.
2176 * Level 0: share names.
2177 * Level 1: share name, share type and comment field.
2575 * Build the levels 0, 1, 2, 501 and 502 share information. This function
2576 * is called by the various NetShareEnum levels for each share. If
2577 * we cannot build the share data for some reason, we return an error
2675 * Add the autohome share for the user. The share must not be a permanent
2676 * share to avoid duplicates.
2711 * Create the share path required by the share enum calls. The path
2715 * drive letter is present in the share path. We don't care about the
2719 * share paths but they cannot handle one immediately after the drive
2723 * Returns a pointer to a heap buffer containing the share path, which
2789 * Delete a share. Only members of the Administrators, Server Operators
2859 * If the default "smb" share group exists then return the group
2888 * Stores the given share in sharemgr
2894 sa_share_t share;
2904 share = sa_find_share(handle, path);
2905 if (share == NULL) {
2912 share = sa_add_share(group, path, SA_SHARE_PERMANENT, &err);
2913 if (share == NULL) {
2920 resource = sa_get_share_resource(share, sharename);
2922 resource = sa_add_resource(share, sharename,
2926 (void) sa_remove_share(share);
2939 * Removes the share from sharemgr
2962 * Update the share information.
2968 sa_share_t share;
2977 if ((share = sa_find_share(handle, si->shr_path)) == NULL) {
2982 if ((resource = sa_get_share_resource(share, si->shr_name)) == NULL) {
2987 if (sa_group_is_zfs(sa_get_parent_group(share))) {
3040 * Sets the share properties.
3042 * This method sets share properties. If its a ZFS share, then properties
3044 * of the share resource are set.The properties to be set are given as a list
3051 sa_share_t share;
3063 if ((share = sa_find_share(handle, si->shr_path)) == NULL) {
3068 if ((resource = sa_get_share_resource(share, si->shr_name)) == NULL) {
3073 if (sa_group_is_zfs(sa_get_parent_group(share))) {