diff --git a/admin/accounts.php b/admin/accounts.php index 9f16ef2496..25aaf3bdf1 100755 --- a/admin/accounts.php +++ b/admin/accounts.php @@ -14,7 +14,7 @@ $phpgw_info["flags"] = array("currentapp" => "admin", "enable_nextmatchs_class" => True); include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); $phpgw->template->set_file(array("header" => "accounts.tpl", "row" => "accounts.tpl", diff --git a/admin/deleteaccount.php b/admin/deleteaccount.php index cd5e7653de..80b8b712fa 100755 --- a/admin/deleteaccount.php +++ b/admin/deleteaccount.php @@ -18,7 +18,7 @@ $phpgw_info["flags"]["currentapp"] = "admin"; include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); // I didn't active this code until all tables are up to date using the owner field // The calendar isn't update to date. (jengo) diff --git a/admin/editaccount.php b/admin/editaccount.php index 58d89b2df7..e09f857ae8 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -14,7 +14,7 @@ $phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "admin"); include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); if (! $account_id) { Header("Location: " . $phpgw->link("accounts.php")); @@ -23,7 +23,7 @@ if ($submit) { $totalerrors = 0; - if ($phpgw_info["server"]["auth_type"] == "ldap") { + if ($phpgw_info["server"]["account_repository"] == "ldap") { if (strlen($n_loginid) > 8) { $error[$totalerrors++] = lang("The loginid can not be more then 8 characters"); } @@ -72,7 +72,7 @@ ?>
"> "admin", "noheader" => True, "nonavbar" => True); include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); function add_default_preferences($account_id) { @@ -42,7 +42,7 @@ if ($submit) { $totalerrors = 0; - if ($phpgw_info["server"]["auth_type"] == "ldap") { + if ($phpgw_info["server"]["account_repository"] == "ldap") { if (strlen($n_loginid) > 8) { $error[$totalerrors++] = lang("The loginid can not be more then 8 characters"); } diff --git a/admin/viewaccount.php b/admin/viewaccount.php index 7e49e543f1..35c4271100 100755 --- a/admin/viewaccount.php +++ b/admin/viewaccount.php @@ -20,7 +20,7 @@ include("../header.inc.php"); include($phpgw_info["server"]["server_root"] . "/admin/inc/accounts_" - . $phpgw_info["server"]["auth_type"] . ".inc.php"); + . $phpgw_info["server"]["account_repository"] . ".inc.php"); if (! $account_id) { Header("Location: " . $phpgw->link("accounts.php")); diff --git a/setup/config.php b/setup/config.php index b30cf9cf46..9428be9d6e 100644 --- a/setup/config.php +++ b/setup/config.php @@ -162,7 +162,7 @@ -  Authentication +  Authentication / Accounts @@ -172,11 +172,30 @@ + + + Select where you want to store/retrieve user accounts. + + + + + + + + Auto create account records for authenticated users: + > + + LDAP host: ">