diff --git a/lam/lib/ldap.inc b/lam/lib/ldap.inc index 056cf280..4367bf9e 100644 --- a/lam/lib/ldap.inc +++ b/lam/lib/ldap.inc @@ -53,21 +53,21 @@ class Ldap{ // construct arrays with known LDAP attributes $this->ldapUserAttributes = array ( "uid" => _("User ID"), - "uidNumber" => _("UID number"), - "gidNumber" => _("GID number"), + "uidnumber" => _("UID number"), + "gidnumber" => _("GID number"), "cn" => _("Username"), "host" => _("Allowed hosts"), - "givenName" => _("First name"), + "givenname" => _("First name"), "sn" => _("Last name"), - "homeDirectory" => _("Home directory"), - "loginShell" => _("Login shell"), + "homedirectory" => _("Home directory"), + "loginshell" => _("Login shell"), "mail" => _("E-Mail"), "gecos" => _("Description") ); $this->ldapGroupAttributes = array ( "cn" => _("Group name"), - "gidNumber" => _("GID number"), - "memberUID" => _("Group members"), + "gidnumber" => _("GID number"), + "memberuid" => _("Group members"), "member" => _("Group member DNs"), "description" => _("Group description") ); diff --git a/lam/locale/de_DE/LC_MESSAGES/messages.mo b/lam/locale/de_DE/LC_MESSAGES/messages.mo index be3d482e..81c65702 100644 Binary files a/lam/locale/de_DE/LC_MESSAGES/messages.mo and b/lam/locale/de_DE/LC_MESSAGES/messages.mo differ diff --git a/lam/locale/de_DE/LC_MESSAGES/messages.po b/lam/locale/de_DE/LC_MESSAGES/messages.po index 4b30e105..0f9a9aff 100644 --- a/lam/locale/de_DE/LC_MESSAGES/messages.po +++ b/lam/locale/de_DE/LC_MESSAGES/messages.po @@ -1,4 +1,4 @@ -# $Id: messages.po,v 1.9 2003/08/14 13:21:11 gruberroland Exp $ +# $Id: messages.po,v 1.10 2003/08/14 15:28:06 gruberroland Exp $ # # # LDAP Account Manager @@ -2092,11 +2092,11 @@ msgstr "Suffix" #: ../templates/account.php:439 ../templates/masscreate.php:196 #: ../templates/massdetail.php:97 ../help/help.inc:171 ../lib/account.inc:184 msgid "Surname" -msgstr "Vorname" +msgstr "Nachname" #: ../lib/account.inc:184 msgid "Surname contents invalid characters" -msgstr "Vorname enthält ungültige Zeichen" +msgstr "Nachname enthält ungültige Zeichen" #: ../help/help.inc:172 msgid "" diff --git a/lam/templates/lists/listgroups.php b/lam/templates/lists/listgroups.php index 56e22728..eaa85648 100644 --- a/lam/templates/lists/listgroups.php +++ b/lam/templates/lists/listgroups.php @@ -84,7 +84,7 @@ else for ($i = 0; $i < sizeof($temp_array); $i++) { // if value is predifined, look up description in hash_table if (substr($temp_array[$i],0,1) == "#") { - $attr = substr($temp_array[$i],1); + $attr = strtolower(substr($temp_array[$i],1)); $attr_array[$i] = $attr; $desc_array[] = strtoupper($hash_table[$attr]); } diff --git a/lam/templates/lists/listhosts.php b/lam/templates/lists/listhosts.php index 8e4fbe9b..395cc9a5 100644 --- a/lam/templates/lists/listhosts.php +++ b/lam/templates/lists/listhosts.php @@ -84,7 +84,7 @@ else for ($i = 0; $i < sizeof($temp_array); $i++) { // if value is predifined, look up description in hash_table if (substr($temp_array[$i],0,1) == "#") { - $attr = substr($temp_array[$i],1); + $attr = strtolower(substr($temp_array[$i],1)); $attr_array[$i] = $attr; $desc_array[] = strtoupper($hash_table[$attr]); } diff --git a/lam/templates/lists/listusers.php b/lam/templates/lists/listusers.php index bb279ff9..39ff84e4 100644 --- a/lam/templates/lists/listusers.php +++ b/lam/templates/lists/listusers.php @@ -79,10 +79,11 @@ if ($_SESSION["config"]->get_MaxListEntries() <= 0) $max_pageentrys = $_SESSION["config"]->get_MaxListEntries(); +// generate column attributes and descriptions for ($i = 0; $i < sizeof($temp_array); $i++) { // if value is predifined, look up description in hash_table if (substr($temp_array[$i],0,1) == "#") { - $attr = substr($temp_array[$i],1); + $attr = strtolower(substr($temp_array[$i],1)); $attr_array[$i] = $attr; $desc_array[] = strtoupper($hash_table[$attr]); }