CVS update: samba/source/rpc_client
abartlet at samba.org
abartlet at samba.org
Thu Jan 8 08:19:18 GMT 2004
Date: Thu Jan 8 08:19:18 2004
Author: abartlet
Update of /home/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv22397/rpc_client
Modified Files:
Tag: SAMBA_3_0
cli_lsarpc.c
Log Message:
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
Revisions:
cli_lsarpc.c 1.68.2.9 => 1.68.2.10
http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_lsarpc.c.diff?r1=1.68.2.9&r2=1.68.2.10
More information about the samba-cvs
mailing list