90 lines
5.4 KiB
HTML
90 lines
5.4 KiB
HTML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow"/>
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<title>Directory Server (LDAP) - Edit an attribute</title>
|
||
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
||
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<a name="rzahyeditattr"></a>
|
||
|
<h3 id="rzahyeditattr">Edit an attribute</h3>
|
||
|
<p>Not all schema changes are allowed. See <a href="rzahydisallowschema.htm#rzahydisallowschema">Disallowed schema changes</a> for
|
||
|
change restrictions.</p>
|
||
|
<p>Any part of a definition can be changed before you have added entries that
|
||
|
use the attribute. Use either of the following methods to edit an attribute.
|
||
|
The Web administration tool is the preferred method.</p>
|
||
|
<p><span class="bold">Web administration</span></p>
|
||
|
<p>If you have not done so already, expand <span class="bold">Schema management</span> in the navigation area, then click <span class="bold">Manage attributes</span>. To edit an attribute:</p>
|
||
|
<ol type="1">
|
||
|
<li>Click the radio button next to the attribute that you want to edit.</li>
|
||
|
<li>Click <span class="bold">Edit </span>.</li>
|
||
|
<li>Select a tab:
|
||
|
<ul>
|
||
|
<li>Use the <span class="bold">General</span> tab to:
|
||
|
<ul>
|
||
|
<li>Select a tab, either:
|
||
|
<ul>
|
||
|
<li><span class="bold">General</span> to:
|
||
|
<ul>
|
||
|
<li>Change the <span class="bold">Description</span></li>
|
||
|
<li>Change the <span class="bold">Syntax</span></li>
|
||
|
<li>Set the <span class="bold">Attribute length</span></li>
|
||
|
<li>Change the <span class="bold">Multiple value</span> settings</li>
|
||
|
<li>Select a <span class="bold">Matching rule</span></li>
|
||
|
<li>Change the <span class="bold">Superior attribute</span></li></ul></li>
|
||
|
<li>Click the <span class="bold">IBM extensions</span> tab to edit the extensions
|
||
|
for the attribute, or click <span class="bold">OK</span> to apply your changes
|
||
|
or click <span class="bold">Cancel</span> to return to <span class="bold">Manage
|
||
|
attributes</span> without making any changes.</li>
|
||
|
<li><span class="bold">IBM extensions</span>, if you are using the IBM Directory
|
||
|
Server, to:
|
||
|
<ul>
|
||
|
<li>Change the <span class="bold">Security class </span></li>
|
||
|
<li>Change the <span class="bold">Indexing rules</span></li></ul></li></ul></li>
|
||
|
<li>Click <span class="bold">OK</span> to apply your changes
|
||
|
or click <span class="bold">Cancel</span> to return to <span class="bold">Manage attributes</span> without making any changes.</li></ul></li></ul></li>
|
||
|
<li>Click <span class="bold">OK</span> to apply the changes
|
||
|
or click <span class="bold">Cancel</span> to return to <span class="bold">Manage attributes</span> without making any changes.</li></ol>
|
||
|
<p><span class="bold">Command line</span></p>
|
||
|
<p>This example adds indexing to the attribute, so that searching on it is
|
||
|
faster. Use the ldapmodify command and the LDIF file to change the definition:</p>
|
||
|
<pre class="xmp">ldapmodify -D <<span class="italic">admindn</span>> -w <<span class="italic">adminpw</span>> -i myschemachange.ldif
|
||
|
</pre><p class="indatacontent">Where the <span class="bold">myschemachange.ldif</span> file contains:</p>
|
||
|
<pre class="xmp">dn: cn=schema
|
||
|
changetype: modify
|
||
|
replace: attributetypes
|
||
|
attributetypes: ( myAttribute-oid NAME ( 'myAttribute' ) DESC 'An attribute
|
||
|
I defined for my LDAP application' EQUALITY 2.5.13.2
|
||
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 USAGE userApplications )
|
||
|
-
|
||
|
replace: ibmattributetypes
|
||
|
ibmattributetypes: ( myAttribute-oid DBNAME ( 'myAttrTable' 'myAttrColumn' )
|
||
|
ACCESS-CLASS normal LENGTH 200 EQUALITY SUBSTR )</pre>
|
||
|
<a name="wq319"></a>
|
||
|
<div class="notetitle" id="wq319">Note:</div>
|
||
|
<div class="notebody">Both portions of the definition (<span class="bold">attributetypes</span> and <span class="bold">ibmattributetypes</span>)
|
||
|
must be included in the replace operation, even though only the <span class="bold">ibmattributetypes</span> section is changing. The only change is adding "EQUALITY
|
||
|
SUBSTR" to the end of the definition to request indexes for equality and substring
|
||
|
matching.</div><p class="indatacontent">See <a href="rzahyldapadd.htm#rzahyldapadd">ldapmodify and ldapadd</a> for more information
|
||
|
about this command.</p>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|