Autologin profiles aren't working and I don't understand why. I have checked the box to allow auto-login for my user under User Permissions, as well as the group it's in under Group Permissions. However the client says:
Authentication Failed
autologin permission is disabled
User and group properties:
Code: Select all
"nelson_d": {
"conn_group": "networkservices",
"prop_autologin": "true",
"type": "user_connect"
},
"networkservices": {
"access_to.0": "+SUBNET:10.0.0.0/24",
"access_to.1": "+SUBNET:172.16.0.0/12",
"c2s_dest_s": "false",
"c2s_dest_v": "false",
"group_declare": "true",
"prop_autologin": "true",
"prop_deny": "false",
"prop_superuser": "false",
"type": "group"
},
Below is the server log output when I try to connect.
Code: Select all
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:17 SERVER-IP:60889 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication"
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:17 SERVER-IP:60889 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication"
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:17 SERVER-IP:60889 tls-crypt-v2 server key: Cipher 'AES-256-CTR' initialized with 256 bit key"
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:17 SERVER-IP:60889 tls-crypt-v2 server key: Using 256 bit message hash 'SHA256' for HMAC authentication"
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 VERIFY OK: depth=1, CN=OpenVPN CA'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 VERIFY OK: nsCertType=CLIENT'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 VERIFY OK: depth=0, CN=nelson_d_AUTOLOGIN'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_VER=3.git::d3f8b18b'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_PLAT=mac'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_NCP=2'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_TCPNL=1'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_PROTO=30'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_AUTO_SESS=1'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: UV_ASCLI_VER=3.3.6-4368'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: UV_PLAT_REL=13.6.22G120'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: UV_UUID=DA92E2B7-9786-5B5E-858C-7F491DCA76BE'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_GUI_VER=OCmacOS_3.3.6-4368'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_SSO=webauth,openurl,crtext'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_HWADDR=a0:ce:c8:70:0d:4b'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 peer info: IV_SSL=OpenSSL_1.1.1n__15_Mar_2022'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:17 SERVER-IP:60889 TLS: Username/Password authentication deferred for username '' "
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 2048 bit RSA, signature: RSA-SHA256'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 SERVER-IP:60889 [nelson_d_AUTOLOGIN] Peer Connection Initiated with [AF_INET]SERVER-IP:60889'
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:17 SERVER-IP:60889 PUSH: Received control message: 'PUSH_REQUEST'"
2023-09-28T10:37:17-0700 [stdout#info] VPN Auth Failed: "autologin property is disabled for user 'nelson_d'" ['autologin permission is disabled']
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 MANAGEMENT: CMD \'client-deny 549 0 "AS auth failed" "autologin permission is disabled"\''
2023-09-28T10:37:17-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:17 MULTI: connection rejected: AS auth failed, CLI:autologin permission is disabled'
2023-09-28T10:37:18-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:18 SERVER-IP:60889 Delayed exit in 5 seconds'
2023-09-28T10:37:18-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:18 SERVER-IP:60889 SENT CONTROL [nelson_d_AUTOLOGIN]: 'AUTH_FAILED,autologin permission is disabled' (status=1)"
2023-09-28T10:37:18-0700 [stdout#info] [OVPN 2] OUT: "2023-09-28 17:37:18 SERVER-IP:60889 PUSH: Received control message: 'PUSH_REQUEST'"
2023-09-28T10:37:23-0700 [stdout#info] [OVPN 2] OUT: '2023-09-28 17:37:23 SERVER-IP:60889 SIGTERM[soft,delayed-exit] received, client-instance exiting'