certmap.conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # BEGIN COPYRIGHT BLOCK
  3. # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  4. # Copyright (C) 2005 Red Hat, Inc.
  5. # All rights reserved.
  6. #
  7. # License: GPL (version 3 or any later version).
  8. # See LICENSE for details.
  9. # END COPYRIGHT BLOCK
  10. #
  11. #
  12. # This file configures how a certificate is mapped to an LDAP entry. See the
  13. # documentation for more information on this file.
  14. #
  15. # The format of this file is as follows:
  16. # certmap <name> <issuerDN>
  17. # <name>:<prop1> [<val1>]
  18. # <name>:<prop2> [<val2>]
  19. #
  20. # Notes:
  21. #
  22. # 1. Mapping can be defined per issuer of a certificate. If mapping doesn't
  23. # exists for a particular 'issuerDN' then the server uses the default
  24. # mapping.
  25. #
  26. # 2. There must be an entry for <name>=default and issuerDN "default".
  27. # This mapping is the default mapping.
  28. #
  29. # 3. '#' can be used to comment out a line.
  30. #
  31. # 4. DNComps & FilterComps are used to form the base DN and filter resp. for
  32. # performing an LDAP search while mapping the cert to a user entry.
  33. #
  34. # 5. DNComps can be one of the following:
  35. # commented out - take the user's DN from the cert as is
  36. # empty - search the entire LDAP tree (DN == suffix)
  37. # attr names - a comma separated list of attributes to form DN
  38. #
  39. # 6. FilterComps can be one of the following:
  40. # commented out - set the filter to "objectclass=*"
  41. # empty - set the filter to "objectclass=*"
  42. # attr names - a comma separated list of attributes to form the filter
  43. #
  44. certmap default default
  45. #default:DNComps
  46. #default:FilterComps e, uid
  47. #default:verifycert on
  48. #default:CmapLdapAttr certSubjectDN
  49. #default:library <path_to_shared_lib_or_dll>
  50. #default:InitFn <Init function's name>