From 9983ad7a80477d8aaaa16488a93dffc6a32dd1ef Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 4 Sep 2012 10:27:50 +1000 Subject: s3-passdb: Rename pdb_samba4 to samba_dsdb and autoconfigure when we are a AD DC The name samba_dsdb is not ideal, but it matches the primary ldb module we use, and more importantly it avoids having '4' in the name. We should slowly avoid using the term samba4 in long-term places like the smb.conf because it is confusing to users given we are shipping Samba 4.0 as an AD DC as well as all the other supported roles (domain member/standalone server/classic DC) Additionally, samba4 will be an odd name when we eventually release Samba 5.0! samba4 remains accepted as an alias to ensure existing smb.conf files load, but to allow changes here in the future, we set the value during the smb.conf load, and not during the provision when we are an AD DC. This simplifies the default smb.conf for the vast majority of our users and reduces the number of things listed in smb.conf files that we later have to work around if we wish to change the name/implementation of the passdb glue module again. Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue Sep 4 04:45:16 CEST 2012 on sn-devel-104 --- source3/param/loadparm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index c92b6319b7..1e418258d4 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4914,6 +4914,7 @@ static bool lp_load_ex(const char *pszFname, lp_do_parameter(-1, "vfs objects", "dfs_samba4 acl_xattr"); } } + lp_do_parameter(-1, "passdb backend", "samba_dsdb"); } bAllowIncludeRegistry = true; -- cgit