diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-08-08 08:26:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:34 -0500 |
commit | ff7c0a7c357ab8a0ff9de6d18988933e0b398780 (patch) | |
tree | 2382be5d0e35e3ae184413a1668a53e56fb6738d /source3/utils/net_sam.c | |
parent | 175aa92e9e2fa4aa9d0c2fc9d7001ce4fae61a14 (diff) | |
download | samba-ff7c0a7c357ab8a0ff9de6d18988933e0b398780.tar.gz samba-ff7c0a7c357ab8a0ff9de6d18988933e0b398780.tar.bz2 samba-ff7c0a7c357ab8a0ff9de6d18988933e0b398780.zip |
r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as an
argument.
Volker
(This used to be commit 873a5a1211d185fd50e7167d88cbc869f70dfd3f)
Diffstat (limited to 'source3/utils/net_sam.c')
-rw-r--r-- | source3/utils/net_sam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c index 654c9ec5b2..aed07553b6 100644 --- a/source3/utils/net_sam.c +++ b/source3/utils/net_sam.c @@ -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; |