Created
July 12, 2020 16:00
-
-
Save smartinrub/bf2cd826ea1a252bf9bec34da34b60e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## DEFINE DIT ROOT/BASE/SUFFIX #### | |
## uses RFC 2377 format | |
## replace example and com as necessary below | |
## or for experimentation leave as is | |
## dcObject is an AUXILLIARY objectclass and MUST | |
## have a STRUCTURAL objectclass (organization in this case) | |
# this is an ENTRY sequence and is preceded by a BLANK line | |
dn: dc=example,dc=com | |
dc: example | |
description: My wonderful company as much text as you want to place | |
in this line up to 32K continuation data for the line above must | |
have <CR> or <CR><LF> i.e. ENTER works | |
on both Windows and *nix system - new line MUST begin with ONE SPACE | |
objectClass: dcObject | |
objectClass: organization | |
o: Example, Inc. | |
## FIRST Level hierarchy - people | |
## uses mixed upper and lower case for objectclass | |
# this is an ENTRY sequence and is preceded by a BLANK line | |
dn: ou=people, dc=example,dc=com | |
ou: people | |
description: All people in organisation | |
objectclass: organizationalunit | |
## SECOND Level hierarchy | |
## ADD a single entry under FIRST (people) level | |
# this is an ENTRY sequence and is preceded by a BLANK line | |
# the ou: Human Resources is the department name | |
dn: cn=Robert Smith,ou=people,dc=example,dc=com | |
objectclass: inetOrgPerson | |
cn: Robert Smith | |
cn: Robert J Smith | |
cn: bob smith | |
sn: smith | |
uid: rjsmith | |
userpassword: rJsmitH | |
carlicense: HISCAR 123 | |
homephone: 555-111-2222 | |
mail: [email protected] | |
mail: [email protected] | |
mail: [email protected] | |
description: swell guy | |
ou: Human Resources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment