Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit978e0ef

Browse files
committed
Merge pull request#632 from github/admin-api-ldap
[Ready for Review] update ldap mapping works with sync disabled
2 parents7c6c7e8 +ba02980 commit978e0ef

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

‎Rakefile‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require_relative'lib/resources'
12
require'nanoc3/tasks'
23
require'tmpdir'
34

@@ -9,10 +10,16 @@ task :compile do
910
end
1011

1112
desc"Test the output"
12-
task:test=>[:clean,:remove_output_dir,:compile]do
13+
task:testdo
1314
require'html/proofer'
1415
ignored_links=[%r{www.w3.org}]
15-
HTML::Proofer.new("./output",:href_ignore=>ignored_links).run
16+
latest_ent_version=GitHub::Resources::Helpers::CONTENT['LATEST_ENTERPRISE_VERSION']
17+
# swap versionless Enterprise articles with versioned paths
18+
href_swap={
19+
%r{help\.github\.com/enterprise/admin/}=>"help.github.com/enterprise/#{latest_ent_version}/admin/",
20+
%r{help\.github\.com/enterprise/user/}=>"help.github.com/enterprise/#{latest_ent_version}/user/"
21+
}
22+
HTML::Proofer.new("./output",:href_ignore=>ignored_links,:href_swap=>href_swap).run
1623
end
1724

1825
desc"Remove the output dir"

‎content/v3/enterprise/ldap.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: LDAP
99

1010
You can use the LDAP API to update account relationships between a GitHub Enterprise user and its linked LDAP entry or queue a new synchronization.
1111

12-
With the LDAP mapping endpoints, you're able to update the Distinguished Name (DN) that a user maps to. Note that the LDAPsyncendpoints are only effective if your GitHub Enterprise appliance has[LDAP Sync enabled](https://help.github.com/enterprise/2.1/admin/guides/user-management/using-ldap).
12+
With the LDAP mapping endpoints, you're able to update the Distinguished Name (DN) that a user maps to. Note thatwiththeexception of[UpdateLDAPmapping for a user](#update-ldap-mapping-for-a-user), the LDAPendpoints are only effective if your GitHub Enterprise appliance has[LDAP Sync enabled](https://help.github.com/enterprise/admin/guides/user-management/using-ldap).[Update LDAP mapping for a user](#update-ldap-mapping-for-a-user) can be used if LDAP is enabled, even if LDAP Sync is disabled.
1313

1414
##Update LDAP mapping for a user
1515

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp