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

r9827: Convert 'passdb backend' rather then 'passdb backends'

Be a bit more verbose
This commit is contained in:
Jelmer Vernooij
2005-08-31 14:27:17 +00:00
committed by Gerald (Jerry) Carter
parent 213bcb7e16
commit fb2fd8da10
3 changed files with 5 additions and 3 deletions

View File

@@ -422,7 +422,7 @@ function upgrade(subobj, samba3, message, paths)
// figure out ldapurl, if applicable
var ldapurl = undefined;
var pdb = samba3.configuration.get_list("passdb backends");
var pdb = samba3.configuration.get_list("passdb backend");
if (pdb != undefined) {
for (var b in pdb) {
if (substr(pdb[b], 0, 7) == "ldapsam") {
@@ -438,6 +438,7 @@ function upgrade(subobj, samba3, message, paths)
// Enable samba3sam module if original passdb backend was ldap
if (ldapurl != undefined) {
message("Enabling Samba3 LDAP mappings for SAM database\n");
var ldif = sprintf("
dn: @MAP=samba3sam
@MAP_URL: %s", ldapurl);