From 261b293a48aca313a5af46185b5e1325a0c23f3c Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 23 Apr 2008 13:57:17 +0000 Subject: [PATCH] Updated list of fetched attributes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10658 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 3b07b10c8..b10d506dc 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -1404,12 +1404,17 @@ class gosaSupportDaemon "".$server."". ""; + /* Possible attributes */ + $attrs = array("MASK","POLICY","PW_HISTORY_NUM","PW_MAX_LIFE", + "PW_MIN_CLASSES","PW_MIN_LENGTH","PW_MIN_LIFE","REF_COUNT"); + $tmp = $this->_send($xml_msg,TRUE); if(isset($tmp['XML'])){ - $attrs = array("MASK","POLICY_REFCNT","PW_HISTORY_NUM","PW_MAX_LIFE","PW_MIN_CLASSES","PW_MIN_LENGTH","PW_MIN_LIFE"); foreach($attrs as $attr){ if(isset($tmp['XML'][$attr])){ $ret[$attr] = $tmp['XML'][$attr]; + }else{ + $ret[$attr] = ""; } } } -- 2.30.2