summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2d904d)
raw | patch | inline | side by side (parent: e2d904d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Apr 2008 10:12:00 +0000 (10:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 Apr 2008 10:12:00 +0000 (10:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10640 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 515ab63f85e2190bac7fbe2d09e0f166b2f0bbfa..828dd87fc8d43dc5c349ee0e4a07cc25705aea1c 100644 (file)
(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 = "<xml><header>krb5_list_principals</header><source>GOSA</source><target>GOSA</target></xml>";
+ $res = array();
+
+ /* Prepare request event
+ */
+ $xml_msg =
+ "<xml>".
+ "<header>gosa_krb5_list_principals</header>".
+ "<source>GOSA</source>".
+ "<target>".$server."</target>".
+ "</xml>";
+
return($this->_send($xml_msg,TRUE));
}
*/
$xml_msg =
"<xml>".
- "<header>krb5_get_principal</header>".
+ "<header>gosa_krb5_get_principal</header>".
"<principal>".$name."</principal>".
"<source>GOSA</source>".
"<target>GOSA</target>".
*/
$xml_msg =
"<xml>".
- "<header>krb5_set_principal</header>".
+ "<header>gosa_krb5_set_principal</header>".
"<principal>".$name."</principal>".
$attrs.
"<source>GOSA</source>".
*/
$xml_msg =
"<xml>".
- "<header>krb5_del_principal</header>".
+ "<header>gosa_krb5_del_principal</header>".
"<principal>".$name."</principal>".
"<source>GOSA</source>".
"<target>GOSA</target>".
(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();
*/
$xml_msg =
"<xml>".
- "<header>krb5_list_policies</header>".
+ "<header>gosa_krb5_list_policies</header>".
"<source>GOSA</source>".
- "<target>GOSA</target>".
+ "<target>".$server."</target>".
"</xml>";
return($this->_send($xml_msg,TRUE));
*/
$xml_msg =
"<xml>".
- "<header>krb5_get_policy</header>".
+ "<header>gosa_krb5_get_policy</header>".
"<policy>".$name."</policy>".
"<source>GOSA</source>".
"<target>GOSA</target>".
*/
$xml_msg =
"<xml>".
- "<header>krb5_set_policy</header>".
+ "<header>gosa_krb5_set_policy</header>".
"<policy>".$name."</policy>".
$attrs.
"<source>GOSA</source>".
*/
$xml_msg =
"<xml>".
- "<header>krb5_del_policy</header>".
+ "<header>gosa_krb5_del_policy</header>".
"<policy>".$name."</policy>".
"<source>GOSA</source>".
"<target>GOSA</target>".