Advertisement
Guest User

Untitled

a guest
Aug 19th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. # LDAP (LDAP Servers)
  2. # once a user is authenticated, LDAP will query the user and pull a list
  3. # of groups that the user belongs to
  4. # These groups will be created in the CMS on the fly and the CMS user will
  5. # be associated with them.
  6. auth.pipeline.pre=com.dotcms.enterprise.LDAPProxy
  7. auth.impl.ldap.initial.context.factory=com.sun.jndi.ldap.LdapCtxFactory
  8.  
  9. # Set SSL if you are using LDAPS or leave blank
  10. auth.impl.ldap.security.authentication=
  11.  
  12. # set path to keystore with root server cert imported or leave blank
  13. auth.impl.ldap.security.keystore.path=
  14. auth.impl.ldap.host=54.165.56.4
  15. auth.impl.ldap.port=389
  16.  
  17. # should be full dn of user
  18. auth.impl.ldap.userid=dotCMS LDAP Query,CN=Users,DC=training,DC=dotcms,DC=com
  19. auth.impl.ldap.password=mdWccN9FeFr4kUg3
  20. auth.impl.ldap.domainlookup=OU=dotCMS Users,DC=training,DC=dotcms,DC=com
  21. auth.impl.build.groups=true
  22.  
  23. #auth.impl.ldap.build.group.name.filter=^dotCMS_(.*)
  24. auth.impl.ldap.build.group.name.filter=^(WCM_.*)
  25.  
  26. # Prefix the dotcms should strip from group name. Leave blank to not strip any prefix.
  27. #auth.impl.ldap.build.group.name.filter.strip=dotCMS_
  28.  
  29. #If you set to false any user created from LDAP will not be able to log into the dotCMS if LDAP is not available.
  30. auth.impl.ldap.syncPassword=false
  31.  
  32. # The following attributes can be used to match up dotCMS user properties to LDAP Attributes. Uncomment all attributes.
  33. # If you leave the attribute blank then it will not be synced from LDAP.
  34. # NOTE: YOU CANNOT HAVE A GROUP NAME WITH A "=" IN IT
  35. #auth.impl.ldap.attrib.user=samAccountName
  36.  
  37. auth.impl.ldap.attrib.user=mail
  38. auth.impl.ldap.attrib.firstName=givenName
  39. auth.impl.ldap.attrib.middleName=middleName
  40. auth.impl.ldap.attrib.lastName=sn
  41. auth.impl.ldap.attrib.nickName=
  42. auth.impl.ldap.attrib.email=mail
  43. auth.impl.ldap.attrib.gender=
  44. auth.impl.ldap.attrib.group=memberOf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement