OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: jackc on January 14, 2024, 06:44:11 PM

Title: Zenarmor - Integrate Active Directory - Windows Server
Post by: jackc on January 14, 2024, 06:44:11 PM
Hello!
I am unable to integrate zenarmor with my Active Directory.

I followed the documentation:
https://www.zenarmor.com/docs/opnsense/configuring/ad-integration

And the only error reported in the logs is the following

INFO ] | [2024-01-14 14:17:24,008] | [OpnSense] | [Info] | [New log catched. ID: 4624]
[INFO ] | [2024-01-14 14:17:25,067] | [OpnSense] | [Info] | [Send Log URL: https://192.168.1.1, Method: api/sensei/Userenricher]
[ERROR] | [2024-01-14 14:17:25,675] | [OpnSense] | [Error] | [Service response is invalid: , status: Completed]
[INFO ] | [2024-01-14 14:17:25,681] | [OpnSense] | [Info] | [New log sent to fw. ID: 4624, Data: {"Username":"LABSRV$","Ip":"::1","Logonid":"0x173a329e","Action":"Login","Groups":[]}]
Title: Re: Zenarmor - Integrate Active Directory - Windows Server
Post by: sy on January 14, 2024, 07:02:48 PM
Hi,

Can you check if OPNsense ip, port and token are correct?
Title: Re: Zenarmor - Integrate Active Directory - Windows Server
Post by: jackc on January 14, 2024, 07:13:39 PM
Thanks for the feedback!

Yes, as per images.
Title: Re: Zenarmor - Integrate Active Directory - Windows Server
Post by: ludarkstar99 on January 15, 2024, 02:49:18 AM
Hi Jackc,

Just a sanity check. have you rebooted the windows server after zenarmor service setup (even it was not successful) ?
Title: Re: Zenarmor - Integrate Active Directory - Windows Server
Post by: jackc on January 15, 2024, 01:40:13 PM
Hello, yes.

I have already restarted Windows Server and Firewall.

I reinstalled the Zenarmor service on Windows Server as well.
Title: Re: Zenarmor - Integrate Active Directory - Windows Server
Post by: sy on January 17, 2024, 03:49:12 PM
Hi,

Please share a report via Have Feedback option by selecting Zenarmor logs and configuration checkboxes.