Lines Matching refs:sectype

1435 	char *sectype = NULL;
1462 if (sectype != NULL) {
1465 "spaces not supported: %s\n"), sectype);
1468 sectype = optarg;
1512 if (sectype != NULL && protocol == NULL) {
1569 if (sectype != NULL) {
1571 security = sa_get_security(group, sectype, protocol);
1916 secvalue = sa_get_security_attr(security, "sectype");
3522 * add_security(group, sectype, optlist, proto, *err)
3529 add_security(sa_group_t group, char *sectype,
3537 sectype = sa_proto_space_alias(proto, sectype);
3538 security = sa_get_security(group, sectype, proto);
3540 security = sa_create_security(group, sectype, proto);
3542 if (sectype != NULL)
3543 sa_free_attr_string(sectype);
3788 char *protocol, char *sharepath, int dryrun, char *sectype)
3796 * make sure protcol and sectype are valid
3799 if (sa_proto_valid_space(protocol, sectype) == 0) {
3801 "for protocol.\n"), sectype);
3830 share == NULL ? group : share, sectype);
3833 change = add_security(share, sectype,
3836 change = add_security(group, sectype,
4111 char *sectype)
4119 sec = sa_proto_space_alias(proto, sectype);
4133 "Could not unset %s: space not defined\n"), sectype);
4148 remove_security(sa_group_t group, char *sectype,
4155 sectype = sa_proto_space_alias(proto, sectype);
4156 security = sa_get_security(group, sectype, proto);
4157 if (sectype != NULL)
4158 sa_free_attr_string(sectype);
4318 char *protocol, char *sharepath, int dryrun, char *sectype)
4341 optlist, protocol, sectype);
4349 sectype, optlist, protocol, &ret);
4353 sectype, protocol);
4362 change = remove_security(group, sectype,
4368 sec = sa_proto_space_alias(protocol, sectype);