summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a0312cf)
raw | patch | inline | side by side (parent: a0312cf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Jun 2008 13:55:30 +0000 (13:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Jun 2008 13:55:30 +0000 (13:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11218 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_krb_host_keys.inc | patch | blob | history |
diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_krb_host_keys.inc b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_krb_host_keys.inc
index 85cef55f1adc3170e15e55f1a0af1bada98eff32..4f5eaaa4709d8bfa6548411b03e9c5e342fa538f 100644 (file)
private $namingAttr = "";
private $is_service_key = FALSE;
- public function __construct($config,$object)
+ private $prefix = "host/";
+
+ public function __construct($config,$object,$prefix = "host/")
{
plugin::plugin($config, NULL);
$this->object = $object;
+ $this->prefix = $prefix;
$this->o_queue = new gosaSupportDaemon();
/* Create principal name, to detect whether there is a valid host key or not
*/
- $this->init_namingAttr = $this->namingAttr = "host/".$this->object->cn;
+ $this->init_namingAttr = $this->namingAttr = $this->prefix.$this->object->cn;
$this->init();
}
$this->kerberos_support = FALSE;
if(class_available("passwordMethodMIT")){
- $this->namingAttr = "host/".$this->object->cn;
+ $this->namingAttr = $this->prefix.$this->object->cn;
/* Create password handle, it has already a working principal parsing
*/
{
/* Skip if there is no kerberos support available
*/
+ echo $this->namingAttr."<br>";
+
if(!$this->kerberos_support) return("");
$smarty = get_smarty();
$smarty->assign("server_list",$this->server_list);