Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

protocol.js 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // Copyright 2011 Mark Cavage, Inc. All rights reserved.
  2. module.exports = {
  3. // Misc
  4. LDAP_VERSION_3: 0x03,
  5. LBER_SET: 0x31,
  6. LDAP_CONTROLS: 0xa0,
  7. // Search
  8. SCOPE_BASE_OBJECT: 0,
  9. SCOPE_ONE_LEVEL: 1,
  10. SCOPE_SUBTREE: 2,
  11. NEVER_DEREF_ALIASES: 0,
  12. DEREF_IN_SEARCHING: 1,
  13. DEREF_BASE_OBJECT: 2,
  14. DEREF_ALWAYS: 3,
  15. FILTER_AND: 0xa0,
  16. FILTER_OR: 0xa1,
  17. FILTER_NOT: 0xa2,
  18. FILTER_EQUALITY: 0xa3,
  19. FILTER_SUBSTRINGS: 0xa4,
  20. FILTER_GE: 0xa5,
  21. FILTER_LE: 0xa6,
  22. FILTER_PRESENT: 0x87,
  23. FILTER_APPROX: 0xa8,
  24. FILTER_EXT: 0xa9,
  25. // Protocol Operations
  26. LDAP_REQ_BIND: 0x60,
  27. LDAP_REQ_UNBIND: 0x42,
  28. LDAP_REQ_SEARCH: 0x63,
  29. LDAP_REQ_MODIFY: 0x66,
  30. LDAP_REQ_ADD: 0x68,
  31. LDAP_REQ_DELETE: 0x4a,
  32. LDAP_REQ_MODRDN: 0x6c,
  33. LDAP_REQ_COMPARE: 0x6e,
  34. LDAP_REQ_ABANDON: 0x50,
  35. LDAP_REQ_EXTENSION: 0x77,
  36. LDAP_REP_BIND: 0x61,
  37. LDAP_REP_SEARCH_ENTRY: 0x64,
  38. LDAP_REP_SEARCH_REF: 0x73,
  39. LDAP_REP_SEARCH: 0x65,
  40. LDAP_REP_MODIFY: 0x67,
  41. LDAP_REP_ADD: 0x69,
  42. LDAP_REP_DELETE: 0x6b,
  43. LDAP_REP_MODRDN: 0x6d,
  44. LDAP_REP_COMPARE: 0x6f,
  45. LDAP_REP_EXTENSION: 0x78
  46. };