1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
<dtml-var manage_page_header>
<dtml-with "_(management_view='LDAP Schema')">
<dtml-var manage_tabs>
</dtml-with>
<p class="form-help">
This form is used to input the attributes for user records
as defined by your LDAP schema.
The attributes you define here drive all the select boxes
that deal with user attributes in the management interface, like the attribute
to search by on the "Search" tab, the attributes you can choose as the
Login Name on the "Properties" tab or the attributes you can map to special
user object attributes on the "Advanced" tab.
</p>
<p class="form-help">
Adding or removing attributes on this page does not affect
your LDAP schema in any way, it will only affect what the LDAPUserFolder
knows about your schema.
</p>
<form method="post" action="&dtml-URL1;">
<table cellspacing="0" cellpadding="2" width="98%">
<dtml-in expr="getSchemaDict()" mapping>
<dtml-if name="sequence-start">
<tr class="list-header">
<td align="left" valign="top" width="16"> </td>
<td><div class="form-label"> LDAP Attribute Name </div></td>
<td><div class="form-label"> Friendly Name </div></td>
<td><div class="form-label"> Mapped to Name </div></td>
<td><div class="form-label"> Multi-valued </div></td>
</tr>
</dtml-if>
<dtml-if sequence-odd>
<tr class="row-normal">
<dtml-else>
<tr class="row-hilite">
</dtml-if>
<td align="left" valign="top" width="16">
<input type="checkbox" name="ldap_names:list" value="&dtml-ldap_name;" />
</td>
<td><div class="list-item"> &dtml-ldap_name; </div></td>
<td><div class="list-item"> &dtml-friendly_name; </div></td>
<td><div class="list-item"> &dtml-public_name; </div></td>
<td>
<div class="list-item">
<dtml-let mv="_['sequence-item'].get('multivalued', '')">
<dtml-var "mv and 'Yes' or 'No'">
</dtml-let>
</div>
</td>
<dtml-if name="sequence-end">
<tr>
<td align="left" valign="top" colspan="5"><div class="form-element">
<br />
<input class="form-element" type="submit" value=" Delete "
name="manage_deleteLDAPSchemaItems:method" />
</div><br /></td>
</tr>
</dtml-if>
</dtml-in>
</table>
</form>
<p><br></p>
<form action="manage_addLDAPSchemaItem" method="post">
<table cellspacing="0" cellpadding="2" width="98%">
<tr class="list-header">
<td colspan="2"><div class="form-label"> Add LDAP schema item </div></td>
</tr>
<tr>
<td align="left" valign="top"><div class="form-label">
LDAP Attribute Name
</div></td>
<td align="left" valign="top">
<input type="text" name="ldap_name" size="50" />
</td>
</tr>
<tr>
<td align="left" valign="top"><div class="form-label">
Friendly Name
</div></td>
<td align="left" valign="top">
<input type="text" name="friendly_name" size="50" />
</td>
</tr>
<tr>
<td align="left" valign="top"><div class="form-label">
Multi-valued
</div></td>
<td align="left" valign="top">
<input type="checkbox" name="multivalued" />
</td>
</tr>
<tr>
<td align="left" valign="top"><div class="form-optional">
Map to Name (optional)
</div></td>
<td align="left" valign="top">
<input type="text" name="public_name" size="50" />
</td>
</tr>
<tr>
<td align="left" valign="top" colspan="2"><div class="form-element">
<br />
<input class="form-element" type="submit" value=" Add " />
</div></td>
</tr>
</table>
</form>
<dtml-var manage_page_footer>
|