1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00

r9816: Work on testsuite for upgrade

Add 'paths' object to provision code.
This commit is contained in:
Jelmer Vernooij
2005-08-31 02:39:57 +00:00
committed by Gerald (Jerry) Carter
parent 77f24ed131
commit 488d737fb0
9 changed files with 92 additions and 41 deletions

View File

@@ -88,9 +88,12 @@ NTSTATUS samba3_read(const char *libdir, const char *smbconf, TALLOC_CTX *ctx, s
ret = talloc_zero(ctx, struct samba3);
if (smbconf) {
if (smbconf != NULL) {
ret->configuration = param_init(ret);
param_read(ret->configuration, smbconf);
if (param_read(ret->configuration, smbconf) == -1) {
talloc_free(ret);
return NT_STATUS_UNSUCCESSFUL;
}
}
dbfile = talloc_asprintf(ctx, "%s/account_policy.tdb", libdir);