summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f4843a)
raw | patch | inline | side by side (parent: 0f4843a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Mar 2010 13:38:40 +0000 (13:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Mar 2010 13:38:40 +0000 (13:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17111 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/samba/personal/samba/class_sambaAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc
index 828c9919b7f2985db3a07d2086d9454430ea62de..2346f6124df227f1c3b63d9c660ccb024c419957 100644 (file)
/* Get user infos
*/
foreach($user_attributes as $attr){
+ $$attr = "unset";
if(isset($this->attrs[$attr])){
$$attr = $this->attrs[$attr][0];
}
/* DOMAIN Attributes
*/
+ /* sambaMinPwdLength: Password length has a default of 5
+ */
+ if($sambaSID == "unset"){
+ $sambaSID = "<i>("._("unset").")</i>";
+ }
+
+ /* sambaPwdHistoryLength: Length of Password History Entries (default: 0 => off)
/* sambaMinPwdLength: Password length has a default of 5
*/
if($sambaMinPwdLength == "unset" || $sambaMinPwdLength == 5){
$str =
"\n<div style='height:200px; overflow: auto;'>".
- "\n<table style='width:100%;'>".
+ "\n<table style='width:100%;' summary=\""._("Domain settings")."\">".
"\n<tr><td><b>"._("Domain attributes")."</b></td></tr>".
"\n<tr><td>"._("Min password length").": </td><td>".$sambaMinPwdLength."</td></tr>".
"\n<tr><td>"._("Min password length").": </td><td>".$sambaMinPwdLength."</td></tr>".