summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2002-10-31 17:34:49 +0000
committerVolker Lendecke <vlendec@samba.org>2002-10-31 17:34:49 +0000
commitbf1ec6db9959132c1cc509dc2cc6fe15ac61a529 (patch)
treea1b0eb877555eb41d5b7e1c4223d7d9cb8d98cce
parent094166151b950e0c1f1fb12f4320d6bcb3673988 (diff)
downloadsamba-bf1ec6db9959132c1cc509dc2cc6fe15ac61a529.tar.gz
samba-bf1ec6db9959132c1cc509dc2cc6fe15ac61a529.tar.bz2
samba-bf1ec6db9959132c1cc509dc2cc6fe15ac61a529.zip
search & replace doesn't always work reliably :-)
Volker (This used to be commit 54115fd16ff10d1958153268dfd0f22f3c400bb5)
-rw-r--r--source3/utils/smbgroupedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbgroupedit.c b/source3/utils/smbgroupedit.c
index bdff59c6f2..b5033e0384 100644
--- a/source3/utils/smbgroupedit.c
+++ b/source3/utils/smbgroupedit.c
@@ -177,8 +177,8 @@ static int changegroup(char *sid_string, char *group, enum SID_NAME_USE sid_type
if (privilege!=NULL)
convert_priv_from_text(&map.priv_set, privilege);
- if (!pdb_add_group_mapping_entry(&map)) {
- printf("Count not update group database\n");
+ if (!pdb_update_group_mapping_entry(&map)) {
+ printf("Could not update group database\n");
free_privilege(&map.priv_set);
return -1;
}