paul@664 | 1 | # Example directory entries. |
paul@664 | 2 | # |
paul@664 | 3 | # To populate a schema, a command resembling the following can be used: |
paul@664 | 4 | # |
paul@664 | 5 | # ldapadd -D 'cn=Directory Manager' -W -f example.ldif |
paul@664 | 6 | |
paul@664 | 7 | # See: RFC 4519 (person, organizationalPerson, organizationalUnit) |
paul@664 | 8 | # RFC 2798 (inetOrgPerson) |
paul@664 | 9 | # RFC 2739 (calEntry) |
paul@664 | 10 | # RFC 4512 (top) |
paul@664 | 11 | |
paul@664 | 12 | # Units: |
paul@664 | 13 | |
paul@664 | 14 | dn: ou=People,dc=example,dc=com |
paul@664 | 15 | objectClass: top |
paul@664 | 16 | objectClass: organizationalUnit |
paul@664 | 17 | ou: People |
paul@664 | 18 | |
paul@664 | 19 | dn: ou=Resources,dc=example,dc=com |
paul@664 | 20 | objectClass: top |
paul@664 | 21 | objectClass: organizationalUnit |
paul@664 | 22 | ou: Resources |
paul@664 | 23 | |
paul@664 | 24 | # People: |
paul@664 | 25 | |
paul@664 | 26 | dn: uid=pboddie,ou=People,dc=example,dc=com |
paul@664 | 27 | objectClass: top |
paul@664 | 28 | objectClass: person |
paul@664 | 29 | objectClass: inetOrgPerson |
paul@664 | 30 | objectClass: organizationalPerson |
paul@664 | 31 | objectClass: calEntry |
paul@664 | 32 | uid: pboddie |
paul@664 | 33 | givenName: Paul |
paul@664 | 34 | sn: Boddie |
paul@664 | 35 | cn: Paul Boddie |
paul@664 | 36 | mail: paul.boddie@example.com |
paul@664 | 37 | alias: pboddie@example.com |
paul@664 | 38 | calFBURL: http://www.example.com/freebusy/mailto:paul.boddie@example.com/freebusy |
paul@664 | 39 | |
paul@664 | 40 | dn: uid=vole,ou=People,dc=example,dc=com |
paul@664 | 41 | objectClass: top |
paul@664 | 42 | objectClass: person |
paul@664 | 43 | objectClass: inetOrgPerson |
paul@664 | 44 | objectClass: organizationalPerson |
paul@664 | 45 | objectClass: calEntry |
paul@664 | 46 | uid: vole |
paul@664 | 47 | givenName: Vincent |
paul@664 | 48 | sn: Vole |
paul@664 | 49 | cn: Vincent Vole |
paul@664 | 50 | mail: vincent.vole@example.com |
paul@664 | 51 | alias: vole@example.com |
paul@664 | 52 | calFBURL: http://www.example.com/freebusy/mailto:vincent.vole@example.com/freebusy |
paul@664 | 53 | |
paul@664 | 54 | # Resources: |
paul@664 | 55 | |
paul@664 | 56 | dn: cn=Porsche 911,ou=Resources,dc=example,dc=com |
paul@664 | 57 | objectClass: top |
paul@664 | 58 | objectClass: mailrecipient |
paul@664 | 59 | objectClass: calEntry |
paul@664 | 60 | cn: Porsche 911 |
paul@664 | 61 | mail: resource-car-porsche911@example.com |
paul@664 | 62 | calFBURL: http://www.example.com/freebusy/mailto:resource-car-porsche911@example.com/freebusy |
paul@664 | 63 | |
paul@664 | 64 | dn: cn=Conference Room,ou=Resources,dc=example,dc=com |
paul@664 | 65 | objectClass: top |
paul@664 | 66 | objectClass: mailrecipient |
paul@664 | 67 | objectClass: calEntry |
paul@664 | 68 | cn: Conference Room |
paul@664 | 69 | mail: resource-room-confroom@example.com |
paul@664 | 70 | calFBURL: http://www.example.com/freebusy/mailto:resource-room-confroom@example.com/freebusy |
paul@664 | 71 | |
paul@664 | 72 | dn: cn=Sauna,ou=Resources,dc=example,dc=com |
paul@664 | 73 | objectClass: top |
paul@664 | 74 | objectClass: mailrecipient |
paul@664 | 75 | objectClass: calEntry |
paul@664 | 76 | cn: Sauna |
paul@664 | 77 | mail: resource-room-sauna@example.com |
paul@664 | 78 | calFBURL: http://www.example.com/freebusy/mailto:resource-room-sauna@example.com/freebusy |