mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
5fe7536145
Before merging the s4 and s3 RPC servers the make_internal_rpc_pipe_p() function did not fail when the requested interface was not registered in the calling process because it did not check the return value of rpc_srv_get_pipe_cmds(). If the interface was not registed, the pointer to the interface functions was NULL and later, when dispatching a call, rpcint_dispatch() returned NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in this case. After merging the RPC servers, the rpc_pipe_open_internal() function will return NT_STATUS_RPC_INTERFACE_NOT_FOUND if the interface is not registered in the calling process. This causes a noisy error message in winbind when it tries to open the dssetup pipe to the primary domain and it is not an AD domain. The callers of wb_open_internal_pipe() when connecting to the domain already logs the error at level greather or equal to five. This commit moves the dupplicated and noisy error message at level zero from wb_open_internal_pipe() to its callers outside winbindd_cm.c. This error can be seen in winbindd logs of ad_member and nt4_member test environments. [2021/03/01 16:49:38.486004, 0, pid=12456] ../../source3/winbindd/winbindd_cm.c:1893(wb_open_internal_pipe) open_internal_pipe: Could not connect to dssetup pipe: NT_STATUS_RPC_INTERFACE_NOT_FOUND Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> |
||
---|---|---|
.. | ||
idmap_hash | ||
idmap_ad_nss.c | ||
idmap_ad.c | ||
idmap_autorid_tdb.c | ||
idmap_autorid.c | ||
idmap_ldap.c | ||
idmap_nss.c | ||
idmap_passdb.c | ||
idmap_proto.h | ||
idmap_rfc2307.c | ||
idmap_rid.c | ||
idmap_rw.c | ||
idmap_rw.h | ||
idmap_script.c | ||
idmap_tdb2.c | ||
idmap_tdb_common.c | ||
idmap_tdb_common.h | ||
idmap_tdb.c | ||
idmap_util.c | ||
idmap.c | ||
nss_info_template.c | ||
nss_info.c | ||
wb_dsgetdcname.c | ||
wb_getgrsid.c | ||
wb_getpwsid.c | ||
wb_gettoken.c | ||
wb_group_members.c | ||
wb_lookupname.c | ||
wb_lookupsid.c | ||
wb_lookupsids.c | ||
wb_lookupuseraliases.c | ||
wb_lookupusergroups.c | ||
wb_next_grent.c | ||
wb_next_pwent.c | ||
wb_query_group_list.c | ||
wb_query_user_list.c | ||
wb_queryuser.c | ||
wb_seqnum.c | ||
wb_seqnums.c | ||
wb_sids2xids.c | ||
wb_xids2sids.c | ||
winbindd_ads.c | ||
winbindd_ads.h | ||
winbindd_allocate_gid.c | ||
winbindd_allocate_uid.c | ||
winbindd_async.c | ||
winbindd_cache.c | ||
winbindd_ccache_access.c | ||
winbindd_change_machine_acct.c | ||
winbindd_check_machine_acct.c | ||
winbindd_cm.c | ||
winbindd_cred_cache.c | ||
winbindd_creds.c | ||
winbindd_domain_info.c | ||
winbindd_domain.c | ||
winbindd_dsgetdcname.c | ||
winbindd_dual_ndr.c | ||
winbindd_dual_srv.c | ||
winbindd_dual.c | ||
winbindd_endgrent.c | ||
winbindd_endpwent.c | ||
winbindd_getdcname.c | ||
winbindd_getgrent.c | ||
winbindd_getgrgid.c | ||
winbindd_getgrnam.c | ||
winbindd_getgroups.c | ||
winbindd_getpwent.c | ||
winbindd_getpwnam.c | ||
winbindd_getpwsid.c | ||
winbindd_getpwuid.c | ||
winbindd_getsidaliases.c | ||
winbindd_getuserdomgroups.c | ||
winbindd_getusersids.c | ||
winbindd_gpupdate.c | ||
winbindd_group.c | ||
winbindd_idmap.c | ||
winbindd_irpc.c | ||
winbindd_list_groups.c | ||
winbindd_list_users.c | ||
winbindd_locator.c | ||
winbindd_lookupname.c | ||
winbindd_lookuprids.c | ||
winbindd_lookupsid.c | ||
winbindd_lookupsids.c | ||
winbindd_misc.c | ||
winbindd_msrpc.c | ||
winbindd_ndr.c | ||
winbindd_pam_auth_crap.c | ||
winbindd_pam_auth.c | ||
winbindd_pam_chauthtok.c | ||
winbindd_pam_chng_pswd_auth_crap.c | ||
winbindd_pam_logoff.c | ||
winbindd_pam.c | ||
winbindd_ping_dc.c | ||
winbindd_proto.h | ||
winbindd_reconnect_ads.c | ||
winbindd_reconnect.c | ||
winbindd_rpc.c | ||
winbindd_rpc.h | ||
winbindd_samr.c | ||
winbindd_setgrent.c | ||
winbindd_setpwent.c | ||
winbindd_show_sequence.c | ||
winbindd_sids_to_xids.c | ||
winbindd_util.c | ||
winbindd_wins_byip.c | ||
winbindd_wins_byname.c | ||
winbindd_xids_to_sids.c | ||
winbindd.c | ||
winbindd.h | ||
wscript_build |