1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-14 12:23:52 +03:00

r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as an

argument.

Volker
This commit is contained in:
Volker Lendecke
2006-08-08 08:26:40 +00:00
committed by Gerald (Jerry) Carter
parent 4f6605a488
commit 873a5a1211
10 changed files with 39 additions and 40 deletions

View File

@@ -330,7 +330,7 @@ static int net_sam_set_comment(int argc, const char **argv)
return -1;
}
if (!pdb_getgrsid(&map, sid)) {
if (!pdb_getgrsid(&map, &sid)) {
d_fprintf(stderr, "Could not load group %s\n", argv[0]);
return -1;
}
@@ -882,7 +882,7 @@ static int net_sam_provision(int argc, const char **argv)
sid_compose(&gsid, get_global_sam_sid(), DOMAIN_GROUP_RID_USERS);
if (!pdb_getgrsid(&gmap, gsid)) {
if (!pdb_getgrsid(&gmap, &gsid)) {
LDAPMod **mods = NULL;
char *dn;
char *uname;
@@ -935,7 +935,7 @@ domu_done:
sid_compose(&gsid, get_global_sam_sid(), DOMAIN_GROUP_RID_ADMINS);
if (!pdb_getgrsid(&gmap, gsid)) {
if (!pdb_getgrsid(&gmap, &gsid)) {
LDAPMod **mods = NULL;
char *dn;
char *uname;