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:
committed by
Gerald (Jerry) Carter
parent
77f24ed131
commit
488d737fb0
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user