-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authenticate with AD user #1080
Comments
What have you tried so far? "DOMAIN/login" and "DOMAIN\login"? How does it work with the official client? |
Yes, I tried with both forms. In the official client it works ok, I just write my "domain\username" in the Username field. |
This might be a terminology issue. Perhaps what you call domain, Fortinet call realm. Try |
Actually I tried that too, but no luck yet |
Have you enclosed DOMAIN\login in quotes? Like |
Otherwise, it won't be possible to help without logs. Chances are you need to authenticate on a web page with JavaScript, which is beyond the capability of a command line program. Try authenticating directly in a web browser, retrieving the cookie, and feeding it to openfortivpn. |
For me it work without any "domain" and "realm" - just "username = USER" in config file. |
It's the firewall that's responsible for setting the domain (or realm) so as @VVD says, |
Don't new Fortinet firewalls offer 2FA which may require to open a web page with JavaScript in a browser? I don't have access to such a Fortinet appliance myself, but I thought newer firewalls may support such configurations that a command line program cannot easily support. |
Don’t new Fortinet firewalls offer 2FA which may require to open a web page with JavaScript in a browser?
I’ve made a note of trying that out.
|
Thanks. See also:
|
@RicardoPQ-com Have you tried plain |
I can't find a way to authenticate a vpn gateway which requires "domain\username" login. ¿Has somebody tried it? I've google a lot and found nothing about it.
The text was updated successfully, but these errors were encountered: