summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-08-19 17:36:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-22 09:00:59 +1000
commit399eae13a1675e3af58dc07ca719c1ab3d41fd06 (patch)
tree45ffc55030399a5855590de51015f5f64028d62c /source3/param
parentd713f9e9f50dfe680f66798098ee5ede3ee80e06 (diff)
downloadsamba-399eae13a1675e3af58dc07ca719c1ab3d41fd06.tar.gz
samba-399eae13a1675e3af58dc07ca719c1ab3d41fd06.tar.bz2
samba-399eae13a1675e3af58dc07ca719c1ab3d41fd06.zip
s4-provision set passdb backend to 'samba4' in template smb.conf files
This will allow smbpasswd, net sam and pdbedit to 'just work' against the newly created databases. Andrew Bartlett
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm_ctx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c
index 3aadda1bd0..abd7dbeabe 100644
--- a/source3/param/loadparm_ctx.c
+++ b/source3/param/loadparm_ctx.c
@@ -75,7 +75,9 @@ static const struct loadparm_s3_context s3_fns =
.private_dir = lp_private_dir,
.ncalrpc_dir = lp_ncalrpc_dir,
- .lockdir = lp_lockdir
+ .lockdir = lp_lockdir,
+
+ .passdb_backend = lp_passdb_backend
};
const struct loadparm_s3_context *loadparm_s3_context(void)