Lines Matching refs:group
43 dump the mapping group mapping to a text file
45 char *decode_sid_name_use(fstring group, enum SID_NAME_USE name_use)
54 fstrcpy(group_type,"Domain group");
60 fstrcpy(group_type,"Local group");
63 fstrcpy(group_type,"Builtin group");
77 fstrcpy(group, group_type);
126 Open the group mapping tdb.
139 DEBUG(0,("Failed to open group mapping database\n"));
180 DEBUG(0,("failed to initialize group mapping"));
211 DEBUG(0,("failed to initialize group mapping"));
229 Return the sid and the type of the unix group.
240 DEBUG(0,("failed to initialize group mapping"));
272 Return the sid and the type of the unix group.
282 DEBUG(0,("failed to initialize group mapping"));
322 Return the sid and the type of the unix group.
332 DEBUG(0,("get_group_map_from_ntname:failed to initialize group mapping"));
372 Remove a group mapping entry.
382 DEBUG(0,("failed to initialize group mapping"));
407 Enumerate the group mapping.
422 DEBUG(0,("failed to initialize group mapping"));
454 DEBUG(11,("enum_group_mapping: group %s is not of the requested type\n", map.nt_name));
459 DEBUG(11,("enum_group_mapping: group %s is non mapped\n", map.nt_name));
466 DEBUG(11,("enum_group_mapping: returning group %s of type %s\n", map.nt_name ,group_type));
470 DEBUG(0,("enum_group_mapping: Unable to enlarge group map!\n"));
497 * we are checking if the group is in the mapping file
498 * and if the group is an existing unix group
502 /* get a domain group from it's SID */
506 struct group *grp;
510 DEBUG(0,("failed to initialize group mapping"));
516 /* if the group is NOT in the database, it CAN NOT be a domain group */
527 /* if it's not a domain group, continue */
532 DEBUG(10, ("get_domain_group_from_sid: SID is a domain group\n"));
552 /* get a local (alias) group from it's SID */
559 DEBUG(0,("failed to initialize group mapping"));
563 /* The group is in the mapping table */
579 /* local groups only exist in the group mapping DB so this
583 /* the group isn't in the mapping table.
586 struct group *grp;
593 DEBUG(3,("get_local_group_from_sid: No unix group for [%ul]\n", map->gid));
609 /* get a builtin group from it's SID */
613 struct group *grp;
618 DEBUG(0,("failed to initialize group mapping"));
651 struct group *grp;
655 DEBUG(0,("failed to initialize group mapping"));
663 * make a group map from scratch if doesn't exist.
690 Get the member users of a group and
691 all the users who have that group as primary.
703 struct group *grp;
712 DEBUG(0,("failed to initialize group mapping"));
810 Create a UNIX group on demand.
846 DEBUG(3,("smb_create_group: winbindd created the group (%s)\n",
852 struct group *grp = sys_getgrnam(unix_group);
862 Delete a UNIX group on demand.
881 DEBUG(3,("smb_delete_group: winbindd deleted the group (%s)\n",
890 Set a user's primary UNIX group.
912 DEBUG(3,("smb_delete_group: winbindd set the group (%s) as the primary group for user (%s)\n",
921 Add a user to a UNIX group.
943 DEBUG(3,("smb_delete_group: winbindd added user (%s) to the group (%s)\n",
952 Delete a user from a UNIX group
974 DEBUG(3,("smb_delete_group: winbindd removed user (%s) from the group (%s)\n",
1035 no ops for passdb backends that don't implement group mapping