Bug 1436625

Summary: ipasam: need to implement ipasam_update_sam_account()
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED DUPLICATE QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: pvoborni, rcritten, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-28 10:44:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Vobornik 2017-03-28 10:38:24 UTC
Cloned from upstream: https://pagure.io/freeipa/issue/6815

When a trust is established with AD, the AD server periodically calls NETR_SERVERPASSWORDSET2 and the operation fails with NT_STATUS_NOT_IMPLEMENTED (log in /var/log/samba/smbd.lsasd.xx):

    [2017/03/24 10:30:18.736045,  1, pid=70262, effective(99, 99), real(99, 0)] ../librpc/ndr/ndr.c:450(ndr_print_function_debug)
           netr_ServerPasswordSet2: struct netr_ServerPasswordSet2
              out: struct netr_ServerPasswordSet2
                  return_authenticator     : *
                      return_authenticator: struct netr_Authenticator
                          cred: struct netr_Credential
                              data                     : ced899cf781997ca
                          timestamp                : (time_t)0
                  result                   : NT_STATUS_NOT_IMPLEMENTED

pdb_update_sam_account() is called but ipasam doesn't provide this function, meaning that the default samba implementation is used and returns NT_STATUS_NOT_IMPLEMENTED.

We need to implement ipasam_update_sam_account().

Comment 2 Petr Vobornik 2017-03-28 10:38:40 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/6815

Comment 3 Petr Vobornik 2017-03-28 10:44:23 UTC
Cloned by mistake. It should be already covered by Bug 1411817.

*** This bug has been marked as a duplicate of bug 1411817 ***