| [861] | 1 | To set up a new LDAP server: | 
|---|
 | 2 |  | 
|---|
| [1680] | 3 | - Install the RPM 389-ds-base with yum (these are installed by kickstart | 
|---|
 | 4 |   these days, so these two steps are probably not necessary) | 
|---|
| [1645] | 5 |   root# yum install -y 389-ds-base | 
|---|
| [1680] | 6 |   root# yum install -y policycoreutils-python | 
|---|
 | 7 |   root# yum install -y ldapvi | 
|---|
| [1645] | 8 | - We want to run the directory server as its own user, so create fedora-ds | 
|---|
| [1680] | 9 |   root# useradd -r -d /var/lib/dirsrv fedora-ds | 
|---|
| [1677] | 10 | - Temporarily move away the existing slapd-scripts folder | 
|---|
 | 11 |   root# mv /etc/dirsrv/slapd-scripts{,.bak} | 
|---|
| [861] | 12 | - root# /usr/sbin/setup-ds.pl | 
|---|
 | 13 |     - Choose a typical install | 
|---|
 | 14 |     - Tell it to use the fedora-ds user and group | 
|---|
 | 15 |     - Directory server identifier: scripts | 
|---|
| [1645] | 16 |         Needed to remove this from the config file first | 
|---|
| [861] | 17 |     - Suffix: dc=scripts,dc=mit,dc=edu | 
|---|
 | 18 |     - Input directory manager password | 
|---|
| [1645] | 19 |       (this can be found in  ~/.ldapvirc) | 
|---|
| [1677] | 20 | - Move the schema back | 
|---|
 | 21 |   root# cp -R /etc/dirsrv/slapd-scripts.bak/{.svn,*} /etc/dirsrv/slapd-scripts | 
|---|
 | 22 |   root# rm -Rf /etc/dirsrv/slapd-scripts.bak | 
|---|
| [1680] | 23 | - Turn dirsrv off: service dirsrv stop | 
|---|
| [1645] | 24 | - Apply the following configuration changes.  If you're editing | 
|---|
 | 25 |   dse.ldif, you don't want dirsrv to be on, otherwise it will | 
|---|
 | 26 |   overwrite your changes. [XXX: show how to do these changes with | 
|---|
 | 27 |   dsconf, which is the "blessed" method] | 
|---|
 | 28 |  | 
|---|
 | 29 | # Inside cn=config.  These changes definitely require a restart. | 
|---|
| [1878] | 30 | nsslapd-ldapifilepath: /var/run/slapd-scripts.socket | 
|---|
| [1645] | 31 | nsslapd-ldapilisten: on | 
|---|
| [1698] | 32 | nsslapd-syntaxcheck: off | 
|---|
| [1645] | 33 |  | 
|---|
 | 34 | # Add these blocks | 
|---|
 | 35 |  | 
|---|
 | 36 | # mapname, mapping, sasl, config | 
|---|
 | 37 | # This is the most liberal mapping you can have for SASL: you can | 
|---|
 | 38 | # basically add authentication for any given GSSAPI mechanism by | 
|---|
 | 39 | # explicitly creating the UID for that SASL string. | 
|---|
 | 40 | dn: cn=mapname,cn=mapping,cn=sasl,cn=config | 
|---|
 | 41 | objectClass: top | 
|---|
 | 42 | objectClass: nsSaslMapping | 
|---|
 | 43 | cn: mapname | 
|---|
 | 44 | nsSaslMapRegexString: \(.*\) | 
|---|
 | 45 | nsSaslMapBaseDNTemplate: uid=\1,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 46 | nsSaslMapFilterTemplate: (objectClass=posixAccount) | 
|---|
 | 47 |  | 
|---|
 | 48 | - Put LDAP keytab (ldap/hostname.mit.edu) in /etc/dirsrv/keytab.  Make | 
|---|
 | 49 |   sure you chown/chgrp it to be readable by fedora-ds | 
|---|
 | 50 | - Uncomment and modify in /etc/sysconfig/dirsrv: KRB5_KTNAME=/etc/dirsrv/keytab ; export KRB5_KTNAME | 
|---|
 | 51 | - chown fedora-ds:fedora-ds /var/run/dirsrv | 
|---|
| [1698] | 52 | - chown fedora-ds /etc/dirsrv/keytab | 
|---|
| [1677] | 53 | - /sbin/service dirsrv start | 
|---|
 | 54 | - Use ldapvi -b cn=config to add these indexes (8 of them): | 
|---|
| [861] | 55 |  | 
|---|
| [880] | 56 | add cn=apacheServerName, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 57 | objectClass: top | 
|---|
 | 58 | objectClass: nsIndex | 
|---|
 | 59 | cn: apacheServerName | 
|---|
 | 60 | nsSystemIndex: false | 
|---|
 | 61 | nsIndexType: eq | 
|---|
 | 62 | nsIndexType: pres | 
|---|
 | 63 |  | 
|---|
 | 64 | add cn=apacheServerAlias, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 65 | objectClass: top | 
|---|
 | 66 | objectClass: nsIndex | 
|---|
 | 67 | cn: apacheServerAlias | 
|---|
 | 68 | nsSystemIndex: false | 
|---|
 | 69 | nsIndexType: eq | 
|---|
 | 70 | nsIndexType: pres | 
|---|
 | 71 |  | 
|---|
| [1473] | 72 | add cn=scriptsVhostName, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 73 | objectClass: top | 
|---|
 | 74 | objectClass: nsIndex | 
|---|
 | 75 | cn: scriptsVhostName | 
|---|
 | 76 | nsSystemIndex: false | 
|---|
 | 77 | nsIndexType: eq | 
|---|
 | 78 | nsIndexType: pres | 
|---|
| [880] | 79 |  | 
|---|
| [1473] | 80 | add cn=scriptsVhostAlias, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 81 | objectClass: top | 
|---|
 | 82 | objectClass: nsIndex | 
|---|
 | 83 | cn: scriptsVhostAlias | 
|---|
 | 84 | nsSystemIndex: false | 
|---|
 | 85 | nsIndexType: eq | 
|---|
 | 86 | nsIndexType: pres | 
|---|
 | 87 |  | 
|---|
| [1532] | 88 | add cn=scriptsVhostAccount, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 89 | objectClass: top | 
|---|
 | 90 | objectClass: nsIndex | 
|---|
 | 91 | cn: scriptsVhostAccount | 
|---|
 | 92 | nsSystemIndex: false | 
|---|
 | 93 | nsIndexType: eq | 
|---|
 | 94 | nsIndexType: pres | 
|---|
 | 95 |  | 
|---|
| [1473] | 96 | add cn=memberuid, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 97 | objectClass: top | 
|---|
 | 98 | objectClass: nsIndex | 
|---|
 | 99 | cn: memberuid | 
|---|
 | 100 | nsSystemIndex: false | 
|---|
 | 101 | nsIndexType: eq | 
|---|
 | 102 | nsIndexType: pres | 
|---|
 | 103 |  | 
|---|
 | 104 | add cn=uidnumber, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 105 | objectClass: top | 
|---|
 | 106 | objectClass: nsIndex | 
|---|
 | 107 | cn: uidnumber | 
|---|
 | 108 | nsSystemIndex: false | 
|---|
 | 109 | nsIndexType: eq | 
|---|
 | 110 | nsIndexType: pres | 
|---|
 | 111 |  | 
|---|
 | 112 | add cn=gidnumber, cn=index, cn=userRoot, cn=ldbm database, cn=plugins, cn=config | 
|---|
 | 113 | objectClass: top | 
|---|
 | 114 | objectClass: nsIndex | 
|---|
 | 115 | cn: gidnumber | 
|---|
 | 116 | nsSystemIndex: false | 
|---|
 | 117 | nsIndexType: eq | 
|---|
 | 118 | nsIndexType: pres | 
|---|
 | 119 |  | 
|---|
 | 120 | - Build the indexes for all the fields: | 
|---|
 | 121 |  | 
|---|
 | 122 |     /usr/lib64/dirsrv/slapd-scripts/db2index.pl -D "cn=Directory Manager" -j /etc/signup-ldap-pw -n userRoot | 
|---|
 | 123 |  | 
|---|
| [1645] | 124 |   (/etc/signup-ldap-pw is the LDAP root password, make sure it's | 
|---|
 | 125 |   chmodded correctly and chowned to signup. Also, make sure it doesn't | 
|---|
 | 126 |   have a trailing newline!) | 
|---|
 | 127 |  | 
|---|
| [1473] | 128 | -  Watch for the indexing operations to finish with this command: | 
|---|
 | 129 |  | 
|---|
 | 130 |     ldapsearch -x -y /etc/signup-ldap-pw -D 'cn=Directory Manager' -b cn=tasks,cn=config | 
|---|
 | 131 |  | 
|---|
| [1645] | 132 |   (look for nktaskstatus) | 
|---|
 | 133 |  | 
|---|
 | 134 | - Set up replication. | 
|---|
 | 135 |  | 
|---|
 | 136 |   We used to tell people to go execute | 
|---|
 | 137 |   http://directory.fedoraproject.org/sources/contrib/mmr.pl manually | 
|---|
 | 138 |   (manually because that script assumes only two masters and we have | 
|---|
 | 139 |   every one of our servers set up as a master.)  However, those | 
|---|
 | 140 |   instructions are inaccurate, because we use GSSAPI, not SSL and | 
|---|
 | 141 |   because the initializing procedure is actually prone to a race | 
|---|
 | 142 |   condition.  Here are some better instructions. | 
|---|
 | 143 |  | 
|---|
 | 144 |   LDAP replication is based around producers and consumers.  Producers | 
|---|
 | 145 |   push changes in LDAP to consumers: these arrangements are called | 
|---|
 | 146 |   "replication agreements" and the producer will hold a | 
|---|
 | 147 |   nsDS5ReplicationAgreement object that represents this commitment, | 
|---|
 | 148 |   as well as some extra configuration to say who consumers will accept | 
|---|
 | 149 |   replication data from (a nsDS5Replica). | 
|---|
 | 150 |  | 
|---|
 | 151 |   The procedure, at a high level, is this: | 
|---|
 | 152 |  | 
|---|
 | 153 |     1. Pick an arbitrary existing master.  The current server will | 
|---|
 | 154 |        be configured as a slave to that master.  Initialize a changelog, | 
|---|
 | 155 |        then request a replication to populate our server with | 
|---|
 | 156 |        information. | 
|---|
 | 157 |  | 
|---|
 | 158 |             M1 <---> M2 ---> S | 
|---|
 | 159 |  | 
|---|
 | 160 |     2. Configure the new server to be replicated back. | 
|---|
 | 161 |  | 
|---|
 | 162 |             M1 <---> M2 <---> S | 
|---|
 | 163 |  | 
|---|
 | 164 |     3. Set up the rest of the replication agreements at your leisure. | 
|---|
 | 165 |  | 
|---|
 | 166 |                 M1 <---> M2 | 
|---|
 | 167 |                 ^         ^ | 
|---|
 | 168 |                 |         | | 
|---|
 | 169 |                 +--> S <--+ | 
|---|
 | 170 |  | 
|---|
 | 171 |   Here's how you do it. | 
|---|
 | 172 |  | 
|---|
 | 173 |     1. Pull open the replication part of the database. It's fairly empty | 
|---|
 | 174 |        right now. | 
|---|
 | 175 |  | 
|---|
| [1680] | 176 |         ldapvi -b cn=\"dc=scripts,dc=mit,dc=edu\",cn=mapping\ tree,cn=config | 
|---|
| [1645] | 177 |  | 
|---|
 | 178 |     2. Configure the server $SLAVE (this server) to accept $MASTER | 
|---|
 | 179 |        replications by adding the following LDAP entries: | 
|---|
 | 180 |  | 
|---|
 | 181 | add cn=replica, cn="dc=scripts,dc=mit,dc=edu", cn=mapping tree, cn=config | 
|---|
 | 182 | objectClass: top | 
|---|
 | 183 | objectClass: nsDS5Replica | 
|---|
 | 184 | cn: replica | 
|---|
 | 185 | nsDS5ReplicaId: $REPLICA_ID | 
|---|
 | 186 | nsDS5ReplicaRoot: dc=scripts,dc=mit,dc=edu | 
|---|
 | 187 | nsDS5Flags: 1 | 
|---|
 | 188 | nsDS5ReplicaBindDN: uid=ldap/bees-knees.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 189 | nsDS5ReplicaBindDN: uid=ldap/busy-beaver.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 190 | nsDS5ReplicaBindDN: uid=ldap/cats-whiskers.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 191 | nsDS5ReplicaBindDN: uid=ldap/pancake-bunny.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 192 | nsDS5ReplicaBindDN: uid=ldap/whole-enchilada.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 193 | nsDS5ReplicaBindDN: uid=ldap/real-mccoy.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
| [1677] | 194 | nsDS5ReplicaBindDN: uid=ldap/better-mousetrap.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 195 | nsDS5ReplicaBindDN: uid=ldap/old-faithful.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
| [1698] | 196 | nsDS5ReplicaBindDN: uid=ldap/shining-armor.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
| [1645] | 197 | nsds5ReplicaPurgeDelay: 604800 | 
|---|
 | 198 | nsds5ReplicaLegacyConsumer: off | 
|---|
 | 199 | nsDS5ReplicaType: 3 | 
|---|
 | 200 |  | 
|---|
 | 201 |         $REPLICA_ID is the scripts$N number (stella $HOSTNAME to find | 
|---|
 | 202 |         out.)  You might wonder why we are binding to all servers; | 
|---|
 | 203 |         weren't we going to replicate from only one server?  That is | 
|---|
 | 204 |         correct, however, simply binding won't mean we will receive | 
|---|
| [1677] | 205 |         updates; we have to setup the $MASTER to send data $SLAVE. | 
|---|
| [1645] | 206 |  | 
|---|
 | 207 |     3. Although we allowed those uids to bind, that user information | 
|---|
 | 208 |        doesn't exist on $SLAVE yet.  So you'll need to create the entry | 
|---|
 | 209 |        for just $MASTER. | 
|---|
 | 210 |  | 
|---|
 | 211 | add uid=ldap/$MASTER,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 212 | uid: ldap/$MASTER | 
|---|
 | 213 | objectClass: account | 
|---|
 | 214 | objectClass: top | 
|---|
 | 215 |  | 
|---|
 | 216 |     4. Though our $SLAVE will not be making changes to LDAP, we need to | 
|---|
 | 217 |        initialize the changelog because we intend to be able to do this | 
|---|
 | 218 |        later. | 
|---|
 | 219 |  | 
|---|
 | 220 | add cn=changelog5,cn=config | 
|---|
 | 221 | objectclass: top | 
|---|
 | 222 | objectclass: extensibleObject | 
|---|
 | 223 | cn: changelog5 | 
|---|
 | 224 | nsslapd-changelogdir: /etc/dirsrv/slapd-scripts/changelogdb | 
|---|
 | 225 |  | 
|---|
 | 226 |     5. Ok, now go to your $MASTER server that you picked (it should have | 
|---|
 | 227 |        been one of the hosts mentioned in nsDS5ReplicaBindDN) and tell | 
|---|
 | 228 |        it to replicate to $SLAVE. | 
|---|
 | 229 |  | 
|---|
| [1680] | 230 |        The last line runs the replication.  This is perhaps the most | 
|---|
 | 231 |        risky step of the process; see below for help debugging problems. | 
|---|
 | 232 |  | 
|---|
| [1677] | 233 |        WARNING: There is a known bug doing full updates from 1.2.6 to | 
|---|
 | 234 |        1.2.6, see https://bugzilla.redhat.com/show_bug.cgi?id=637852 | 
|---|
 | 235 |  | 
|---|
| [1645] | 236 | add cn="GSSAPI Replication to $SLAVE", cn=replica, cn="dc=scripts,dc=mit,dc=edu", cn=mapping tree, cn=config | 
|---|
 | 237 | objectClass: top | 
|---|
 | 238 | objectClass: nsDS5ReplicationAgreement | 
|---|
 | 239 | cn: "GSSAPI Replication to $SLAVE" | 
|---|
 | 240 | cn: GSSAPI Replication to $SLAVE | 
|---|
 | 241 | nsDS5ReplicaHost: $SLAVE | 
|---|
 | 242 | nsDS5ReplicaRoot: dc=scripts,dc=mit,dc=edu | 
|---|
 | 243 | nsDS5ReplicaPort: 389 | 
|---|
 | 244 | nsDS5ReplicaTransportInfo: LDAP | 
|---|
| [1680] | 245 | nsDS5ReplicaBindDN: uid=ldap/$MASTER,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
| [1645] | 246 | nsDS5ReplicaBindMethod: SASL/GSSAPI | 
|---|
 | 247 | nsDS5ReplicaUpdateSchedule: "0000-2359 0123456" | 
|---|
 | 248 | nsDS5ReplicaTimeout: 120 | 
|---|
 | 249 | nsDS5BeginReplicaRefresh: start | 
|---|
 | 250 |  | 
|---|
 | 251 |     5. Check that the replication is running; the status will be stored | 
|---|
 | 252 |     in the object we've been mucking around with. | 
|---|
 | 253 |  | 
|---|
 | 254 |     If it fails with LDAP Error 49, check /var/log/dirsrv on $MASTER | 
|---|
 | 255 |     for more information.  It might be because fedora-ds can't read | 
|---|
 | 256 |     /etc/dirsrv/keytab | 
|---|
 | 257 |  | 
|---|
 | 258 |     6. Replicate in the other direction.  On $MASTER, add $SLAVE | 
|---|
 | 259 |     as a nsDS5ReplicaBindDN in cn=replica,cn="dc=scripts,dc=mit,dc=edu",cn=mapping tree,cn=config | 
|---|
 | 260 |     Also, add an account for $SLAVE | 
|---|
 | 261 |  | 
|---|
 | 262 | add uid=ldap/$SLAVE,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 263 | uid: ldap/$SLAVE | 
|---|
 | 264 | objectClass: account | 
|---|
 | 265 | objectClass: top | 
|---|
 | 266 |  | 
|---|
 | 267 |     On $SLAVE, | 
|---|
 | 268 |  | 
|---|
 | 269 | add cn="GSSAPI Replication to $MASTER", cn=replica, cn="dc=scripts,dc=mit,dc=edu", cn=mapping tree, cn=config | 
|---|
 | 270 | objectClass: top | 
|---|
 | 271 | objectClass: nsDS5ReplicationAgreement | 
|---|
 | 272 | cn: "GSSAPI Replication to $MASTER" | 
|---|
 | 273 | cn: GSSAPI Replication to $MASTER | 
|---|
 | 274 | nsDS5ReplicaHost: $MASTER | 
|---|
 | 275 | nsDS5ReplicaRoot: dc=scripts,dc=mit,dc=edu | 
|---|
 | 276 | nsDS5ReplicaPort: 389 | 
|---|
 | 277 | nsDS5ReplicaTransportInfo: LDAP | 
|---|
 | 278 | nsDS5ReplicaBindDN: uid=ldap/$SLAVE,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 279 | nsDS5ReplicaBindMethod: SASL/GSSAPI | 
|---|
 | 280 | nsDS5ReplicaUpdateSchedule: "0000-2359 0123456" | 
|---|
 | 281 | nsDS5ReplicaTimeout: 120 | 
|---|
 | 282 |  | 
|---|
 | 283 |     If you get a really scary internal server error, that might mean you | 
|---|
 | 284 |     forgot to initialize the changelog.  Remove the replication | 
|---|
 | 285 |     agreement (you'll need to turn off dirsrv), add the changelog, and | 
|---|
 | 286 |     then try again. | 
|---|
 | 287 |  | 
|---|
| [1672] | 288 | Troubleshooting | 
|---|
 | 289 | =============== | 
|---|
 | 290 |  | 
|---|
| [1677] | 291 | LDAP multimaster replication can fail in a number of colorful ways; | 
|---|
 | 292 | combine that with GSSAPI authentication and it goes exponential. | 
|---|
 | 293 |  | 
|---|
 | 294 | If authentication is failing with LDAP error 49, check if: | 
|---|
 | 295 |  | 
|---|
 | 296 |     * /etc/dirsrv/keytab | 
|---|
 | 297 |     * fedora-ds is able to read /etc/dirsrv/keytab | 
|---|
 | 298 |     * /etc/hosts has not been modified by Network Manager (you | 
|---|
 | 299 |       /did/ uninstall it, right? Right?) | 
|---|
 | 300 |  | 
|---|
| [1672] | 301 | If the failure is local to a single master, usually you can recover | 
|---|
 | 302 | by asking another master to refresh that master with: | 
|---|
 | 303 |  | 
|---|
 | 304 | nsDS5BeginReplicaRefresh: start | 
|---|
 | 305 |  | 
|---|
 | 306 | In practice, we've also had problems with this technique.  Some of them | 
|---|
 | 307 | include: | 
|---|
 | 308 |  | 
|---|
 | 309 | * Something like https://bugzilla.redhat.com/show_bug.cgi?id=547503 | 
|---|
 | 310 |   on Fedora 11 ns-slapd, where replication is turned off to do the | 
|---|
 | 311 |   replication, but then it wedges and you need to forcibly kill the | 
|---|
 | 312 |   process. | 
|---|
 | 313 |  | 
|---|
 | 314 | * Failed LDAP authentication because another master attempted to do | 
|---|
 | 315 |   an incremental update. | 
|---|
 | 316 |  | 
|---|
 | 317 | * Repropagation of the error because the corrupt master thinks it still | 
|---|
 | 318 |   should push updates. | 
|---|
 | 319 |  | 
|---|
 | 320 | So the extremely safe method to bring up a crashed master is as follows: | 
|---|
 | 321 |  | 
|---|
 | 322 | 1. Disable all incoming and outgoing replication agreements by editing | 
|---|
 | 323 |    /etc/dirsrv/slapd-scripts/dse.ldif. You'll need to munge: | 
|---|
 | 324 |  | 
|---|
 | 325 |    nsDS5ReplicaBindDN in cn=replica,cn=dc\3Dscripts\2Cdc\3Dmit\2Cdc\3Dedu,cn=mapping tree,cn=config | 
|---|
 | 326 |  | 
|---|
 | 327 |    and all of the push agreements.  Deleting them outright works, but | 
|---|
 | 328 |    means you'll have to reconstruct all of the agreements from scratch. | 
|---|
 | 329 |  | 
|---|
 | 330 | 2. Bring up the server. | 
|---|
 | 331 |  | 
|---|
 | 332 | 3. Accept incoming replication data from a single server. | 
|---|
 | 333 |  | 
|---|
 | 334 | 4. Initiate a full update from that server. | 
|---|
 | 335 |  | 
|---|
 | 336 | 5. Finish setting up replication as described above. | 
|---|
 | 337 |  | 
|---|
 | 338 | If your database gets extremely fucked, other servers may not be able | 
|---|
 | 339 | to authenticate because your authentication information has gone missing. | 
|---|
 | 340 | In that case, the minimal set of entries you need is: | 
|---|
 | 341 |  | 
|---|
 | 342 | add dc=scripts,dc=mit,dc=edu | 
|---|
 | 343 | objectClass: top | 
|---|
 | 344 | objectClass: domain | 
|---|
 | 345 | dc: scripts | 
|---|
 | 346 |  | 
|---|
 | 347 | add ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
 | 348 | objectClass: top | 
|---|
 | 349 | objectClass: organizationalunit | 
|---|
 | 350 | ou: People | 
|---|
 | 351 |  | 
|---|
| [1677] | 352 | add uid=ldap/whole-enchilada.mit.edu,ou=People,dc=scripts,dc=mit,dc=edu | 
|---|
| [1672] | 353 | objectClass: account | 
|---|
 | 354 | objectClass: top | 
|---|
| [1677] | 355 | uid: ldap/whole-enchilada.mit.edu | 
|---|