diff options
author | Alexander Bokovoy <abokovoy@redhat.com> | 2013-07-09 10:26:22 +0300 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2013-07-11 12:39:28 +0300 |
commit | ad575f067c49fdc511e9139668529d46b2f5f8bf (patch) | |
tree | 748bb1394987ce1b7745f816ee8de38be409b4ee /Makefile | |
parent | fb62414e813bbc8bd287413ed2506c0fe7f9c589 (diff) | |
download | freeipa-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 'Makefile')
0 files changed, 0 insertions, 0 deletions