summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_passdb.c b/source3/winbindd/winbindd_passdb.c
index 6ac9a463fa..f224272e3f 100644
--- a/source3/winbindd/winbindd_passdb.c
+++ b/source3/winbindd/winbindd_passdb.c
@@ -294,7 +294,7 @@ static NTSTATUS sequence_number(struct winbindd_domain *domain, uint32 *seq)
result = pdb_get_seq_num(&seq_num);
if (!result) {
- *seq = 1;
+ seq_num = 1;
}
*seq = (int) seq_num;