r5278: BUG 2327: fix compile bug in idmap_rid.c
authorGerald Carter <jerry@samba.org>
Tue, 8 Feb 2005 19:27:18 +0000 (19:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:36 +0000 (10:55 -0500)
(This used to be commit dd55ef25d1b24401a743d0367544e535cd17815c)

source3/sam/idmap_rid.c

index d0cbcd71862da4cd5f2aedb9882910d3ae4e1372..f16dbfb5e81ad97377b7a2405d55a3bd51b47bb6 100644 (file)
@@ -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) {