Lines Matching defs:share
281 * user name, and share name, as needed. We need these
460 * "//[[domain;]user[:password]@]host[/share[/path]]"
470 char *host, *share, *path;
499 /* Find the share part, if any. */
500 share = strchr(p, '/');
501 if (share)
502 *share = '\0';
567 if (share != NULL) {
569 *share = '/';
570 p = share + 1;
576 (void) unpercent(p); /* share component */
580 "empty share name"), 0);
586 "no share name required"), 0);
594 * to have share: IPC$
614 smb_error(dgettext(TEXT_DOMAIN, "empty share name"), 0);
826 smb_ctx_setshare(struct smb_ctx *ctx, const char *share, int stype)
828 if (strlen(share) >= SMBIOC_MAX_NAME) {
830 "share name '%s' too long"), 0, share);
835 if ((ctx->ct_origshare = strdup(share)) == NULL)
982 /* share connect rights - ignored */
1068 "no share name specified for %s@%s"),
1268 /* The share name */
1272 /* The share "use" type. */
1276 * Todo: share passwords for share-level security.
1286 * Check the returned share type
1292 "%s: incompatible share type"),
1357 * 3 - server:user:share
1493 * 3: override with [server:user:share] section
1565 * If we don't have a share name, we can't read any of the
1566 * [server:user:share] sections.