Description of problem: ipa-client-samba utility creates cifs service, which is not listed by "ipa service-find", though it can be viewed using "ipa service-show" Version-Release number of selected component (if applicable): freeipa-server-4.8.0-1.fc30.x86_64 How reproducible: Always Steps to Reproduce: 1. Setup topology: install ipa server, run ipa-adtrust-install on server, setup ipa client. 2. run ipa-client-samba on client 3. run ipa service-find Actual results: cifs service for client is not listed Expected results: record for principal cifs/client1.testrelm.test in output Additional info: "ipa service-show cifs/client1.testrelm.test" shows the desired service. Extract from /var/log/dirsrv/slapd-TESTRELM-TEST/access captured during execution of ipa service-find: SRCH base="cn=services,cn=accounts,dc=testrelm,dc=test" scope=1 filter="(&(&(objectClass=ipaService)(!(objectClass=posixAccount))(!(|(krbPrincipalName=kadmin/*)(krbPrincipalName=K/M@*)(krbPrincipalName=krbtgt/*))))(&(objectClass=krbprincipal)(objectClass=krbprincipalaux)(objectClass=krbticketpolicyaux)(objectClass=ipaobject)(objectClass=ipaservice)(objectClass=pkiuser)))" attrs="userCertificate krbPrincipalName ipaKrbAuthzData ipaAllowedToPerform krbPrincipalAuthInd krbCanonicalName" Thing to note here is "!(objectClass=posixAccount)" And as the service record contains this objectClass, the record is removed from search results: ipa service-show cifs/client1.testrelm.test --raw --all dn: krbprincipalname=cifs/client1.testrelm.test,cn=services,cn=accounts,dc=testrelm,dc=test krbcanonicalname: cifs/client1.testrelm.test ... objectClass: posixaccount ... The filter was introduced in commit 789fec4381 in year 2009.
Upstream ticket: https://pagure.io/freeipa/issue/8013
Fixed upstream master: https://pagure.io/freeipa/c/e771fa59ff65545ff1e84f1cd30e06556fabcee3
Fixed upstream ipa-4-8: https://pagure.io/freeipa/c/2f9cbffb6e57ded2d0107f457241f33b17869a96
FEDORA-2019-75a963e4cb has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-75a963e4cb
freeipa-4.8.2-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-75a963e4cb
freeipa-4.8.2-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.