summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-08 19:27:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:36 -0500
commita66913aca1132a9cd8070c509fe02ab5682c028e (patch)
tree9efe1909a905e4ee6c1d5e2b3677bc5319beec5d /source3/sam
parent26dd1bab968d37d9cf9315ead3a71aad759682bb (diff)
downloadsamba-a66913aca1132a9cd8070c509fe02ab5682c028e.tar.gz
samba-a66913aca1132a9cd8070c509fe02ab5682c028e.tar.bz2
samba-a66913aca1132a9cd8070c509fe02ab5682c028e.zip
r5278: BUG 2327: fix compile bug in idmap_rid.c
(This used to be commit dd55ef25d1b24401a743d0367544e535cd17815c)
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) {