summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorAlexander Zagrebin <alexz@visp.ru>2009-03-17 15:36:16 -0700
committerKarolin Seeger <kseeger@samba.org>2009-03-27 14:15:34 +0100
commitfd2420d28d57569a676004875879c00461ec2436 (patch)
treee902d8a2cd3cb1e1e1b5439e2c89a26a95fb0129 /source/passdb
parent5a7f0dc653cffd8a364835122da61ebaa454b4cd (diff)
downloadsamba-fd2420d28d57569a676004875879c00461ec2436.tar.gz
samba-fd2420d28d57569a676004875879c00461ec2436.tar.xz
samba-fd2420d28d57569a676004875879c00461ec2436.zip
Missing break in conversion function prevents tdb password database update.
(cherry picked from commit 35a1ee3687f75e8b74e0009443362cf370eedc19)
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/pdb_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/passdb/pdb_tdb.c b/source/passdb/pdb_tdb.c
index 143a2e23908..80faeb0e984 100644
--- a/source/passdb/pdb_tdb.c
+++ b/source/passdb/pdb_tdb.c
@@ -102,6 +102,7 @@ static int tdbsam_convert_one(struct db_record *rec, void *priv)
ret = init_samu_from_buffer(user, SAMU_BUFFER_V3,
(uint8 *)rec->value.dptr,
rec->value.dsize);
+ break;
case 4:
ret = init_samu_from_buffer(user, SAMU_BUFFER_V4,
(uint8 *)rec->value.dptr,