summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2013-07-09 10:26:22 +0300
committerAlexander Bokovoy <abokovoy@redhat.com>2013-07-11 12:39:28 +0300
commitad575f067c49fdc511e9139668529d46b2f5f8bf (patch)
tree748bb1394987ce1b7745f816ee8de38be409b4ee /ipaserver
parentfb62414e813bbc8bd287413ed2506c0fe7f9c589 (diff)
downloadfreeipa-ad575f067c49fdc511e9139668529d46b2f5f8bf.tar.gz
freeipa-ad575f067c49fdc511e9139668529d46b2f5f8bf.tar.xz
freeipa-ad575f067c49fdc511e9139668529d46b2f5f8bf.zip
Fix extdom plugin to provide unqualified name in response as sssd expects
extdom plugin handles external operation over which SSSD asks IPA server about trusted domain users not found through normal paths but detected to belong to the trusted domains associated with IPA realm. SSSD expects that user or group name in the response will be unqualified because domain name for the user or group is also included in the response. Strip domain name from the name if getgrnam_r/getpwnam_r calls returned fully qualified name which includes the domain name we are asked to handle. The code already expects that fully-qualified names are following user@domain convention so we are simply tracking whether '@' symbol is present and is followed by the domain name.
Diffstat (limited to 'ipaserver')
0 files changed, 0 insertions, 0 deletions