summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-09 16:15:28 +0200
committerAndreas Schneider <asn@samba.org>2010-06-09 16:17:46 +0200
commit95047bc717a1129452b6e11d00e7a67d16156095 (patch)
treef7e4d6a5d16c7cfa9812bbdd6c2b55580ad84def /source3/winbindd
parent6a6bb768c6542d738a8b2b6da282159a65ed611d (diff)
downloadsamba-95047bc717a1129452b6e11d00e7a67d16156095.tar.gz
samba-95047bc717a1129452b6e11d00e7a67d16156095.tar.bz2
samba-95047bc717a1129452b6e11d00e7a67d16156095.zip
s3-winbind: Fixed setting default sequence number.
Diffstat (limited to 'source3/winbindd')
-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;