#2993 Protocol error with FreeIPA on CentOS 6
Closed: Fixed None Opened 8 years ago by lslebodn.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1328108

Description of problem:
We use FreeIPA on CentOS 6 for user authentication. On Fedora 23, the sssd_be
consumes lots of memory and writes error messages to the log at a rapid rate
(gigabytes per day in debug_level 4).

Version-Release number of selected component (if applicable):
sssd-1.13.3-6.fc23.x86_64
Also tested: sssd-1.13.4-1.fc23.x86_64

How reproducible:
Always

Additional info:
The server runs ipa-server-3.0.0-47.el6.centos.2.x86_64.

On the client, the memory consumption of sssd_be constantly increases. The log
contains lots of messages of the following form (can't actually tell the order
since they repeat over and over, debug_level set to 4):
(Mon Apr 18 14:49:30 2016) [sssd[be[---]]] [sdap_get_generic_op_finished]
(0x0040): Unexpected result from ldap: Protocol error(2), A dereference
attribute must have DN syntax
(Mon Apr 18 14:49:30 2016) [sssd[be[---]]] [generic_ext_search_handler]
(0x0040): sdap_get_generic_ext_recv failed [5]: Input/output error
(Mon Apr 18 14:49:30 2016) [sssd[be[---]]] [sdap_deref_search_done] (0x0040):
dereference processing failed [5]: Input/output error

On the server, this causes a very high load in ns-slapd for the domain in
question.

We are currently in the process of upgrading from F20. There, everything was
working fine. So it seems that sssd in the meantime introduced something that
triggers this behavior. Either this is a general incompatibility that current
exists between the latest sssd and the CentOS 6 FreeIPA, or maybe some FreeIPA
upgrade had an issue? (I remember

The workstations with the new version seem to work fine, aside from becoming
unresponsive once sssd_be fills up the memory. Users can authenticate.

If there is anything I can provide to help analyze and fix this issue please
let me know. Currently this is a roadblock for further upgrading our machines.
We would like to resolve this without upgrading the FreeIPA server (after all,
we chose an enterprise Linux for long-term stability).

I seems to be a bug caused by ticket #2960.
It was introduced in 1.13.4

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
review: True => 0
selected: =>
testsupdated: => 0

Sumit has a patch

owner: somebody => sbose

Fields changed

patch: 0 => 1

milestone: NEEDS_TRIAGE => SSSD 1.13.5
resolution: => fixed
status: new => closed

Metadata Update from @lslebodn:
- Issue assigned to sbose
- Issue set to the milestone: SSSD 1.13.5

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4034

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata