Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debug: date='Tue Feb 06 2018 09:55:17 GMT-0500 (EST)' message='User configuration is {
- "port": 4221,
- "logs_level": "debug",
- "default_redirection_url": "https://nginx-auth-lab",
- "ldap": {
- "url": "ldap://localhost",
- "base_dn": "dc=datacom,dc=net",
- "additional_users_dn": "ou=People",
- "users_filter": "uid={0}",
- "additional_groups_dn": "ou=Group",
- "groups_filter": "(&(memberUid={uid})(objectclass=posixGroup))",
- "group_name_attribute": "cn",
- "mail_attribute": "mail",
- "user": "cn=authuser,dc=datacom,dc=net",
- "password": "*****"
- },
- "authentication_methods": {
- "default_method": "two_factor",
- "per_subdomain_methods": {
- "single_factor.nginx-auth-lab": "single_factor"
- }
- },
- "access_control": {
- "default_policy": "deny",
- "any": [
- {
- "domain": "nginx-auth-lab",
- "policy": "allow"
- }
- ],
- "groups": {
- "librenms": [
- {
- "domain": "nginx-auth-lab",
- "policy": "allow"
- },
- {
- "domain": "mx2.mail.example.com",
- "policy": "deny"
- }
- ],
- "dev": [
- {
- "domain": "dev.example.com",
- "policy": "allow",
- "resources": [
- "^/groups/dev/.*$"
- ]
- }
- ]
- },
- "users": {
- "dvmacias": [
- {
- "domain": "nginx-auth-lab",
- "policy": "allow",
- "resources": [
- "/secure"
- ]
- }
- ],
- "harry": [
- {
- "domain": "dev.example.com",
- "policy": "allow",
- "resources": [
- "^/users/harry/.*$"
- ]
- }
- ],
- "bob": [
- {
- "domain": "*.mail.example.com",
- "policy": "allow"
- },
- {
- "domain": "dev.example.com",
- "policy": "allow",
- "resources": [
- "^/users/bob/.*$"
- ]
- }
- ]
- }
- },
- "session": {
- "secret": "*****",
- "expiration": 3600000,
- "inactivity": 300000,
- "domain": "nginx-auth-lab",
- "redis": {
- "host": "localhost",
- "port": 6379
- }
- },
- "regulation": {
- "max_retries": 3,
- "find_time": 120,
- "ban_time": 300
- },
- "storage": {
- "mongo": {
- "url": "mongodb://localhost/authelia"
- }
- },
- "notifier": {
- "smtp": {
- "username": "test",
- "password": "*****",
- "secure": false,
- "host": "smtp",
- "port": 1025,
- "sender": "[email protected]"
- }
- }
- }'
- debug: date='Tue Feb 06 2018 09:55:17 GMT-0500 (EST)' message='Adapted configuration is {
- "port": 4221,
- "ldap": {
- "url": "ldap://localhost",
- "users_dn": "ou=People,dc=datacom,dc=net",
- "users_filter": "uid={0}",
- "groups_dn": "ou=Group,dc=datacom,dc=net",
- "groups_filter": "(&(memberUid={uid})(objectclass=posixGroup))",
- "group_name_attribute": "cn",
- "mail_attribute": "mail",
- "password": "*****",
- "user": "cn=authuser,dc=datacom,dc=net"
- },
- "session": {
- "domain": "nginx-auth-lab",
- "secret": "*****",
- "expiration": 3600000,
- "inactivity": 300000,
- "redis": {
- "host": "localhost",
- "port": 6379
- }
- },
- "storage": {
- "mongo": {
- "url": "mongodb://localhost/authelia"
- }
- },
- "logs_level": "debug",
- "notifier": {
- "smtp": {
- "username": "test",
- "password": "*****",
- "secure": false,
- "host": "smtp",
- "port": 1025,
- "sender": "[email protected]"
- }
- },
- "access_control": {
- "default_policy": "deny",
- "any": [
- {
- "domain": "nginx-auth-lab",
- "policy": "allow"
- }
- ],
- "groups": {
- "librenms": [
- {
- "domain": "nginx-auth-lab",
- "policy": "allow"
- },
- {
- "domain": "mx2.mail.example.com",
- "policy": "deny"
- }
- ],
- "dev": [
- {
- "domain": "dev.example.com",
- "policy": "allow",
- "resources": [
- "^/groups/dev/.*$"
- ]
- }
- ]
- },
- "users": {
- "dvmacias": [
- {
- "domain": "nginx-auth-lab",
- "policy": "allow",
- "resources": [
- "/secure"
- ]
- }
- ],
- "harry": [
- {
- "domain": "dev.example.com",
- "policy": "allow",
- "resources": [
- "^/users/harry/.*$"
- ]
- }
- ],
- "bob": [
- {
- "domain": "*.mail.example.com",
- "policy": "allow"
- },
- {
- "domain": "dev.example.com",
- "policy": "allow",
- "resources": [
- "^/users/bob/.*$"
- ]
- }
- ]
- }
- },
- "regulation": {
- "max_retries": 3,
- "find_time": 120,
- "ban_time": 300
- },
- "authentication_methods": {
- "default_method": "two_factor",
- "per_subdomain_methods": {
- "single_factor.nginx-auth-lab": "single_factor"
- }
- },
- "default_redirection_url": "https://nginx-auth-lab",
- "totp": {
- "issuer": "authelia.com"
- }
- }'
- 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