Advertisement
bindaas

works

May 27th, 2015
3,757
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LDIF 1.47 KB | None | 0 0
  1. ## DEFINE DIT ROOT/BASE/SUFFIX ####
  2. ## uses RFC 2377 format
  3. ## replace example and com as necessary below
  4. ## or for experimentation leave as is
  5.  
  6. ## dcObject is an AUXILLIARY objectclass and MUST
  7. ## have a STRUCTURAL objectclass (organization in this case)
  8. # this is an ENTRY sequence and is preceded by a BLANK line
  9.  
  10. dn: dc=example,dc=com
  11. dc: example
  12. description: My wonderful company as much text as you want to place
  13.  in this line up to 32K continuation data for the line above must
  14.  have <CR> or <CR><LF> i.e. ENTER works
  15.  on both Windows and *nix system - new line MUST begin with ONE SPACE
  16. objectClass: dcObject
  17. objectClass: organization
  18. o: Example, Inc.
  19.  
  20. ## FIRST Level hierarchy - people
  21. ## uses mixed upper and lower case for objectclass
  22. # this is an ENTRY sequence and is preceded by a BLANK line
  23.  
  24. dn: ou=people, dc=example,dc=com
  25. ou: people
  26. description: All people in organisation
  27. objectclass: organizationalunit
  28.  
  29. ## SECOND Level hierarchy
  30. ## ADD a single entry under FIRST (people) level
  31. # this is an ENTRY sequence and is preceded by a BLANK line
  32. # the ou: Human Resources is the department name
  33.  
  34. dn: cn=Robert Smith,ou=people,dc=example,dc=com
  35. objectclass: inetOrgPerson
  36. cn: Robert Smith
  37. cn: Robert J Smith
  38. cn: bob  smith
  39. sn: smith
  40. uid: rjsmith
  41. userpassword: rJsmitH
  42. carlicense: HISCAR 123
  43. homephone: 555-111-2222
  44. mail: r.smith@example.com
  45. mail: rsmith@example.com
  46. mail: bob.smith@example.com
  47. description: swell guy
  48. ou: Human Resources
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement