davama

authelia_debug

Feb 5th, 2018
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.26 KB | None | 0 0
  1. debug: date='Tue Feb 06 2018 09:55:17 GMT-0500 (EST)' message='User configuration is {
  2. "port": 4221,
  3. "logs_level": "debug",
  4. "default_redirection_url": "https://nginx-auth-lab",
  5. "ldap": {
  6. "url": "ldap://localhost",
  7. "base_dn": "dc=datacom,dc=net",
  8. "additional_users_dn": "ou=People",
  9. "users_filter": "uid={0}",
  10. "additional_groups_dn": "ou=Group",
  11. "groups_filter": "(&(memberUid={uid})(objectclass=posixGroup))",
  12. "group_name_attribute": "cn",
  13. "mail_attribute": "mail",
  14. "user": "cn=authuser,dc=datacom,dc=net",
  15. "password": "*****"
  16. },
  17. "authentication_methods": {
  18. "default_method": "two_factor",
  19. "per_subdomain_methods": {
  20. "single_factor.nginx-auth-lab": "single_factor"
  21. }
  22. },
  23. "access_control": {
  24. "default_policy": "deny",
  25. "any": [
  26. {
  27. "domain": "nginx-auth-lab",
  28. "policy": "allow"
  29. }
  30. ],
  31. "groups": {
  32. "librenms": [
  33. {
  34. "domain": "nginx-auth-lab",
  35. "policy": "allow"
  36. },
  37. {
  38. "domain": "mx2.mail.example.com",
  39. "policy": "deny"
  40. }
  41. ],
  42. "dev": [
  43. {
  44. "domain": "dev.example.com",
  45. "policy": "allow",
  46. "resources": [
  47. "^/groups/dev/.*$"
  48. ]
  49. }
  50. ]
  51. },
  52. "users": {
  53. "dvmacias": [
  54. {
  55. "domain": "nginx-auth-lab",
  56. "policy": "allow",
  57. "resources": [
  58. "/secure"
  59. ]
  60. }
  61. ],
  62. "harry": [
  63. {
  64. "domain": "dev.example.com",
  65. "policy": "allow",
  66. "resources": [
  67. "^/users/harry/.*$"
  68. ]
  69. }
  70. ],
  71. "bob": [
  72. {
  73. "domain": "*.mail.example.com",
  74. "policy": "allow"
  75. },
  76. {
  77. "domain": "dev.example.com",
  78. "policy": "allow",
  79. "resources": [
  80. "^/users/bob/.*$"
  81. ]
  82. }
  83. ]
  84. }
  85. },
  86. "session": {
  87. "secret": "*****",
  88. "expiration": 3600000,
  89. "inactivity": 300000,
  90. "domain": "nginx-auth-lab",
  91. "redis": {
  92. "host": "localhost",
  93. "port": 6379
  94. }
  95. },
  96. "regulation": {
  97. "max_retries": 3,
  98. "find_time": 120,
  99. "ban_time": 300
  100. },
  101. "storage": {
  102. "mongo": {
  103. "url": "mongodb://localhost/authelia"
  104. }
  105. },
  106. "notifier": {
  107. "smtp": {
  108. "username": "test",
  109. "password": "*****",
  110. "secure": false,
  111. "host": "smtp",
  112. "port": 1025,
  113. "sender": "[email protected]"
  114. }
  115. }
  116. }'
  117. debug: date='Tue Feb 06 2018 09:55:17 GMT-0500 (EST)' message='Adapted configuration is {
  118. "port": 4221,
  119. "ldap": {
  120. "url": "ldap://localhost",
  121. "users_dn": "ou=People,dc=datacom,dc=net",
  122. "users_filter": "uid={0}",
  123. "groups_dn": "ou=Group,dc=datacom,dc=net",
  124. "groups_filter": "(&(memberUid={uid})(objectclass=posixGroup))",
  125. "group_name_attribute": "cn",
  126. "mail_attribute": "mail",
  127. "password": "*****",
  128. "user": "cn=authuser,dc=datacom,dc=net"
  129. },
  130. "session": {
  131. "domain": "nginx-auth-lab",
  132. "secret": "*****",
  133. "expiration": 3600000,
  134. "inactivity": 300000,
  135. "redis": {
  136. "host": "localhost",
  137. "port": 6379
  138. }
  139. },
  140. "storage": {
  141. "mongo": {
  142. "url": "mongodb://localhost/authelia"
  143. }
  144. },
  145. "logs_level": "debug",
  146. "notifier": {
  147. "smtp": {
  148. "username": "test",
  149. "password": "*****",
  150. "secure": false,
  151. "host": "smtp",
  152. "port": 1025,
  153. "sender": "[email protected]"
  154. }
  155. },
  156. "access_control": {
  157. "default_policy": "deny",
  158. "any": [
  159. {
  160. "domain": "nginx-auth-lab",
  161. "policy": "allow"
  162. }
  163. ],
  164. "groups": {
  165. "librenms": [
  166. {
  167. "domain": "nginx-auth-lab",
  168. "policy": "allow"
  169. },
  170. {
  171. "domain": "mx2.mail.example.com",
  172. "policy": "deny"
  173. }
  174. ],
  175. "dev": [
  176. {
  177. "domain": "dev.example.com",
  178. "policy": "allow",
  179. "resources": [
  180. "^/groups/dev/.*$"
  181. ]
  182. }
  183. ]
  184. },
  185. "users": {
  186. "dvmacias": [
  187. {
  188. "domain": "nginx-auth-lab",
  189. "policy": "allow",
  190. "resources": [
  191. "/secure"
  192. ]
  193. }
  194. ],
  195. "harry": [
  196. {
  197. "domain": "dev.example.com",
  198. "policy": "allow",
  199. "resources": [
  200. "^/users/harry/.*$"
  201. ]
  202. }
  203. ],
  204. "bob": [
  205. {
  206. "domain": "*.mail.example.com",
  207. "policy": "allow"
  208. },
  209. {
  210. "domain": "dev.example.com",
  211. "policy": "allow",
  212. "resources": [
  213. "^/users/bob/.*$"
  214. ]
  215. }
  216. ]
  217. }
  218. },
  219. "regulation": {
  220. "max_retries": 3,
  221. "find_time": 120,
  222. "ban_time": 300
  223. },
  224. "authentication_methods": {
  225. "default_method": "two_factor",
  226. "per_subdomain_methods": {
  227. "single_factor.nginx-auth-lab": "single_factor"
  228. }
  229. },
  230. "default_redirection_url": "https://nginx-auth-lab",
  231. "totp": {
  232. "issuer": "authelia.com"
  233. }
  234. }'
  235. info: date='Tue Feb 06 2018 09:55:18 GMT-0500 (EST)' message='Listening on port 4221...'
Advertisement
Add Comment
Please, Sign In to add comment