Lines Matching full:shares
29 * shares using the 'net share' command that comes with Samba.
33 * 'usershare max shares' and 'usershare owner only' have been reviewed/set
71 * Retrieve the list of SMB shares.
84 smb_share_t *shares, *new_shares = NULL; in smb_retrieve_shares() local
91 /* Go through the directory, looking for shares */ in smb_retrieve_shares()
170 shares = (smb_share_t *) in smb_retrieve_shares()
172 if (shares == NULL) { in smb_retrieve_shares()
177 (void) strlcpy(shares->name, name, in smb_retrieve_shares()
178 sizeof (shares->name)); in smb_retrieve_shares()
180 (void) strlcpy(shares->path, path, in smb_retrieve_shares()
181 sizeof (shares->path)); in smb_retrieve_shares()
183 (void) strlcpy(shares->comment, comment, in smb_retrieve_shares()
184 sizeof (shares->comment)); in smb_retrieve_shares()
186 shares->guest_ok = atoi(guest_ok); in smb_retrieve_shares()
188 shares->next = new_shares; in smb_retrieve_shares()
189 new_shares = shares; in smb_retrieve_shares()
360 /* Retrieve the list of (possible) active shares */ in smb_is_share_active()