1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source/rpcclient
Andrew Bartlett 7c34de8096 This merges in my 'always use ADS' patch. Tested on a mix of NT and ADS
domains, this patch ensures that we always use the ADS backend when
security=ADS, and the remote server is capable.

The routines used for this behaviour have been upgraded to modern Samba
codeing standards.

This is a change in behaviour for mixed mode domains, and if the trusted
domain cannot be reached with our current krb5.conf file, we will show
that domain as disconnected.

This is in line with existing behaviour for native mode domains, and for
our primary domain.

As a consequence of testing this patch, I found that our kerberos error
handling was well below par - we would often throw away useful error
values.  These changes move more routines to ADS_STATUS to return
kerberos errors.

Also found when valgrinding the setup, fix a few memory leaks.

While sniffing the resultant connections, I noticed we would query our
list of trusted domains twice - so I have reworked some of the code to
avoid that.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
..
cmd_dfs.c Merge of waider's rpcclient return type patch. 0001-01-01 00:00:00 +00:00
cmd_ds.c Change (unused) structure parameter for cli_ds_enum_domain_trusts() cleanup. 0001-01-01 00:00:00 +00:00
cmd_echo.c Merge from HEAD: 0001-01-01 00:00:00 +00:00
cmd_lsarpc.c This merges in my 'always use ADS' patch. Tested on a mix of NT and ADS 0001-01-01 00:00:00 +00:00
cmd_netlogon.c sync 3.0 into HEAD for the last time 0001-01-01 00:00:00 +00:00
cmd_reg.c Merge of waider's rpcclient return type patch. 0001-01-01 00:00:00 +00:00
cmd_samr.c The "unknown_5" 32 bit field in the user structs is actually 2 16-bit 0001-01-01 00:00:00 +00:00
cmd_shutdown.c New files for support of initshutdown pipe. Win2k doesn't respond properly 0001-01-01 00:00:00 +00:00
cmd_spoolss.c Fix comment. 0001-01-01 00:00:00 +00:00
cmd_srvsvc.c Merge of waider's rpcclient return type patch. 0001-01-01 00:00:00 +00:00
cmd_wkssvc.c trying to get HEAD building again. If you want the code 0001-01-01 00:00:00 +00:00
display_sec.c Merge of scalable printing code fix... Needs testing. 0001-01-01 00:00:00 +00:00
rpcclient.c Add initshutdown pipe commands to rpcclient. Second part of fix to bug 0001-01-01 00:00:00 +00:00
rpcclient.h Remove trailing comma on typedef enum. albert chin (china@thewrittenword.com) 0001-01-01 00:00:00 +00:00