diff options
author | Simo Sorce <idra@samba.org> | 2002-02-01 23:20:08 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-02-01 23:20:08 +0000 |
commit | 0da3a4e6597b1a2ba06a411917c836286dac41b9 (patch) | |
tree | 2b11da8d297aca6a691bb82bb7a2e5d64edff13e /source3 | |
parent | 921eb3588db33591970463df2ec6a1f6f7f6b1d6 (diff) | |
download | samba-0da3a4e6597b1a2ba06a411917c836286dac41b9.tar.gz samba-0da3a4e6597b1a2ba06a411917c836286dac41b9.tar.bz2 samba-0da3a4e6597b1a2ba06a411917c836286dac41b9.zip |
update from 2.2
(This used to be commit 8bb2a7446ed69020086aaedf2889795dd38ef9d4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_tdb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 9b7f99bbc8..3c76f8336b 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -27,7 +27,7 @@ #ifdef WITH_TDB_SAM #define PDB_VERSION "20010830" -#define PASSDB_FILE_NAME "/passdb.tdb" +#define PASSDB_FILE_NAME "passdb.tdb" #define TDB_FORMAT_STRING "ddddddBBBBBBBBBBBBddBBwdwdBdd" #define USERPREFIX "USER_" #define RIDPREFIX "RID_" @@ -866,7 +866,8 @@ NTSTATUS pdb_init_tdbsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, con } else { pstring tdbfile; get_private_directory(tdbfile); - pstrcat (tdbfile, PASSDB_FILE_NAME); + pstrcat(tdbfile, "/"); + pstrcat(tdbfile, PASSDB_FILE_NAME); tdb_state->tdbsam_location = talloc_strdup(pdb_context->mem_ctx, tdbfile); } |