1fdd8fa Use ndr_pull_steal_switch_value for modern samba versions

2 files Authored by Noel Power 4 years ago, Committed by pbrezina 4 years ago,
    Use ndr_pull_steal_switch_value for modern samba versions
    
    commit bc56b10aea999284458dcc293b54cf65288e325d attempted to
    fix the build error resulting from removal of 'ndr_pull_get_switch'
    
    This change uses the new replacement method
    'ndr_pull_steal_switch_value' however depending on the samba version
    the ndr_pull_steal_switch_value abi is different.
    
    Note: ndr_pull_steal_switch_value is used since samba 4.10 for
          the affected methods
    
    Note: the following methods have been refreshed from samba-4.12 generated
          code;
    
        o ndr_pull_security_ace_object_type
        o ndr_pull_security_ace_object_inherited_type
        o ndr_pull_security_ace_object_ctr
    
    Signed-off-by: Noel Power <noel.power@suse.com>
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    
        
file modified
+8 -1
file modified
+26 -19