int i;
PRIVILEGE_SET *set;
- init_group_mapping();
+ if(!init_group_mapping()) {
+ DEBUG(0,("failed to initialize group mapping"));
+ return(False);
+ }
sid_to_string(string_sid, &map->sid);
int i;
PRIVILEGE_SET *set;
- init_group_mapping();
+ if(!init_group_mapping()) {
+ DEBUG(0,("failed to initialize group mapping"));
+ return(False);
+ }
/* the key is the SID, retrieving is direct */
int i;
PRIVILEGE_SET *set;
- init_group_mapping();
+ if(!init_group_mapping()) {
+ DEBUG(0,("failed to initialize group mapping"));
+ return(False);
+ }
/* we need to enumerate the TDB to find the GID */
int i;
PRIVILEGE_SET *set;
- init_group_mapping();
+ if(!init_group_mapping()) {
+ DEBUG(0,("failed to initialize group mapping"));
+ return(False);
+ }
/* we need to enumerate the TDB to find the name */
pstring key;
fstring string_sid;
- init_group_mapping();
+ if(!init_group_mapping()) {
+ DEBUG(0,("failed to initialize group mapping"));
+ return(False);
+ }
/* the key is the SID, retrieving is direct */
int i;
PRIVILEGE_SET *set;
- init_group_mapping();
+ if(!init_group_mapping()) {
+ DEBUG(0,("failed to initialize group mapping"));
+ return(False);
+ }
*num_entries=0;
*rmap=NULL;