From 00f6ffddcd8581c32d507a46c7166724b60336de Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 3 Apr 2010 17:20:10 +0000 Subject: [PATCH] removed host attribute from inetOrgPerson module --- lam/docs/manual-sources/howto.xml | 72 ++++++++------- lam/docs/manual-sources/images/hostObject.png | Bin 0 -> 23555 bytes lam/lib/modules/inetOrgPerson.inc | 85 ------------------ 3 files changed, 39 insertions(+), 118 deletions(-) create mode 100644 lam/docs/manual-sources/images/hostObject.png diff --git a/lam/docs/manual-sources/howto.xml b/lam/docs/manual-sources/howto.xml index a8eede58..fea6e699 100644 --- a/lam/docs/manual-sources/howto.xml +++ b/lam/docs/manual-sources/howto.xml @@ -601,6 +601,20 @@ Have fun!
Version specific upgrade instructions +
+ 3.0.0 -> 3.1.0 + + LAM supported to set a list of valid workstations on the + "Personal" page. This required to change the LDAP schema. Since + 3.1.0 this is replaced by the new "Hosts" module for users. +
+ +
+ 2.3.0 -> 3.0.0 + + No changes. +
+
2.2.0 -> 2.3.0 @@ -1157,6 +1171,26 @@ Have fun!
+
+ Hosts + + You can specify a list of valid host names where the user may + login. If you add the value "*" then the user may login to any host. + This can be further restricted by adding explicit deny entries which + are prefixed with "!" (e.g. "!hr_server"). + + Please note that your PAM settings need to support host + restrictions. + + + + + + + + +
+
Samba 3 @@ -2335,11 +2369,13 @@ Have fun! Unix accounts - posixAccount, shadowAccount, posixGroup + posixAccount, shadowAccount, hostObject, posixGroup - nis.schema, rfc2307bis.schema + nis.schema, rfc2307bis.schema, ldapns.schema + (hostObject) - Part of OpenLDAP installation + Part of OpenLDAP installation, part of libpam-ldap + (ldapns.schema) The rfc2307bis.schema is only supported by LAM Pro. Use the nis.schema if you do not want to upgrade to LAM Pro. @@ -3089,34 +3125,4 @@ Have fun! all required packages.
- - - InetOrgPerson and the host attribute - - The attribute "host" is only in objectclass account. Unfortunatly - "account" conflicts with "inetorgperson". so there's no perfect way to use - both. - - In order to get attribute host working you have to modify - schema/inetorgperson and include host: - - # inetOrgPerson -# The inetOrgPerson represents people who are associated with an -# organization in some way. It is a structural class and is derived -# from the organizationalPerson which is defined in X.521 [X521]. -objectclass ( 2.16.840.1.113730.3.2.2 - NAME 'inetOrgPerson' - DESC 'RFC2798: Internet Organizational Person' - SUP organizationalPerson - STRUCTURAL - MAY ( - audio $ businessCategory $ carLicense $ departmentNumber $ - displayName $ employeeNumber $ employeeType $ givenName $ - homePhone $ homePostalAddress $ initials $ jpegPhoto $ - labeledURI $ mail $ manager $ mobile $ o $ pager $ - photo $ roomNumber $ secretary $ uid $ userCertificate $ - x500uniqueIdentifier $ preferredLanguage $ - userSMIMECertificate $ userPKCS12 $ host ) - ) - diff --git a/lam/docs/manual-sources/images/hostObject.png b/lam/docs/manual-sources/images/hostObject.png new file mode 100644 index 0000000000000000000000000000000000000000..f43d9c8bb6028c2ba2cae0bf0b855217594c49fc GIT binary patch literal 23555 zcmd3OWmsEX*CtPmr=^ABQl!P9NO23$mJo^;3&mTU;O@|tQXGoA6!#RDAjO>&Nz>r& z9^5jA=Y8jz>znTz`7u8R0w;T)!#O+K*1hg~EkfR^$US;M^8gPI?~(i)usR;z?La)d zza;;@1=I*szwHJNe>tnmy~Zmardwg@y0{&ubVedqy8x$u-_E${&fIpX$Jc1 z2*K~^-npsV$;^;JiVx&~$K40%1xatJric_RB;8lRv~YZ&^fBnZC)rK)H@ScA`L6=r zf2jKpr{=EJ#XKWP+kd?@3zHAAv=tn_Z7l-ar$;J^gm~cUFI!Eh=*f)bHf~1rjlr7@ zJiNUx?fYIgPk2dx_vWyqcJuq+2am?W9gPMZ%mIeLSf7!Uj-=1&-4FfdVph?&1CF#b z&4Ya1*MIySk=MDKMZ)P&J54m)BuM-oCAaQ9;2s&>Ag^PF$#YvTdt z=(Z}AUY+&!IeQA##||rFaoxy+Onx-HoJ=@8`LV}{bk0j=1%JjYW)<#ZGPd#dM zx#eR*F3OQdzm~@3*trOHiWGG(bc4kvW+p^XYEnLJ=lVk4ymFLMmbHKIS$}xZ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mK8Mr`Gi{rOBc)K1C3lr9*vp?m@w72Y+U(Uw;BfQlSZ}K8rAx!9c;rp;EwTD%?;Zs09G#}{kV+C=u zz1#i*T8An3E0C{yuYp@1n$c z9IS%{3Cuhx^SJ^yZQN0@Y5`?`l{E^&2*?vI{^3pu@!zYVn3UPGS$lFYGjBQ#lXm^k zE%cXnohpE}dMxtcfLw5VtfKI^(<9aJP%lAvd}d>LIegDGhwAUT@?w_C0+G(@+sCCz zI85nMr>5Klg9mb&yBYwuej3mLUQjAYD*b(ZJv}mFrgdTslQtnCMe!b~&1ue3>{zVK zT#=ZMSKX**so68$@ajSLo4HB>-ctt|W~J|k_V9--s*$bf3EmE0digEDr<+1&XDNG} zDKRnp(glz8Ib0wxYrc!x)o4kxTS34?S*eh~-#(fHFCFeTvzn>v{8-0ci`jVt^rN(A zk+h_}O)oS)z&eI9Sxem8_t>?G<(X~_@bd8i%7}cF04Beg_=M>6!5(!I!g*Rx`a`7o z%s@K{2Q16)Fwkk*+FQzkzRJhbRXp8W0Q}(v6Pe}u2 zz=jq0=7ru20#ZRv!)iZiW8nC&J$_1Mp7!H}_7+-mgetMayAttrs(); - if (is_array($mayAttrs)) { - for ($i = 0; $i < sizeof($mayAttrs); $i++) { - if ($mayAttrs[$i]->getName() === 'host') { - inetOrgPerson::$unix_hosts_supported = 'yes'; - break; - } - } - } - } - } - return (inetOrgPerson::$unix_hosts_supported === 'yes'); - } - /** * This function fills the message array. **/ function load_Messages() { - $this->messages['host'][0] = array('ERROR', _('Unix workstations'), _('Unix workstations are invalid!')); - $this->messages['host'][1] = array('ERROR', _('Account %s:') . ' inetOrgPerson_hosts', _('Unix workstations are invalid!')); $this->messages['givenName'][0] = array('ERROR', _('First name'), _('First name contains invalid characters!')); $this->messages['givenName'][1] = array('ERROR', _('Account %s:') . ' inetOrgPerson_lastName', _('First name contains invalid characters!')); $this->messages['lastname'][0] = array('ERROR', _('Last name'), _('Last name contains invalid characters or is empty!')); @@ -139,9 +110,6 @@ class inetOrgPerson extends baseModule implements passwordService { 'title', 'telephoneNumber', 'facsimileTelephoneNumber', 'street', 'postOfficeBox', 'postalCode', 'postalAddress', 'sn', 'userPassword', 'description', 'homePhone', 'roomNumber', 'businessCategory', 'l', 'st', 'physicalDeliveryOfficeName', 'carLicense', 'departmentNumber'); - if (isset($_SESSION['loggedIn']) && ($_SESSION['loggedIn'] === true) && $this->supportUnixHosts()) { - $return['attributes'][] = 'host'; - } // self service search attributes $return['selfServiceSearchAttributes'] = array('uid', 'mail', 'cn', 'surname', 'givenName'); // self service field settings @@ -472,20 +440,8 @@ class inetOrgPerson extends baseModule implements passwordService { 'example' => _('YourCompany, Human Resources') ); } - // Unix workstations for upload - if (isset($_SESSION['loggedIn']) && ($_SESSION['loggedIn'] === true)) { - if ($this->supportUnixHosts()) { - $return['upload_columns'][] = array( - 'name' => 'inetOrgPerson_hosts', - 'description' => _('Unix workstations'), - 'help' => 'workstations', - 'example' => _('pc01,pc02') - ); - } - } // available PDF fields $return['PDF_fields'] = array( - 'host', 'givenName', 'sn' ); @@ -623,10 +579,6 @@ class inetOrgPerson extends baseModule implements passwordService { "Headline" => _("User name"), "Text" => _("User name of the user who should be created. Valid characters are: a-z,A-Z,0-9, .-_. If user name is already used user name will be expanded with a number. The next free number will be used. Warning: Older systems have problems with user names longer than 8 characters. You can not log in to Windows if user name is longer than 16 characters.") ), - 'workstations' => array ( - "Headline" => _("Unix workstations"), - "Text" => _("Please enter a comma separated list of host names where this user is allowed to log in. If you enable host restrictions for your servers then \"*\" means every host and an empty field means no host.") - ), 'photoUpload' => array( "Headline" => _("Add photo"), "Text" => _("Please select an image file to upload. It must be in JPG format (.jpg/.jpeg).") @@ -878,20 +830,6 @@ class inetOrgPerson extends baseModule implements passwordService { } } - // handle host-attribute in on epice because it's not set by default - if ($this->supportUnixHosts()) { - $host = $_POST['host']; - if (!get_preg($host,'unixhost')) { - $errors[] = $this->messages['host'][0]; - } - $hosts = explode(",", $host); - $this->attributes['host'] = array(); - for ($i = 0; $i < sizeof($hosts); $i++) { - if ($hosts[$i] != "") { - $this->attributes['host'][] = $hosts[$i]; - } - } - } if (isset($_POST['delPhoto'])) { $this->attributes['jpegPhoto'] = array(); } @@ -1116,17 +1054,6 @@ class inetOrgPerson extends baseModule implements passwordService { 'maxlength' => '255', 'value' => $departmentNumber), array('kind' => 'help', 'value' => 'departmentNumber')); } - if ($this->supportUnixHosts()) { - $hostvalue = ""; - if (isset($this->attributes['host']) && is_array($this->attributes['host'])) { - $hostvalue .= implode(",", $this->attributes['host']); - } - $return[] = array( - array('kind' => 'text', 'text' => _('Unix workstations')), - array('kind' => 'input', 'name' => 'host', 'type' => 'text', 'size' => '30', - 'maxlength' => '255', 'value' => $hostvalue ), - array('kind' => 'help', 'value' => 'workstations')); - } if (!$this->isBooleanConfigOptionSet('inetOrgPerson_hideManager')) { // get list of existing users for manager attribute $dnUsers = $_SESSION['cache']->get_cache('uid', 'inetOrgPerson', 'user'); @@ -1218,7 +1145,6 @@ class inetOrgPerson extends baseModule implements passwordService { function get_pdfEntries() { $return = array( get_class($this) . '_description' => array('' . _('Description') . '' . $this->attributes['description'][0] . ''), - get_class($this) . '_host' => array('' . _('Unix workstations') . '' . $this->attributes['host'][0] . ''), get_class($this) . '_title' => array('' . _('Job title') . '' . $this->attributes['title'][0] . ''), get_class($this) . '_givenName' => array('' . _('First name') . '' . $this->attributes['givenName'][0] . ''), get_class($this) . '_sn' => array('' . _('Last name') . '' . $this->attributes['sn'][0] . ''), @@ -1511,17 +1437,6 @@ class inetOrgPerson extends baseModule implements passwordService { $errors[] = $errMsg; } } - // Unix workstations - if ($rawAccounts[$i][$ids['inetOrgPerson_hosts']] != "") { - if (get_preg($rawAccounts[$i][$ids['inetOrgPerson_hosts']], 'unixhost')) { - $partialAccounts[$i]['host'] = explode(",", $rawAccounts[$i][$ids['inetOrgPerson_hosts']]); - } - else { - $errMsg = $this->messages['host'][1]; - array_push($errMsg, array($i)); - $errors[] = $errMsg; - } - } if (!in_array('posixAccount', $selectedModules)) { // cn if ($rawAccounts[$i][$ids['inetOrgPerson_cn']] != "") {