[PATCH] autorid: Correctly init range_index for "delete range"
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Nov 14 04:52:39 MST 2013
Hi!
Please review & push!
Thanks,
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From c596923cb530e603bc17cdd0a83ebde40d1d9fb9 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Thu, 14 Nov 2013 11:49:38 +0000
Subject: [PATCH] autorid: Correctly init range_index for "delete range"
Signed-off-by: Volker Lendecke <vl at samba.org>
---
source3/utils/net_idmap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index a26f2b9..1095f14 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);
--
1.7.9.5
More information about the samba-technical
mailing list