Advertisement
Guest User

Untitled

a guest
Feb 1st, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. #
  2. # GITBLIT.PROPERTIES
  3. #
  4. # Define your custom settings in this file and/or include settings defined in
  5. # other properties files.
  6. #
  7.  
  8. # Include Gitblit's 'defaults.properties' within your configuration.
  9. #
  10. # NOTE: Gitblit will not automatically reload "included" properties. Gitblit
  11. # only watches the 'gitblit.properties' file for modifications.
  12. #
  13. # Paths may be relative to the ${baseFolder} or they may be absolute.
  14. #
  15. # COMMA-DELIMITED
  16. # SINCE 1.7.0
  17. include = defaults.properties
  18.  
  19. #
  20. # Define your overrides or custom settings below
  21. #
  22.  
  23. # Ordered list of external authentication providers which will be used if
  24. # authentication against the local user service fails.
  25. #
  26. # Valid providers are:
  27. #
  28. # htpasswd
  29. # ldap
  30. # pam
  31. # redmine
  32. # salesforce
  33. # windows
  34. #
  35. # e.g. realm.authenticationProviders = htpasswd windows
  36. #
  37. # SINCE 1.4.0
  38. # RESTART REQUIRED
  39. # SPACE-DELIMITED
  40. realm.authenticationProviders = ldap
  41.  
  42. # Tells Gitblit to connect to the LDAP server
  43. # The URL Must be of form:
  44. #
  45. # ldap(s)://<server>:<port> with port being optional (389 for ldap, 636 for ldaps)
  46. realm.ldap.server = ldap://localhost:389
  47.  
  48. # The credentials that will log into the LDAP server
  49. realm.ldap.username = uid=root,cn=users,dc=melo,dc=myds,dc=me
  50. realm.ldap.password = redacted
  51.  
  52. # Maintain team memberships in LDAP (true) or manually in Gitblit (false)
  53. realm.ldap.maintainTeams = false
  54.  
  55. # Root node for all users in this LDAP system
  56. # Subtree searches will start from this node
  57. realm.ldap.accountBase = dc=melo,dc=myds,dc=me
  58.  
  59. # A space-delimited list of usernames and/or teams that indicate admin status in Gitblit
  60. # Teams are referenced with a leading @ character
  61. realm.ldap.admins = admin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement