diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-09-02 15:15:59 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-17 16:02:20 +0200 |
commit | e1f68731525116ce686ffcdc07ad3a14e4fb1cd7 (patch) | |
tree | 03c03314ee77d975d5404e46f65810cab0f68d49 /src/util/check_and_open.c | |
parent | 721241198c369596c4f13445c70f227b199fdcd0 (diff) | |
download | sssd-e1f68731525116ce686ffcdc07ad3a14e4fb1cd7.tar.gz sssd-e1f68731525116ce686ffcdc07ad3a14e4fb1cd7.tar.bz2 sssd-e1f68731525116ce686ffcdc07ad3a14e4fb1cd7.zip |
util: add find_subdomain_by_sid()
This function takes domain SID (doesn't have the last component)
or object SID (have all components) and returns subdomain.
The subdomain is found by comparing domain->domainid with the SID.
E.g.
domain SID: S-1-5-21-3940105347-3434501867-2690409756
object SID: S-1-5-21-3940105347-3434501867-2690409756-513
Resolves:
https://fedorahosted.org/sssd/ticket/2034
Diffstat (limited to 'src/util/check_and_open.c')
0 files changed, 0 insertions, 0 deletions