summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-11-14 11:49:38 +0000
committerMichael Adam <obnox@samba.org>2013-11-14 15:55:54 +0100
commit72b240fa18f75eddc7e4502ec5ea3f32710ed68d (patch)
tree2f66cc21e36ea7dd823b081eb49ca7674e032a5a
parent944e9fbc20f125b52e047484dca1792d75561ed9 (diff)
downloadsamba-72b240fa18f75eddc7e4502ec5ea3f32710ed68d.tar.gz
samba-72b240fa18f75eddc7e4502ec5ea3f32710ed68d.tar.xz
samba-72b240fa18f75eddc7e4502ec5ea3f32710ed68d.zip
autorid: Correctly init range_index for "delete range"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Nov 14 15:55:54 CET 2013 on sn-devel-104
-rw-r--r--source3/utils/net_idmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index a26f2b95e6..1095f143d5 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -706,6 +706,7 @@ static int net_idmap_autorid_delete_range(struct net_context *c, int argc,
}
domsid = argv[0];
+ range_index = 0;
if (argc == 2) {
ok = parse_uint32(argv[1], &range_index);