From: hickert Date: Wed, 23 Apr 2008 10:12:00 +0000 (+0000) Subject: Updated SI events for krb5 support X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b15fba40d96779518a5c7c5a92ccd13d7a7f803e;p=gosa.git Updated SI events for krb5 support git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10640 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 515ab63f8..828dd87fc 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -1202,9 +1202,19 @@ class gosaSupportDaemon (Uses the GOsa support daemon instead of the ldap database.) @return Array A list containing the names of all configured principals. */ - public function krb5_list_principals() + public function krb5_list_principals($server) { - $xml_msg = "
krb5_list_principals
GOSAGOSA
"; + $res = array(); + + /* Prepare request event + */ + $xml_msg = + "". + "
gosa_krb5_list_principals
". + "GOSA". + "".$server."". + "
"; + return($this->_send($xml_msg,TRUE)); } @@ -1229,7 +1239,7 @@ class gosaSupportDaemon */ $xml_msg = "". - "
krb5_get_principal
". + "
gosa_krb5_get_principal
". "".$name."". "GOSA". "GOSA". @@ -1273,7 +1283,7 @@ class gosaSupportDaemon */ $xml_msg = "". - "
krb5_set_principal
". + "
gosa_krb5_set_principal
". "".$name."". $attrs. "GOSA". @@ -1304,7 +1314,7 @@ class gosaSupportDaemon */ $xml_msg = "". - "
krb5_del_principal
". + "
gosa_krb5_del_principal
". "".$name."". "GOSA". "GOSA". @@ -1319,7 +1329,7 @@ class gosaSupportDaemon (Uses the GOsa support daemon instead of the ldap database.) @return Array A list of all configured password policies. */ - public function krb5_list_policies() + public function krb5_list_policies($server) { $res = array(); @@ -1327,9 +1337,9 @@ class gosaSupportDaemon */ $xml_msg = "". - "
krb5_list_policies
". + "
gosa_krb5_list_policies
". "GOSA". - "GOSA". + "".$server."". "
"; return($this->_send($xml_msg,TRUE)); @@ -1355,7 +1365,7 @@ class gosaSupportDaemon */ $xml_msg = "". - "
krb5_get_policy
". + "
gosa_krb5_get_policy
". "".$name."". "GOSA". "GOSA". @@ -1401,7 +1411,7 @@ class gosaSupportDaemon */ $xml_msg = "". - "
krb5_set_policy
". + "
gosa_krb5_set_policy
". "".$name."". $attrs. "GOSA". @@ -1431,7 +1441,7 @@ class gosaSupportDaemon */ $xml_msg = "". - "
krb5_del_policy
". + "
gosa_krb5_del_policy
". "".$name."". "GOSA". "GOSA".