From db5355cb3acce0e265a003846b82679625df8202 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 15 Aug 2003 01:55:06 +0000 Subject: Don't ask, it's too embarrassing :-) Actually let the user explicitly specify a rid... Volker (This used to be commit 3aed9c8a4ac97ef55772ddae1e1cb0a5a1a15767) --- source3/utils/net_groupmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_groupmap.c') diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c index a50628a7c3..9937145230 100644 --- a/source3/utils/net_groupmap.c +++ b/source3/utils/net_groupmap.c @@ -262,7 +262,7 @@ static int net_groupmap_add(int argc, const char **argv) return -1; } - if ( (rid == 0) || (string_sid[0] == '\0') ) { + if ( (rid == 0) && (string_sid[0] == '\0') ) { d_printf("No rid or sid specified, choosing algorithmic mapping\n"); rid = pdb_gid_to_group_rid(gid); } -- cgit