summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2012-09-20 14:31:01 +0300
committerMartin Kosek <mkosek@redhat.com>2012-09-20 14:58:43 +0200
commit173c0012a6ee4b0912d41d2794303c6bea7dccf4 (patch)
tree17e702bbf214570b917fc38e90ddfca9f98e6677 /ipalib
parent4d374c589d9030fe7b8ab510e273003d42de0ba8 (diff)
downloadfreeipa.git-173c0012a6ee4b0912d41d2794303c6bea7dccf4.tar.gz
freeipa.git-173c0012a6ee4b0912d41d2794303c6bea7dccf4.tar.xz
freeipa.git-173c0012a6ee4b0912d41d2794303c6bea7dccf4.zip
Document use of external group membership
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/group.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/ipalib/plugins/group.py b/ipalib/plugins/group.py
index ae00aa8a..3775056a 100644
--- a/ipalib/plugins/group.py
+++ b/ipalib/plugins/group.py
@@ -76,6 +76,35 @@ EXAMPLES:
Display information about a named group.
ipa group-show localadmins
+
+External group membership is designed to allow users from trusted domains
+to be mapped to local POSIX groups in order to actually use IPA resources.
+External members should be added to groups that specifically created as
+external and non-POSIX. Such group later should be included into one of POSIX
+groups.
+
+An external group member is currently a Security Identifier as defined by
+the trusted domain.
+
+Example:
+
+1. Make note of the trusted domain security identifier
+
+ domainsid = `ipa trust-show <ad.domain> | grep Identifier | cut -d: -f2`
+
+2. Create group for the trusted domain admins' mapping and their local POSIX group:
+
+ ipa group-add --desc='<ad.domain> admins external map' ad_admins_external --external
+ ipa group-add --desc='<ad.domain> admins' ad_admins
+
+3. Add security identifier of Domain Admins of the <ad.domain> to the ad_admins_external
+ group (security identifier of <ad.domain SID>-513 is Domain Admins group):
+
+ ipa group-add-member ad_admins_external --external ${domainsid}-513
+
+4. Allow members of ad_admins_external group to be associated with ad_admins POSIX group:
+
+ ipa group-add-member ad_admins --groups ad_admins_external
""")
protected_group_name = u'admins'