diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-12-02 00:31:54 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-12-02 00:31:54 +0000 |
commit | 06ae42483582ee76c3f6848697cf61cc142dd86a (patch) | |
tree | 959408cf7ba1e90e05a4e30278e71445ebc5cf32 /source4/passdb | |
parent | 8b30b0071cb7668f49b2ea5951d1180bf90371e3 (diff) | |
download | samba-06ae42483582ee76c3f6848697cf61cc142dd86a.tar.gz samba-06ae42483582ee76c3f6848697cf61cc142dd86a.tar.bz2 samba-06ae42483582ee76c3f6848697cf61cc142dd86a.zip |
* netr_ServerPasswordSet() now works - the test suite changes the
machine account password.
* neater handling on value() options in IDL. The auto-print code
will now display the right value so you don't need to initialise
it in your C code
(This used to be commit 3dd978b12bb5571fba4e1839c0f7ee60cf729aa2)
Diffstat (limited to 'source4/passdb')
-rw-r--r-- | source4/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c index 01eb82f414..60e211e66f 100644 --- a/source4/passdb/secrets.c +++ b/source4/passdb/secrets.c @@ -82,7 +82,7 @@ BOOL secrets_store(const char *key, const void *data, size_t size) dbuf.dptr = memdup(data, size); dbuf.dsize = size; - ret = tdb_store(tdb, kbuf, dbuf, TDB_REPLACE) == 0; + ret = tdb_store(tdb, kbuf, dbuf, TDB_REPLACE); free(kbuf.dptr); free(dbuf.dptr); |