diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-08-12 11:26:42 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-13 12:30:49 +1000 |
commit | 7c9ecf35fa92395ce46d1410ae0b343f6dc24774 (patch) | |
tree | 52e336331cad9d290a90930e75515a576e55f201 /source4/param | |
parent | 11698a287e2ca1e937a465225af033e269749eb3 (diff) | |
download | samba-7c9ecf35fa92395ce46d1410ae0b343f6dc24774.tar.gz samba-7c9ecf35fa92395ce46d1410ae0b343f6dc24774.tar.bz2 samba-7c9ecf35fa92395ce46d1410ae0b343f6dc24774.zip |
param: Add smb.conf loading support to s3/s4 loadparm bridge
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/loadparm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 3b0eefe603..c1fd5f22a2 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -3514,6 +3514,10 @@ bool lpcfg_load(struct loadparm_context *lp_ctx, const char *filename) char *n2; bool bRetval; + if (lp_ctx->s3_fns) { + return lp_ctx->s3_fns->load(filename); + } + filename = talloc_strdup(lp_ctx, filename); lp_ctx->szConfigFile = filename; |