[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-943-gc9c7607
Jeremy Allison
jra at samba.org
Sat Dec 29 09:14:17 GMT 2007
The branch, v3-2-test has been updated
via c9c7607c402c0a9df9796c767b689d207d67d8e4 (commit)
from dd6e09a65e67a9a16b35b078ebfb41da09926029 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit c9c7607c402c0a9df9796c767b689d207d67d8e4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 24 14:12:54 2007 +0100
passdb.tdb is located in the private directory
Jerry, as part of d6cdbfd87 the default location of passdb.tdb has changed from
the private directory to the state directory. I think because passdb.tdb holds
the password hashes, it is reasonable to keep this next to the smbpasswd file.
Please review and potentially push.
Thanks,
Volker
-----------------------------------------------------------------------
Summary of changes:
source/passdb/pdb_tdb.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/passdb/pdb_tdb.c b/source/passdb/pdb_tdb.c
index 1277b9c..5e21c46 100644
--- a/source/passdb/pdb_tdb.c
+++ b/source/passdb/pdb_tdb.c
@@ -1613,7 +1613,8 @@ static NTSTATUS pdb_init_tdbsam(struct pdb_methods **pdb_method, const char *loc
/* save the path for later */
if (!location) {
- if (asprintf(&tdbfile, "%s/%s", get_dyn_STATEDIR(), PASSDB_FILE_NAME) < 0) {
+ if (asprintf(&tdbfile, "%s/%s", get_dyn_PRIVATE_DIR(),
+ PASSDB_FILE_NAME) < 0) {
return NT_STATUS_NO_MEMORY;
}
pfile = tdbfile;
--
Samba Shared Repository
More information about the samba-cvs
mailing list