Lines Matching defs:grp
40 #include <grp.h>
815 smb_group_t grp;
870 (smb_lgrp_iterate(gi, &grp) == SMB_LGRP_SUCCESS)) {
871 if (smb_lgrp_is_member(&grp, user_sid)) {
872 group->rid = grp.sg_rid;
873 group->attr = grp.sg_attr;
877 smb_lgrp_free(&grp);
947 smb_group_t grp;
971 rc = smb_lgrp_getbyrid(data->kd_rid, data->kd_type, &grp);
979 rc = smb_lgrp_add_member(grp.sg_name,
986 smb_lgrp_free(&grp);
1006 smb_group_t grp;
1029 rc = smb_lgrp_getbyrid(data->kd_rid, data->kd_type, &grp);
1037 rc = smb_lgrp_del_member(grp.sg_name,
1044 smb_lgrp_free(&grp);
1064 smb_group_t grp;
1081 rc = smb_lgrp_getbyrid(data->kd_rid, data->kd_type, &grp);
1089 num = grp.sg_nmembers;
1090 members = grp.sg_members;
1096 smb_lgrp_free(&grp);
1108 smb_lgrp_free(&grp);
1113 smb_lgrp_free(&grp);
1516 smb_group_t grp;
1548 rc = smb_lgrp_getbyname((char *)gname, &grp);
1556 id = samr_hdalloc(mxa, SAMR_KEY_ALIAS, SMB_DOMAIN_LOCAL, grp.sg_rid,
1558 smb_lgrp_free(&grp);
1602 smb_group_t grp;
1644 rc = smb_lgrp_getbyrid(rid, gd_type, &grp);
1649 name = grp.sg_name;
1650 desc = grp.sg_cmnt;
1678 smb_lgrp_free(&grp);
1684 smb_lgrp_free(&grp);
1709 smb_group_t grp;
1739 rc = smb_lgrp_getbyrid(rid, gd_type, &grp);
1747 rc = smb_lgrp_delete(grp.sg_name);
1753 smb_lgrp_free(&grp);
1777 smb_group_t grp;
1826 while (smb_lgrp_iterate(gi, &grp) == SMB_LGRP_SUCCESS) {
1828 (grp.sg_domain == data->kd_type) && (i++ < cnt)) {
1829 info->rid = grp.sg_rid;
1830 (void) NDR_MSTRING(mxa, grp.sg_name,
1835 smb_lgrp_free(&grp);