-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.config
89 lines (73 loc) · 4.07 KB
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="UserNameTransformRules" type="MultiFactor.Ldap.Adapter.Configuration.UserNameTransformRulesSection, MultiFactor.Ldap.Adapter" />
</configSections>
<appSettings>
<!--This service LDAP endpoint (0.0.0.0 - listen all interfaces) -->
<add key="adapter-ldap-endpoint" value="0.0.0.0:389" />
<!--This service LDAPS (TLS) endpoint (0.0.0.0 - listen all interfaces) -->
<add key="adapter-ldaps-endpoint" value="0.0.0.0:636" />
<!--Active Directory IP or domain -->
<add key="ldap-server" value="ldaps://domain.local" />
<!--List of service accounts (Bind DN) delmitted by semicolon (option 1)-->
<add key="ldap-service-accounts" value="CN=LdapService1,OU=Service Accounts,OU=IT,DC=domain,DC=local" />
<!--Service accounts (Bind DN) organization unit (OU) (option 2)-->
<add key="ldap-service-accounts-ou" value="OU=Service Accounts" />
<!--ActiveDirectory access group (optional);-->
<!--add key="active-directory-group" value="MyApp Users"/-->
<!--ActiveDirectory 2FA group (optional);-->
<!--add key="active-directory-2fa-group" value="MyApp 2FA Users"/-->
<!--Multifactor API -->
<add key="multifactor-api-url" value="https://api.multifactor.ru" />
<!-- get it from multifactor management panel -->
<add key="multifactor-nas-identifier" value="1" />
<!-- get it from multifactor management panel -->
<add key="multifactor-shared-secret" value="2" />
<!--HTTP proxy for API (optional)-->
<!--add key="multifactor-api-proxy" value="http://proxy:3128"/-->
<!-- minimal log level: 'Debug', 'Info', 'Warn', 'Error' -->
<add key="logging-level" value="Debug" />
<!--<add key="logging-format" value="json"/>-->
<!--Syslog server-->
<!--<add key="syslog-server" value="udp://syslog-server:514"/>-->
<!--Syslog format: RFC3164 or RFC5424-->
<!--<add key="syslog-format" value="RFC5424"/>-->
<!--<add key="syslog-facility" value="Auth"/>-->
<!--<add key="syslog-app-name" value="multifactor-ldap"/>-->
<!--Windows Service settings -->
<add key="service-unit-name" value="MFLdapAdapter" />
<add key="service-display-name" value="MultiFactor Ldap Adapter" />
<!--certificate password leave empty or null for certificate without password-->
<!--<add key="certificate-password" value="XXXXXX"/>-->
<!--<add key="transform-ldap-identity" value="upn"/>-->
</appSettings>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Primitives" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Extensions.Options" publicKeyToken="adb9793829ddae60" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>