Skip to content

Commit 3227dba

Browse files
authored
Restore team LDAP instructions (#37175)
1 parent ec47eb1 commit 3227dba

File tree

2 files changed

+52
-5
lines changed

2 files changed

+52
-5
lines changed

content/organizations/organizing-members-into-teams/adding-organization-members-to-a-team.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ shortTitle: Add members to a team
2424

2525
{% data reusables.organizations.team-synchronization %}
2626

27+
{% ifversion ghes %}
28+
29+
## Adding organization members to a team
30+
31+
{% endif %}
32+
2733
{% data reusables.profile.access_org %}
2834
{% data reusables.user-settings.access_org %}
2935
{% data reusables.organizations.specific_team %}
@@ -34,7 +40,16 @@ shortTitle: Add members to a team
3440

3541
{% ifversion fpt or ghec %}{% data reusables.organizations.cancel_org_invite %}{% endif %}
3642

43+
{% ifversion ghes %}
44+
45+
## Mapping teams to LDAP groups (for instances using LDAP Sync for user authentication)
46+
47+
A team that's [synced to an LDAP group](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync) is indicated with a special LDAP badge. The member list for an LDAP synced team can only be managed from the LDAP group it's mapped to.
48+
49+
To add a new member to a team synced to an LDAP group, add the user as a member of the LDAP group, or contact your LDAP administrator.
50+
51+
{% endif %}
52+
3753
## Further reading
3854

39-
- "[AUTOTITLE](/organizations/organizing-members-into-teams/about-teams)"
4055
- "[AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-team-access-to-an-organization-repository)"

content/organizations/organizing-members-into-teams/creating-a-team.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Only organization owners and maintainers of a parent team can create a new child
2222

2323
{% data reusables.organizations.team-synchronization %}
2424

25+
{% ifversion ghes %}
26+
27+
## Creating a team
28+
29+
{% endif %}
30+
2531
{% data reusables.profile.access_org %}
2632
{% data reusables.user-settings.access_org %}
2733
{% data reusables.organizations.new_team %}
@@ -38,8 +44,34 @@ Only organization owners and maintainers of a parent team can create a new child
3844
{% data reusables.organizations.create_team %}
3945
1. Optionally, [give the team access to organization repositories](/organizations/managing-user-access-to-your-organizations-repositories/managing-team-access-to-an-organization-repository).
4046

41-
## Further reading
47+
{% ifversion ghes %}
48+
49+
## Creating teams with LDAP Sync enabled
50+
51+
Instances using LDAP for user authentication can use LDAP Sync to manage a team's members. Setting the group's **Distinguished Name** (DN) in the **LDAP group** field will map a team to an LDAP group on your LDAP server. If you use LDAP Sync to manage a team's members, you won't be able to manage your team within {% data variables.location.product_location %}. The mapped team will sync its members in the background and periodically at the interval configured when LDAP Sync is enabled. For more information, see "[AUTOTITLE](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync)."
52+
53+
You must be a site admin and an organization owner to create a team with LDAP sync enabled.
54+
55+
{% data reusables.enterprise_user_management.ldap-sync-nested-teams %}
56+
57+
{% warning %}
58+
59+
**Notes:**
60+
- LDAP Sync only manages the team's member list. You must manage the team's repositories and permissions from within {% data variables.product.prodname_ghe_server %}.
61+
- If an LDAP group mapping to a DN is removed, such as if the LDAP group is deleted, then every member is removed from the synced {% data variables.product.prodname_ghe_server %} team. To fix this, map the team to a new DN, add the team members back, and [manually sync the mapping](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#manually-syncing-ldap-accounts).
62+
- When LDAP Sync is enabled, if a person is removed from a repository, they will lose access but their forks will not be deleted. If the person is added to a team with access to the original organization repository within three months, their access to the forks will be automatically restored on the next sync.
63+
64+
{% endwarning %}
4265

43-
- "[AUTOTITLE](/organizations/organizing-members-into-teams/about-teams)"
44-
- "[AUTOTITLE](/organizations/organizing-members-into-teams/changing-team-visibility)"
45-
- "[AUTOTITLE](/organizations/organizing-members-into-teams/moving-a-team-in-your-organizations-hierarchy)"
66+
1. Ensure that [LDAP Sync is enabled](/admin/identity-and-access-management/using-ldap-for-enterprise-iam/using-ldap#enabling-ldap-sync).
67+
{% data reusables.profile.access_org %}
68+
{% data reusables.user-settings.access_org %}
69+
{% data reusables.organizations.new_team %}
70+
{% data reusables.organizations.team_name %}
71+
6. Under "LDAP group", search for an LDAP group's DN to map the team to. If you don't know the DN, type the LDAP group's name. {% data variables.product.prodname_ghe_server %} will search for and autocomplete any matches.
72+
{% data reusables.organizations.team_description %}
73+
{% data reusables.organizations.team_visibility %}
74+
{% data reusables.organizations.create-team-choose-parent %}
75+
{% data reusables.organizations.create_team %}
76+
77+
{% endif %}

0 commit comments

Comments
 (0)