diff options
author | Sumit Bose <sbose@redhat.com> | 2013-09-24 10:09:26 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-09-27 15:06:21 +0200 |
commit | b1cfb47dc03a49648fca7b9d5b0b041342689a88 (patch) | |
tree | 4420b3568e62d4e68002dc9d6c79ec3d4f08764c /ipalib/crud.py | |
parent | edf0719409c9f556ea461139cf031881fbfe5cbf (diff) | |
download | freeipa-b1cfb47dc03a49648fca7b9d5b0b041342689a88.tar.gz freeipa-b1cfb47dc03a49648fca7b9d5b0b041342689a88.tar.xz freeipa-b1cfb47dc03a49648fca7b9d5b0b041342689a88.zip |
CLDAP: do not read IPA domain from hostname
Currently the CLDAP plugin determines the IPA domain name by reading
the current host name and splitting of the domain part. But since an IPA
server does not have to be in a DNS domain which has the same name as
the IPA domain this may fail. The domain name was used to search the
ipaNTDomainAttrs object, but since this object is unique in the tree it
is sufficient to use the objectclass in the search filter. Now the IPA
domain can be read from the ipaNTDomainAttrs object as well.
Fixes https://fedorahosted.org/freeipa/ticket/3941
Diffstat (limited to 'ipalib/crud.py')
0 files changed, 0 insertions, 0 deletions