mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
first run at ldap group support
This commit is contained in:
1 parent
d8e34dd211
commit
34c1fee3c6
3 files changed
+158
-4
No files matched your search
@@ -24,6 +24,10 @@ if( function_exists("sync_LDAP") && isset($_POST['Sync_LDAP'])){
|
||||
sync_LDAP();
|
||||
}
|
||||
|
||||
if( function_exists("sync_LDAP_groups") && isset($_POST['Sync_LDAP_groups'])){
|
||||
sync_LDAP_groups();
|
||||
}
|
||||
|
||||
if(isset($_POST['import_from_directory'])){
|
||||
Tools::importFromDirectory();
|
||||
}
|
||||
@@ -52,6 +56,15 @@ class Tools {
|
||||
$html .= "</table>\n";
|
||||
|
||||
$html .= $ef->SubmitButton( "Sync_LDAP", translate('Submit'));
|
||||
|
||||
$html .= '<h1>'.translate('Sync LDAP Groups with RSCDS') .'</h1>';
|
||||
$html .= "<table width=\"100%\" class=\"data\">\n";
|
||||
$html .= $ef->StartForm( array("autocomplete" => "off" ) );
|
||||
$html .= sprintf( "<tr><td style=\"text-align:left\" colspan=\"2\" >%s</td></tr>\n",
|
||||
translate("This operation does the following: <ul><li>check valid groups in LDAP directory</li> <li>check groups in DAViCal</li></ul> then <ul><li>if a group is present in DAViCal but not in LDAP set as inactive in DAViCal</li> <li>if a group is present in LDAP but not in DAViCal create the group in DAViCal</li> <li>if a group in present in LDAP and DAViCal then update information in DAViCal</li> </ul>"));
|
||||
$html .= "</table>\n";
|
||||
|
||||
$html .= $ef->SubmitButton( "Sync_LDAP_groups", translate('Submit'));
|
||||
$html .= $ef->EndForm();
|
||||
|
||||
$html .= "</div>";
|
||||
|
||||
Reference in new issue
Block a user