summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_rid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/sam/idmap_rid.c b/source3/sam/idmap_rid.c
index d0cbcd7186..f16dbfb5e8 100644
--- a/source3/sam/idmap_rid.c
+++ b/source3/sam/idmap_rid.c
@@ -49,12 +49,13 @@ static NTSTATUS rid_idmap_parse(const char *init_param,
{
const char *p;
int i;
- trust.number = 0;
fstring sid_str;
BOOL known_domain = False;
p = init_param;
fstring tok;
+ trust.number = 0;
+
/* falling back to automatic mapping when there were no options given */
if (!*init_param) {