summaryrefslogtreecommitdiff
path: root/source3/utils/net_groupmap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-08 08:26:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:34 -0500
commitff7c0a7c357ab8a0ff9de6d18988933e0b398780 (patch)
tree2382be5d0e35e3ae184413a1668a53e56fb6738d /source3/utils/net_groupmap.c
parent175aa92e9e2fa4aa9d0c2fc9d7001ce4fae61a14 (diff)
downloadsamba-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_groupmap.c')
-rw-r--r--source3/utils/net_groupmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index a96ac526bf..3865382c92 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -153,7 +153,7 @@ static int net_groupmap_list(int argc, const char **argv)
}
/* Get the current mapping from the database */
- if(!pdb_getgrsid(&map, sid)) {
+ if(!pdb_getgrsid(&map, &sid)) {
d_fprintf(stderr, "Failure to local group SID in the database\n");
return -1;
}
@@ -404,7 +404,7 @@ static int net_groupmap_modify(int argc, const char **argv)
}
/* Get the current mapping from the database */
- if(!pdb_getgrsid(&map, sid)) {
+ if(!pdb_getgrsid(&map, &sid)) {
d_fprintf(stderr, "Failure to local group SID in the database\n");
return -1;
}
@@ -539,7 +539,7 @@ static int net_groupmap_set(int argc, const char **argv)
DOM_SID sid;
have_map = ( (strncmp(ntgroup, "S-", 2) == 0) &&
string_to_sid(&sid, ntgroup) &&
- pdb_getgrsid(&map, sid) );
+ pdb_getgrsid(&map, &sid) );
}
if (!have_map) {