From: Gerald Carter Date: Tue, 8 Feb 2005 19:27:18 +0000 (+0000) Subject: r5278: BUG 2327: fix compile bug in idmap_rid.c X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5281 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd55ef25d1b24401a743d0367544e535cd17815c;p=thirdparty%2Fsamba.git r5278: BUG 2327: fix compile bug in idmap_rid.c --- diff --git a/source/sam/idmap_rid.c b/source/sam/idmap_rid.c index d0cbcd71862..f16dbfb5e81 100644 --- a/source/sam/idmap_rid.c +++ b/source/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) {