IBM BS029ML Self Help Guide - Page 58

LDAP schema design, LDAP directory server selection, example

Page 58 highlights

com (dc) dc=uk, dc=acme, dc=com ou=people uid=user1 uid=user2 uid=user3 uid=user4 uid=........ ou=groups cn=groupA cn=groupB or cn=groupC cn=groupD cn=........... acme (dc) uk de hk (dc) people groups (ou) user1 user2 user3 user4 ........ (uid) groupA groupB groupC (cn) groupD ........ Figure 2-5 LDAP Basic DIT Design LDAP schema design By default, the WebSphere Portal Server configuration assumes that the underlying LDAP directory schema uses the object class applicable to the selected LDAP directory version, for example, InetOrgPerson when using IBM Tivoli Directory Server (TDS) V6.0. This is sufficient for most organizations, as it was defined to meet the requirements found in today's internet and intranet directory service deployments. However, in some cases it may not be sufficient enough. For example, it may be necessary to add the information of an employee's Account Number, Insurance Number, and Employment Band. These attributes do not exist in the standard InetOrgPerson object class. Modifying the default object class, in an attempt to add or change an attribute, is not recommended. If the definition of one of the default attributes, for example, givenName, needs to be changed, then we recommend that a new attribute be created. However, such an attribute should only ever be created in a new custom object class. Objects can be derived from other objects. This is known as sub classing. An object class of AbcPerson could be defined as a subclass of the inetOrgPerson object class. The AbcPerson object class would have the same attributes as the inetOrgPerson object class and could add other attributes such as Account Number, Insurance Number, and Employment Band. This prevents potential conflicts when a new version of the directory is installed and the default schema is refreshed. One special object class, called top, has no superiors. The top object class includes the mandatory object Class attribute. Therefore, the attributes in top object class appear in all directory entries. LDAP directory server selection Make no mistake, all LDAP directory servers are not created equal. Tivoli Directory Server (TDS) was designed as standards-compliant enterprise directory server from inception. One of the main strengths that TDS has over other directories is that data is retained in an underlying DB2 database. Here, the DB2 database engine provides scalability to tens of millions of entries, as well as groups of hundreds of thousands of members. When this alone is compared to directories that store data as metadata on a file system, there is a distinct performance and integrity advantage. The Lotus Domino LDAP implementation only supports the indirect method to locate the group memberships for a user. As such, it is not possible to determine the group membership of a given user by querying the user object directly. Instead, group membership is achieved by 44 IBM WebSphere Portal V6 Self Help Guide

  • 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
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242

44
IBM WebSphere Portal V6 Self Help Guide
Figure 2-5
LDAP Basic DIT Design
LDAP schema design
By default, the WebSphere Portal Server configuration assumes that the underlying LDAP
directory schema uses the object class applicable to the selected LDAP directory version, for
example, InetOrgPerson when using IBM Tivoli Directory Server (TDS) V6.0. This is sufficient
for most organizations, as it was defined to meet the requirements found in today's internet
and intranet directory service deployments. However, in some cases it may not be sufficient
enough. For example, it may be necessary to add the information of an employee's Account
Number, Insurance Number, and Employment Band. These attributes do not exist in the
standard InetOrgPerson object class.
Modifying the default object class, in an attempt to add or change an attribute, is not
recommended. If the definition of one of the default attributes, for example, givenName,
needs to be changed, then we recommend that a new attribute be created. However, such an
attribute should only ever be created in a new custom object class. Objects can be derived
from other objects. This is known as sub classing. An object class of AbcPerson could be
defined as a subclass of the inetOrgPerson object class. The AbcPerson object class would
have the same attributes as the inetOrgPerson object class and could add other attributes
such as Account Number, Insurance Number, and Employment Band. This prevents potential
conflicts when a new version of the directory is installed and the default schema is refreshed.
One special object class, called top, has no superiors. The top object class includes the
mandatory object Class attribute. Therefore, the attributes in top object class appear in all
directory entries.
LDAP directory server selection
Make no mistake, all LDAP directory servers are not created equal. Tivoli Directory Server
(TDS) was designed as standards-compliant enterprise directory server from inception. One
of the main strengths that TDS has over other directories is that data is retained in an
underlying DB2 database. Here, the DB2 database engine provides scalability to tens of
millions of entries, as well as groups of hundreds of thousands of members. When this alone
is compared to directories that store data as metadata on a file system, there is a distinct
performance and integrity advantage.
The Lotus Domino LDAP implementation only supports the indirect method to locate the
group memberships for a user. As such, it is not possible to determine the group membership
of a given user by querying the user object directly. Instead, group membership is achieved by
dc=uk, dc=acme, dc=com
ou=people
ou=groups
uid=user1
cn=groupA
cn=groupB
cn=groupC
cn=groupD
uid=user2
uid=user3
uid=user4
uid=……..
cn=………..
com
acme
(dc)
uk
de
hk
people
groups
(dc)
(dc)
(ou)
(uid)
(cn)
user1
user2
user3
user4
……..
groupA
groupB
groupC
groupD
……..
or