summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2013-10-29 15:03:02 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-10-29 16:02:59 +0100
commit022ebf54037982211da729b99213bab7458ae827 (patch)
tree26d2c8b6df9076b5c523ba4853029837ef63f115 /src/python
parentda34cf4ca360922f1bb9013d58108cf194f4286e (diff)
downloadsssd-022ebf54037982211da729b99213bab7458ae827.tar.gz
sssd-022ebf54037982211da729b99213bab7458ae827.tar.xz
sssd-022ebf54037982211da729b99213bab7458ae827.zip
sdap_save_user: try to determine domain by SID
GC contains objects from both parent domain and subdomain. Lets say we have user with UID 5000 that belongs to a subdomain and overlapping search bases dc=ad,dc=pb and dc=sub,dc=ad,dc=pb. Now we call 'getent passwd 5000' and this request goes through data provider, searching in parent domain first. Even though this user does not belong to this domain it is found and stored as ad.pb user. With this patch we look at user's SID and put it into correct domain.
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions