{"id":377088,"date":"2024-05-26T09:54:17","date_gmt":"2024-05-26T09:54:17","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=377088"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=377088","title":{"rendered":"<span>Thunderbird Auto Config Server (TACS)<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 Thunderbird, \u0441 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u043c \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u0435\u0433\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u0430 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0435\u0442\u0438 \u0432\u044b\u0434\u0430\u0451\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0431\u043b\u043e\u0433\u043e\u0432 \u0441 \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e \u0435\u0433\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445.<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0440\u0435\u0448\u0430\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043f\u043e\u0447\u0442\u044b \u0441\u0432\u043e\u0438\u043c \u043f\u0443\u0442\u0451\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0440\u0430\u0437\u043d\u044b\u0435 \u044f\u0437\u044b\u043a\u0438 \u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044b.<\/p>\n<p>\u041c\u043e\u044f \u0446\u0435\u043b\u044c &#8212; \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e, \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 <a href=\"https:\/\/github.com\/GrimAnEye\/tacs\" rel=\"noopener noreferrer nofollow\">\u0441\u0435\u0440\u0432\u0435\u0440-\u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440<\/a> \u0434\u043b\u044f \u0432\u044b\u0434\u0430\u0447\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/p>\n<h2>\u041e\u0431\u0437\u043e\u0440<\/h2>\n<p>\u041e\u0441\u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f <a href=\"https:\/\/github.com\/GrimAnEye\/tacs\" rel=\"noopener noreferrer nofollow\">TACS<\/a> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f <code>schema.yaml<\/code>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<pre><code class=\"yaml\"># Directory to search for templates # The search is also performed in subdirectories, but without following symbolic links # Required file extension: *.tmpl #templateDir: templates # Block for local processing of user logins. # Executes first because it doesn't require external requests. # If there is a match, subsequent stages are not checked #local: \u00a0 # Default fields and properties \u00a0 #default: \u00a0 \u00a0 # Name of the GO template (*.tmpl), with insert fields - {{define \"templateName\"}} \u00a0 \u00a0 #template: default \u00a0 \u00a0 # A key-value map (hash table) that is used to fill the template. \u00a0 \u00a0 # Can be overridden at the user level. \u00a0 \u00a0 # If the field is not present at the user level, it will be set to the specified value. \u00a0 \u00a0 # The key is a variable declared in the template - {{ .variableName }} \u00a0 \u00a0 # Value - what will be substituted for the key \u00a0 \u00a0 #fields: \u00a0 \u00a0 # \u00a0cn: user \u00a0 \u00a0 # \u00a0mail: mail@example.com \u00a0 \u00a0 # \u00a0telephoneNumber: \u00a0 \u00a0 # \u00a0position: no_body \u00a0 \u00a0 # \u00a0company: \"\\\"Example\\\"\" \u00a0 # List of users to handle requests. \u00a0 # Is a hash table of \"username: params\", \u00a0 # so each iteration of the key overwrites the previous values \u00a0 #list: \u00a0 #root: \u00a0 # \u00a0template: root \u00a0 # \u00a0fields: \u00a0 # \u00a0 \u00a0company: \"\" \u00a0 # \u00a0 \u00a0mail: root@example.com \u00a0 # \u00a0 \u00a0cn: Administrator \u00a0 # \u00a0 \u00a0signatureIsHTML: true \u00a0 # \u00a0 \u00a0signature: 'Sincerely\\nroot'  # Block for processing users from LDAP. # If there is a match, subsequent stages are not checked #ldap: \u00a0 # A unique field that identifies the user, a filter compiled for this: \u00a0 # \u00a0(uid=username), example - (sAMAccountName=username) \u00a0 #uid: sAMAccountName \u00a0 # Ldap path where to start the search \u00a0 #searchBase: OU=SystemUsers,OU=Corp,DC=corp,DC=domain,DC=com \u00a0 # Additional filter for user search. Added to the filter with uid: \u00a0 # (&amp;(uid=username)filter) \u00a0 # In this case, search only for enabled users: \u00a0 #filter: (!(userAccountControl:1.2.840.113556.1.4.803:=2))(objectCategory=person)(objectClass=user) \u00a0 # Search in subgroups? \u00a0 # If true - adds the option \":1.2.840.113556.1.4.1941:\" to the filter \u00a0 #subgroups: true \u00a0 # Should I generate a response for a user who is not a member of any declared group? \u00a0 # In this case, a default section must be declared \u00a0 #allowWithoutGroups: true \u00a0 # A key-value map (hash table) that is used to fill the template. \u00a0 # Can be overridden at the ldap group level. \u00a0 # If the field is not present at the user level, it will be set to the specified value. \u00a0 # The key is a variable declared in the template - {{ .variableName }} \u00a0 # Value - fields taken from the user's LDAP profile. \u00a0 # Note. \u00a0 # If you prefix an LDAP field name with \"raw:\", the value will be queried raw and base64 encoded \u00a0 #default: \u00a0 # \u00a0template: default \u00a0 # \u00a0fields: \u00a0 # \u00a0 \u00a0cn: cn \u00a0 # \u00a0 \u00a0mail: mail \u00a0 # \u00a0 \u00a0telephoneNumber: telephoneNumber \u00a0 # \u00a0 \u00a0position: position \u00a0 # \u00a0 \u00a0company: company \u00a0 # \u00a0 \u00a0photo: raw:jpegPhoto \u00a0 #list: \u00a0 \u00a0 # The list of groups by which the user's groups are matched. \u00a0 \u00a0 # The check is performed one by one, and the first match \u00a0 \u00a0 # interrupts further processing. \u00a0 \u00a0 #- group: \"CN=Domain Users,OU=SystemUsers,OU=Corp,DC=corp,DC=domain,DC=com\" \u00a0 \u00a0 # \u00a0template: default \u00a0 \u00a0 # \u00a0fields: \u00a0 \u00a0 # \u00a0 \u00a0cn: cn \u00a0 \u00a0 # \u00a0 \u00a0mail: mail \u00a0 \u00a0 # \u00a0 \u00a0telephoneNumber: telephoneNumber \u00a0 \u00a0 # \u00a0 \u00a0position: position \u00a0 \u00a0 # \u00a0 \u00a0company: company \u00a0 \u00a0 # \u00a0 \u00a0photo: raw:jpegPhoto <\/code><\/pre>\n<p>\u0414\u043b\u044f \u0432\u044b\u0434\u0430\u0447\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u043d\u0438\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432. \u0421\u043f\u0438\u0441\u043a\u043e\u0432 \u0434\u0432\u0430:<\/p>\n<ul>\n<li>\n<p>\u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 &#8212; \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0438 \u0441\u0430\u043c \u0448\u0430\u0431\u043b\u043e\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0442\u0434\u0430\u043d. \u0412\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0438\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<\/li>\n<li>\n<p>LDAP &#8212; \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u0438\u0437 ldap, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, LDAP-\u043f\u043e\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0431\u043b\u043e\u043d. \u0415\u0441\u043b\u0438 \u043b\u043e\u0433\u0438\u043d \u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435, \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d LDAP \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0431\u0430 \u0432\u0438\u0434\u0430 \u0441\u043f\u0438\u0441\u043a\u043e\u0432:<\/p>\n<h3>local<\/h3>\n<pre><code class=\"yaml\">local:   default:     template: users     fields:       cn: user \u00a0 \u00a0  \u00a0mail: mail@example.com \u00a0 \u00a0  \u00a0telephoneNumber: \u00a0 \u00a0  \u00a0position: no_body \u00a0 \u00a0  \u00a0company: \"\\\"Example\\\"\"   list:<\/code><\/pre>\n<p><code>local.default<\/code> &#8212; \u044d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0441\u043f\u0438\u0441\u043a\u0430, \u0435\u0441\u043b\u0438 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430, \u043d\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0438\u043d\u043e\u0435.<br \/> <code>local.default.template<\/code> &#8212; \u0437\u0430\u0434\u0430\u0451\u0442 \u0438\u043c\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430, \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0442\u0432\u0435\u0442\u0430<br \/> <code>local.default.fields<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f Go-Template \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0438\u0445. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<\/p>\n<pre><code class=\"go\">{{ .cn }}, {{ .mail }}, {{ .position }}<\/code><\/pre>\n<p>\u0442\u043e \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438:<\/p>\n<pre><code class=\"bash\">user, mail@example.com, no_body<\/code><\/pre>\n<p><code>local.list<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u043b\u043e\u0433\u0438\u043d\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <code>local.default<\/code> \u0441 \u0442\u0435\u043c \u0436\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"yaml\">local:   default:     template: default_users     fields:       cn: user \u00a0 \u00a0  \u00a0mail: mail@example.com \u00a0 \u00a0  \u00a0telephoneNumber: \u00a0 \u00a0  \u00a0position: no_body \u00a0 \u00a0  \u00a0company: \"\\\"Example\\\"\"   list:     user1:     user2:       template: managers     user3:        template: admins        fields:          cn: \u0412\u0430\u0441\u044f \u041f\u0443\u043f\u043a\u0438\u043d          position: \u0421\u0435\u0442\u0435\u0432\u043e\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440<\/code><\/pre>\n<ul>\n<li>\n<p><code>local.list.user1<\/code>: \u0448\u0430\u0431\u043b\u043e\u043d-default_users, \u043f\u043e\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/p>\n<\/li>\n<li>\n<p><code>local.list.user2<\/code>: \u0448\u0430\u0431\u043b\u043e\u043d-managers, \u043f\u043e\u043b\u044f \u0432\u0441\u0451 \u0442\u0435 \u0436\u0435<\/p>\n<\/li>\n<li>\n<p><code>local.list.user3<\/code>: \u0448\u0430\u0431\u043b\u043e\u043d-admins, \u043f\u043e\u043b\u044f &#8212; \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/p>\n<\/li>\n<\/ul>\n<h3>LDAP<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u0432 LDAP.<br \/> \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 LDAP \u0441\u043f\u0438\u0441\u043a\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043f\u0438\u0441\u043a\u0438:<\/p>\n<pre><code class=\"yaml\">ldap: \u00a0 uid: sAMAccountName \u00a0 usersSearchBase: OU=Users,DC=corp,DC=example,DC=com \u00a0 groupsSearchBase: OU=Groups,DC=corp,DC=example,DC=com \u00a0 filter: (!(userAccountControl:1.2.840.113556.1.4.803:=2))(objectCategory=person)(objectClass=user) \u00a0 subgroups: true \u00a0 allowWithoutGroups: true \u00a0 default: \u00a0 list:<\/code><\/pre>\n<ul>\n<li>\n<p><code>ldap.uid<\/code> &#8212; \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 LDAP.<\/p>\n<\/li>\n<li>\n<p><code>ldap.usersSearchBase<\/code> &#8212; \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 LDAP<\/p>\n<\/li>\n<li>\n<p><code>ldap.groupSearchBase<\/code> &#8212; \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u0433\u0440\u0443\u043f\u043f \u0432 LDAP<\/p>\n<\/li>\n<li>\n<p><code>ldap.filter<\/code> &#8212; \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440 \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0444\u0438\u043b\u044c\u0442\u0440\u0443 <code>($UID=$username)<\/code> \u0438\u043b\u0438 <code>(sAMAccountName=pupkin.v)<\/code>. \u041f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f, \u043e\u043d \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0418 &#8212; <code>(&amp;($UID=$username)$AddFilter)<\/code> \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<\/li>\n<\/ul>\n<pre><code>(&amp;(sAMAccountName=pupkin.v)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(objectCategory=person)(objectClass=user))<\/code><\/pre>\n<ul>\n<li>\n<p><code>ldap.subgroups: [true|false]<\/code> &#8212; \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043b\u0438 \u043f\u043e\u0438\u0441\u043a \u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 LDAP \u0433\u0440\u0443\u043f\u043f\u0430\u0445 \u0438\u043b\u0438 \u043d\u0435\u0442.  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443 \u0432\u0430\u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0431\u0449\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u0435 <code>Domain Peoples<\/code>, \u0430 <code>tacs_default<\/code> &#8212; \u0433\u0440\u0443\u043f\u043f\u0430 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u041c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b <code>tacs_default<\/code> \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043d\u0430\u0432\u0435\u0441\u0438\u0442\u044c \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\"># \u0423\u0441\u043b\u043e\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 LDAP  user1.memberOf: - Domain Peoples - tacs_default user1.memberOf: - Domain Peoples - tacs_default ...<\/code><\/pre>\n<ul>\n<li>\n<p>\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u043d\u0430 <code>Domain Peoples<\/code>, \u0447\u0442\u043e\u0431\u044b \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0435\u0451 \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u043b\u043e\u0441\u044c \u043d\u0438\u0436\u0435:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\"># \u0423\u0441\u043b\u043e\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 LDAP  # \u0411\u044b\u043b\u043e: user1.memberOf: - Domain Peoples user2.memberOf: - Domain Peoples # \u0421\u0442\u0430\u043b\u043e: Domain Peoples.memberOf: - tacs_default<\/code><\/pre>\n<p>\u041f\u0440\u0438 <code>true<\/code>, \u043a \u0444\u0438\u043b\u044c\u0442\u0440\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043f\u0446\u0438\u044f <code>:1.2.840.113556.1.4.1941:<\/code> \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043f\u043e\u0434\u0433\u0440\u0443\u043f\u043f\u044b \u0438 \u043d\u0430\u0439\u0442\u0438 \u0438\u0441\u043a\u043e\u043c\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0435\u0441\u043b\u0438 \u0442\u043e\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0433\u0440\u0443\u043f\u043f.<\/p>\n<p><code>ldap.allowWithoutGroups: [true|false]<\/code> &#8212; \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0431\u0435\u0437 \u0433\u0440\u0443\u043f\u043f\u044b. \u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d \u0432 \u0433\u0440\u0443\u043f\u043f\u0430\u0445 LDAP, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f LDAP \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u043b\u0438 \u0432\u044b\u0434\u0430\u0442\u044c 404 \u043e\u0448\u0438\u0431\u043a\u0443.<\/p>\n<p><code>ldap.default<\/code> &#8212; \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0438 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u043d\u0430 \u0433\u0440\u0443\u043f\u043f\u0435, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<br \/> <code>ldap.default.template<\/code> &#8212; \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f LDAP \u0433\u0440\u0443\u043f\u043f<br \/> <code>ldap.default.fields<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u043f\u043e\u043b\u0435\u0439 \u0432\u0438\u0434\u0430 <code>Go-Template-\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f: ldap-\u043f\u043e\u043b\u0435-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/code>. \u0415\u0441\u043b\u0438 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c, \u0442\u043e \u0432 LDAP-\u0441\u043f\u0438\u0441\u043a\u0435, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0438\u0437 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"yaml\">\u00a0 default: \u00a0 \u00a0 template: ldap-default \u00a0 \u00a0 fields: \u00a0 \u00a0 \u00a0 cn: cn \u00a0 \u00a0 \u00a0 position: description<\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u043c\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e &#8212; <code>ldap-default<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 <code>{{ .cn }}<\/code> &#8212; \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u043b\u044e <code>cn<\/code> \u0438\u0437 LDAP<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 <code>{{ .position }}<\/code> &#8212; \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u043b\u044e <code>desccription<\/code> \u0438\u0437 LDAP<\/p>\n<\/li>\n<\/ul>\n<p><code>ldap.default.fields.*: raw:*<\/code> &#8212; \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u0438\u043c\u0435\u043d\u0435\u043c LDAP-\u043f\u043e\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441 <code>raw:<\/code> \u0442\u043e\u0433\u0434\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d\u043e \u0432 \u0441\u044b\u0440\u043e\u043c \u0432\u0438\u0434\u0435 \u0438 \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 base64. \u042d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u0438\u0437 \u043f\u043e\u043b\u044f LDAP <code>jpegPhoto<\/code>:<\/p>\n<pre><code class=\"yaml\">\u00a0 default: \u00a0 \u00a0 ... \u00a0 \u00a0 fields: \u00a0 \u00a0 \u00a0 photo: \"raw:jpegPhoto\"<\/code><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0444\u043e\u0442\u043e \u0438\u0437 LDAP, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c html-\u043f\u043e\u0434\u043f\u0438\u0441\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<pre><code class=\"go\">&lt;img src=\"data:image\/jpeg;base64,{{ .photo }}\"\/><\/code><\/pre>\n<p><code>ldap.list<\/code> &#8212; \u0441\u043f\u0438\u0441\u043e\u043a \u0433\u0440\u0443\u043f\u043f \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u043d\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u0441\u0432\u043e\u0439\u0441\u0442\u0432<\/p>\n<pre><code class=\"yaml\">\u00a0 list: \u00a0 \u00a0 - group: \"CN=tacs-with-photo,OU=tacs,OU=Groups,DC=corp,DC=example,DC=com\" \u00a0 \u00a0 \u00a0 template: with-ldap-photo \u00a0 \u00a0 \u00a0 fields: \u00a0 \u00a0 \u00a0 \u00a0 cn: cn \u00a0 \u00a0 \u00a0 \u00a0 mail: mail \u00a0 \u00a0 \u00a0 \u00a0 position: position \u00a0 \u00a0 \u00a0 \u00a0 company: company \u00a0 \u00a0 \u00a0 \u00a0 photo: raw:jpegPhoto \u00a0 \u00a0 \u00a0 \u00a0 address: physicalDeliveryOfficeName \u00a0 \u00a0 \u00a0 \u00a0 telephoneNumber: telephoneNumber<\/code><\/pre>\n<p><code>ldap.list.[*].group<\/code> &#8212; \u043f\u043e\u043b\u043d\u044b\u0439 DN-\u043f\u0443\u0442\u044c \u043a \u0433\u0440\u0443\u043f\u043f\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <code>\"CN=tacs-with-photo,OU=tacs,OU=Groups,DC=corp,DC=example,DC=com\"<\/code><br \/> <code>ldap.list.[*].template<\/code> &#8212; \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0434\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b<br \/> <code>ldap.list.[*].fields<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u0435\u0439, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0443 <code>ldap.default.fields<\/code>.<\/p>\n<h2>\u0428\u0430\u0431\u043b\u043e\u043d\u044b<\/h2>\n<p>\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 <code>scheme.yaml<\/code>:<br \/> <code>templateDir<\/code> &#8212; TACS \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0432\u0441\u0435\u043c \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\u043c, \u043a\u0440\u043e\u043c\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a, \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044f \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u044c <code>*.tmpl<\/code> \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f <a href=\"https:\/\/pkg.go.dev\/text\/template\" rel=\"noopener noreferrer nofollow\">go-template<\/a>.<\/p>\n<ul>\n<li>\n<p>\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0431\u043b\u043e\u043a\u043e\u043c<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"go\">{{define \"template_name\"}}...{{end}} <\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u043c\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 <code>scheme.yaml<\/code>, \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 <code>template<\/code> \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\">local:   default:     template: template_name ...   list:     username:       template: template_name ... ldap:   default:     template: template_name ...   list:     - group: ...       template: template_name <\/code><\/pre>\n<ul>\n<li>\n<p>\u0428\u0430\u0431\u043b\u043e\u043d\u044b \u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\">{{define \"temp1\"}} ... {{end}} {{define \"temp2\"}} ... {{end}} {{define \"temp3\"}} {{template \"temp1\"}} {{template \"temp2\"}} {{end}}<\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u043c\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438, \u0438\u043d\u0430\u0447\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u043c\u043e\u0433\u0443\u0442 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0434\u0440\u0443\u0433-\u0434\u0440\u0443\u0433\u0430.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0438\u0437 <code>scheme.yaml<\/code>\/LDAP:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\"># \u0412\u0441\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0432 \"\u0442\u043e\u0447\u043a\u0435\": {{define \"default\"}} {{.var_name}} {{end}}<\/code><\/pre>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 <code>scheme.yaml<\/code>, \u0432 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 <code>fields<\/code>:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\">local:   default:     template_key: value ... list:   username:     template_key: value ... ldap: default:   fields:     template_key: ldap_field_with_value     template_key: raw:ldap_field_with_binary_value ... list:   - group: ...     fields:       template_key: ldap_field_with_value<\/code><\/pre>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0440\u044b<\/h2>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0430 <a href=\"https:\/\/github.com\/GrimAnEye\/tacs\/tree\/main\/example\" rel=\"noopener noreferrer nofollow\">\u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a>.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438<\/h2>\n<ul>\n<li>\n<p><a href=\"https:\/\/web.mit.edu\/~thunderbird\/www\/maintainers\/autoconfig.html\" rel=\"noopener noreferrer nofollow\">The SIPB Thunderbird Locker &#8212; Maintainers<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/udn.realityripple.com\/docs\/Archive\/Misc_top_level\/MCD,_Mission_Control_Desktop_AKA_AutoConfig\" rel=\"noopener noreferrer nofollow\">MCD, Mission Control Desktop, AKA AutoConfig<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/blog.deanandadie.net\/2010\/06\/easy-thunderbird-account-management-using-mcd\/\" rel=\"noopener noreferrer nofollow\">EASY THUNDERBIRD ACCOUNT MANAGEMENT USING MCD<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/habr.com\/ru\/articles\/101905\/\" rel=\"noopener noreferrer nofollow\">\u0418\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0440\u043f\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u043f\u043e\u0447\u0442\u043e\u0432\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/support.mozilla.org\/en-US\/kb\/customizing-firefox-using-autoconfig\" rel=\"noopener noreferrer nofollow\">Customizing Firefox Using AutoConfig<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/812879\/\"> https:\/\/habr.com\/ru\/articles\/812879\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 Thunderbird, \u0441 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u043c \u0440\u0430\u0437\u0431\u043e\u0440\u043e\u043c \u0435\u0433\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u0430 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0435\u0442\u0438 \u0432\u044b\u0434\u0430\u0451\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0431\u043b\u043e\u0433\u043e\u0432 \u0441 \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e \u0435\u0433\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445.<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u0440\u0435\u0448\u0430\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043f\u043e\u0447\u0442\u044b \u0441\u0432\u043e\u0438\u043c \u043f\u0443\u0442\u0451\u043c, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0440\u0430\u0437\u043d\u044b\u0435 \u044f\u0437\u044b\u043a\u0438 \u0438 \u043f\u043e\u0434\u0445\u043e\u0434\u044b.<\/p>\n<p>\u041c\u043e\u044f \u0446\u0435\u043b\u044c &#8212; \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e, \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0445 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 <a href=\"https:\/\/github.com\/GrimAnEye\/tacs\" rel=\"noopener noreferrer nofollow\">\u0441\u0435\u0440\u0432\u0435\u0440-\u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440<\/a> \u0434\u043b\u044f \u0432\u044b\u0434\u0430\u0447\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043f\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0443 \u043f\u043e\u0447\u0442\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430.<\/p>\n<h2>\u041e\u0431\u0437\u043e\u0440<\/h2>\n<p>\u041e\u0441\u043d\u043e\u0432\u043e\u0439 \u0434\u043b\u044f <a href=\"https:\/\/github.com\/GrimAnEye\/tacs\" rel=\"noopener noreferrer nofollow\">TACS<\/a> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f <code>schema.yaml<\/code>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<pre><code class=\"yaml\"># Directory to search for templates # The search is also performed in subdirectories, but without following symbolic links # Required file extension: *.tmpl #templateDir: templates # Block for local processing of user logins. # Executes first because it doesn't require external requests. # If there is a match, subsequent stages are not checked #local: \u00a0 # Default fields and properties \u00a0 #default: \u00a0 \u00a0 # Name of the GO template (*.tmpl), with insert fields - {{define \"templateName\"}} \u00a0 \u00a0 #template: default \u00a0 \u00a0 # A key-value map (hash table) that is used to fill the template. \u00a0 \u00a0 # Can be overridden at the user level. \u00a0 \u00a0 # If the field is not present at the user level, it will be set to the specified value. \u00a0 \u00a0 # The key is a variable declared in the template - {{ .variableName }} \u00a0 \u00a0 # Value - what will be substituted for the key \u00a0 \u00a0 #fields: \u00a0 \u00a0 # \u00a0cn: user \u00a0 \u00a0 # \u00a0mail: mail@example.com \u00a0 \u00a0 # \u00a0telephoneNumber: \u00a0 \u00a0 # \u00a0position: no_body \u00a0 \u00a0 # \u00a0company: \"\\\"Example\\\"\" \u00a0 # List of users to handle requests. \u00a0 # Is a hash table of \"username: params\", \u00a0 # so each iteration of the key overwrites the previous values \u00a0 #list: \u00a0 #root: \u00a0 # \u00a0template: root \u00a0 # \u00a0fields: \u00a0 # \u00a0 \u00a0company: \"\" \u00a0 # \u00a0 \u00a0mail: root@example.com \u00a0 # \u00a0 \u00a0cn: Administrator \u00a0 # \u00a0 \u00a0signatureIsHTML: true \u00a0 # \u00a0 \u00a0signature: 'Sincerely\\nroot'  # Block for processing users from LDAP. # If there is a match, subsequent stages are not checked #ldap: \u00a0 # A unique field that identifies the user, a filter compiled for this: \u00a0 # \u00a0(uid=username), example - (sAMAccountName=username) \u00a0 #uid: sAMAccountName \u00a0 # Ldap path where to start the search \u00a0 #searchBase: OU=SystemUsers,OU=Corp,DC=corp,DC=domain,DC=com \u00a0 # Additional filter for user search. Added to the filter with uid: \u00a0 # (&amp;(uid=username)filter) \u00a0 # In this case, search only for enabled users: \u00a0 #filter: (!(userAccountControl:1.2.840.113556.1.4.803:=2))(objectCategory=person)(objectClass=user) \u00a0 # Search in subgroups? \u00a0 # If true - adds the option \":1.2.840.113556.1.4.1941:\" to the filter \u00a0 #subgroups: true \u00a0 # Should I generate a response for a user who is not a member of any declared group? \u00a0 # In this case, a default section must be declared \u00a0 #allowWithoutGroups: true \u00a0 # A key-value map (hash table) that is used to fill the template. \u00a0 # Can be overridden at the ldap group level. \u00a0 # If the field is not present at the user level, it will be set to the specified value. \u00a0 # The key is a variable declared in the template - {{ .variableName }} \u00a0 # Value - fields taken from the user's LDAP profile. \u00a0 # Note. \u00a0 # If you prefix an LDAP field name with \"raw:\", the value will be queried raw and base64 encoded \u00a0 #default: \u00a0 # \u00a0template: default \u00a0 # \u00a0fields: \u00a0 # \u00a0 \u00a0cn: cn \u00a0 # \u00a0 \u00a0mail: mail \u00a0 # \u00a0 \u00a0telephoneNumber: telephoneNumber \u00a0 # \u00a0 \u00a0position: position \u00a0 # \u00a0 \u00a0company: company \u00a0 # \u00a0 \u00a0photo: raw:jpegPhoto \u00a0 #list: \u00a0 \u00a0 # The list of groups by which the user's groups are matched. \u00a0 \u00a0 # The check is performed one by one, and the first match \u00a0 \u00a0 # interrupts further processing. \u00a0 \u00a0 #- group: \"CN=Domain Users,OU=SystemUsers,OU=Corp,DC=corp,DC=domain,DC=com\" \u00a0 \u00a0 # \u00a0template: default \u00a0 \u00a0 # \u00a0fields: \u00a0 \u00a0 # \u00a0 \u00a0cn: cn \u00a0 \u00a0 # \u00a0 \u00a0mail: mail \u00a0 \u00a0 # \u00a0 \u00a0telephoneNumber: telephoneNumber \u00a0 \u00a0 # \u00a0 \u00a0position: position \u00a0 \u00a0 # \u00a0 \u00a0company: company \u00a0 \u00a0 # \u00a0 \u00a0photo: raw:jpegPhoto <\/code><\/pre>\n<p>\u0414\u043b\u044f \u0432\u044b\u0434\u0430\u0447\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u043d\u0438\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432. \u0421\u043f\u0438\u0441\u043a\u043e\u0432 \u0434\u0432\u0430:<\/p>\n<ul>\n<li>\n<p>\u041b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 &#8212; \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u043e\u043b\u044f \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0438 \u0441\u0430\u043c \u0448\u0430\u0431\u043b\u043e\u043d, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0442\u0434\u0430\u043d. \u0412\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u0430\u043c\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0438\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<\/li>\n<li>\n<p>LDAP &#8212; \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u0438\u0437 ldap, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, LDAP-\u043f\u043e\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u0440\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0431\u043b\u043e\u043d. \u0415\u0441\u043b\u0438 \u043b\u043e\u0433\u0438\u043d \u043d\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435, \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d LDAP \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0431\u0430 \u0432\u0438\u0434\u0430 \u0441\u043f\u0438\u0441\u043a\u043e\u0432:<\/p>\n<h3>local<\/h3>\n<pre><code class=\"yaml\">local:   default:     template: users     fields:       cn: user \u00a0 \u00a0  \u00a0mail: mail@example.com \u00a0 \u00a0  \u00a0telephoneNumber: \u00a0 \u00a0  \u00a0position: no_body \u00a0 \u00a0  \u00a0company: \"\\\"Example\\\"\"   list:<\/code><\/pre>\n<p><code>local.default<\/code> &#8212; \u044d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u0441\u043f\u0438\u0441\u043a\u0430, \u0435\u0441\u043b\u0438 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0435 \u0441\u043f\u0438\u0441\u043a\u0430, \u043d\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0438\u043d\u043e\u0435.<br \/> <code>local.default.template<\/code> &#8212; \u0437\u0430\u0434\u0430\u0451\u0442 \u0438\u043c\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430, \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0442\u0432\u0435\u0442\u0430<br \/> <code>local.default.fields<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f Go-Template \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0438\u0445. \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435 \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<\/p>\n<pre><code class=\"go\">{{ .cn }}, {{ .mail }}, {{ .position }}<\/code><\/pre>\n<p>\u0442\u043e \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438:<\/p>\n<pre><code class=\"bash\">user, mail@example.com, no_body<\/code><\/pre>\n<p><code>local.list<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u043b\u043e\u0433\u0438\u043d\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <code>local.default<\/code> \u0441 \u0442\u0435\u043c \u0436\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u043e\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"yaml\">local:   default:     template: default_users     fields:       cn: user \u00a0 \u00a0  \u00a0mail: mail@example.com \u00a0 \u00a0  \u00a0telephoneNumber: \u00a0 \u00a0  \u00a0position: no_body \u00a0 \u00a0  \u00a0company: \"\\\"Example\\\"\"   list:     user1:     user2:       template: managers     user3:        template: admins        fields:          cn: \u0412\u0430\u0441\u044f \u041f\u0443\u043f\u043a\u0438\u043d          position: \u0421\u0435\u0442\u0435\u0432\u043e\u0439 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440<\/code><\/pre>\n<ul>\n<li>\n<p><code>local.list.user1<\/code>: \u0448\u0430\u0431\u043b\u043e\u043d-default_users, \u043f\u043e\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/p>\n<\/li>\n<li>\n<p><code>local.list.user2<\/code>: \u0448\u0430\u0431\u043b\u043e\u043d-managers, \u043f\u043e\u043b\u044f \u0432\u0441\u0451 \u0442\u0435 \u0436\u0435<\/p>\n<\/li>\n<li>\n<p><code>local.list.user3<\/code>: \u0448\u0430\u0431\u043b\u043e\u043d-admins, \u043f\u043e\u043b\u044f &#8212; \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/p>\n<\/li>\n<\/ul>\n<h3>LDAP<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u0432 LDAP.<br \/> \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 LDAP \u0441\u043f\u0438\u0441\u043a\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043f\u0438\u0441\u043a\u0438:<\/p>\n<pre><code class=\"yaml\">ldap: \u00a0 uid: sAMAccountName \u00a0 usersSearchBase: OU=Users,DC=corp,DC=example,DC=com \u00a0 groupsSearchBase: OU=Groups,DC=corp,DC=example,DC=com \u00a0 filter: (!(userAccountControl:1.2.840.113556.1.4.803:=2))(objectCategory=person)(objectClass=user) \u00a0 subgroups: true \u00a0 allowWithoutGroups: true \u00a0 default: \u00a0 list:<\/code><\/pre>\n<ul>\n<li>\n<p><code>ldap.uid<\/code> &#8212; \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 LDAP.<\/p>\n<\/li>\n<li>\n<p><code>ldap.usersSearchBase<\/code> &#8212; \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0432 LDAP<\/p>\n<\/li>\n<li>\n<p><code>ldap.groupSearchBase<\/code> &#8212; \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u0433\u0440\u0443\u043f\u043f \u0432 LDAP<\/p>\n<\/li>\n<li>\n<p><code>ldap.filter<\/code> &#8212; \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0438\u043b\u044c\u0442\u0440 \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0444\u0438\u043b\u044c\u0442\u0440\u0443 <code>($UID=$username)<\/code> \u0438\u043b\u0438 <code>(sAMAccountName=pupkin.v)<\/code>. \u041f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f, \u043e\u043d \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0418 &#8212; <code>(&amp;($UID=$username)$AddFilter)<\/code> \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<\/li>\n<\/ul>\n<pre><code>(&amp;(sAMAccountName=pupkin.v)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(objectCategory=person)(objectClass=user))<\/code><\/pre>\n<ul>\n<li>\n<p><code>ldap.subgroups: [true|false]<\/code> &#8212; \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043b\u0438 \u043f\u043e\u0438\u0441\u043a \u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 LDAP \u0433\u0440\u0443\u043f\u043f\u0430\u0445 \u0438\u043b\u0438 \u043d\u0435\u0442.  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443 \u0432\u0430\u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043e\u0431\u0449\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u0435 <code>Domain Peoples<\/code>, \u0430 <code>tacs_default<\/code> &#8212; \u0433\u0440\u0443\u043f\u043f\u0430 \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u041c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b <code>tacs_default<\/code> \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u043d\u0430\u0432\u0435\u0441\u0438\u0442\u044c \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\"># \u0423\u0441\u043b\u043e\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 LDAP  user1.memberOf: - Domain Peoples - tacs_default user1.memberOf: - Domain Peoples - tacs_default ...<\/code><\/pre>\n<ul>\n<li>\n<p>\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u043d\u0430 <code>Domain Peoples<\/code>, \u0447\u0442\u043e\u0431\u044b \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0435\u0451 \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u043b\u043e\u0441\u044c \u043d\u0438\u0436\u0435:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"yaml\"># \u0423\u0441\u043b\u043e\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 LDAP  # \u0411\u044b\u043b\u043e: user1.memberOf: - Domain Peoples user2.memberOf: - Domain Peoples # \u0421\u0442\u0430\u043b\u043e: Domain Peoples.memberOf: - tacs_default<\/code><\/pre>\n<p>\u041f\u0440\u0438 <code>true<\/code>, \u043a \u0444\u0438\u043b\u044c\u0442\u0440\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043f\u0446\u0438\u044f <code>:1.2.840.113556.1.4.1941:<\/code> \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0435 \u043f\u043e\u0434\u0433\u0440\u0443\u043f\u043f\u044b \u0438 \u043d\u0430\u0439\u0442\u0438 \u0438\u0441\u043a\u043e\u043c\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0435\u0441\u043b\u0438 \u0442\u043e\u0442 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0433\u0440\u0443\u043f\u043f.<\/p>\n<p><code>ldap.allowWithoutGroups: [true|false]<\/code> &#8212; \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0431\u0435\u0437 \u0433\u0440\u0443\u043f\u043f\u044b. \u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d \u0432 \u0433\u0440\u0443\u043f\u043f\u0430\u0445 LDAP, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f LDAP \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u043b\u0438 \u0432\u044b\u0434\u0430\u0442\u044c 404 \u043e\u0448\u0438\u0431\u043a\u0443.<\/p>\n<p><code>ldap.default<\/code> &#8212; \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0438 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u043d\u0430 \u0433\u0440\u0443\u043f\u043f\u0435, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<br \/> <code>ldap.default.template<\/code> &#8212; \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f LDAP \u0433\u0440\u0443\u043f\u043f<br \/> <code>ldap.default.fields<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u043f\u043e\u043b\u0435\u0439 \u0432\u0438\u0434\u0430 <code>Go-Template-\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f: ldap-\u043f\u043e\u043b\u0435-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/code>. \u0415\u0441\u043b\u0438 \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c, \u0442\u043e \u0432 LDAP-\u0441\u043f\u0438\u0441\u043a\u0435, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0431\u0435\u0440\u0443\u0442\u0441\u044f \u0438\u0437 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"yaml\">\u00a0 default: \u00a0 \u00a0 template: ldap-default \u00a0 \u00a0 fields: \u00a0 \u00a0 \u00a0 cn: cn \u00a0 \u00a0 \u00a0 position: description<\/code><\/pre>\n<ul>\n<li>\n<p>\u0418\u043c\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e &#8212; <code>ldap-default<\/code><\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 <code>{{ .cn }}<\/code> &#8212; \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u043b\u044e <code>cn<\/code> \u0438\u0437 LDAP<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 <code>{{ .position }}<\/code> &#8212; \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u043b\u044e <code>desccription<\/code> \u0438\u0437 LDAP<\/p>\n<\/li>\n<\/ul>\n<p><code>ldap.default.fields.*: raw:*<\/code> &#8212; \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u0438\u043c\u0435\u043d\u0435\u043c LDAP-\u043f\u043e\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441 <code>raw:<\/code> \u0442\u043e\u0433\u0434\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d\u043e \u0432 \u0441\u044b\u0440\u043e\u043c \u0432\u0438\u0434\u0435 \u0438 \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 base64. \u042d\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u0438\u0437 \u043f\u043e\u043b\u044f LDAP <code>jpegPhoto<\/code>:<\/p>\n<pre><code class=\"yaml\">\u00a0 default: \u00a0 \u00a0 ... \u00a0 \u00a0 fields: \u00a0 \u00a0 \u00a0 photo: \"raw:jpegPhoto\"<\/code><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0444\u043e\u0442\u043e \u0438\u0437 LDAP, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c html-\u043f\u043e\u0434\u043f\u0438\u0441\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<pre><code class=\"go\">&lt;img src=\"data:image\/jpeg;base64,{{ .photo }}\"\/><\/code><\/pre>\n<p><code>ldap.list<\/code> &#8212; \u0441\u043f\u0438\u0441\u043e\u043a \u0433\u0440\u0443\u043f\u043f \u0441 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u043e\u0439 \u043a \u043d\u0438\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u0441\u0432\u043e\u0439\u0441\u0442\u0432<\/p>\n<pre><code class=\"yaml\">\u00a0 list: \u00a0 \u00a0 - group: \"CN=tacs-with-photo,OU=tacs,OU=Groups,DC=corp,DC=example,DC=com\" \u00a0 \u00a0 \u00a0 template: with-ldap-photo \u00a0 \u00a0 \u00a0 fields: \u00a0 \u00a0 \u00a0 \u00a0 cn: cn \u00a0 \u00a0 \u00a0 \u00a0 mail: mail \u00a0 \u00a0 \u00a0 \u00a0 position: position \u00a0 \u00a0 \u00a0 \u00a0 company: company \u00a0 \u00a0 \u00a0 \u00a0 photo: raw:jpegPhoto \u00a0 \u00a0 \u00a0 \u00a0 address: physicalDeliveryOfficeName \u00a0 \u00a0 \u00a0 \u00a0 telephoneNumber: telephoneNumber<\/code><\/pre>\n<p><code>ldap.list.[*].group<\/code> &#8212; \u043f\u043e\u043b\u043d\u044b\u0439 DN-\u043f\u0443\u0442\u044c \u043a \u0433\u0440\u0443\u043f\u043f\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <code>\"CN=tacs-with-photo,OU=tacs,OU=Groups,DC=corp,DC=example,DC=com\"<\/code><br \/> <code>ldap.list.[*].template<\/code> &#8212; \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0434\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b<br \/> <code>ldap.list.[*].fields<\/code> &#8212; \u043a\u0430\u0440\u0442\u0430 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u0435\u0439, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0443 <code>ldap.default.fields<\/code>.<\/p>\n<h2>\u0428\u0430\u0431\u043b\u043e\u043d\u044b<\/h2>\n<p>\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 <code>scheme.yaml<\/code>:<br \/> <code>templateDir<\/code> &#8212; TACS \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0432\u0441\u0435\u043c<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-377088","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/377088","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=377088"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/377088\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=377088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=377088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=377088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}