CVS update: samba/source

abartlet at samba.org abartlet at samba.org
Thu Jan 8 08:19:17 GMT 2004


Date:	Thu Jan  8 08:19:17 2004
Author:	abartlet

Update of /home/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv22397

Modified Files:
      Tag: SAMBA_3_0
	Makefile.in configure.in 
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:
Makefile.in		1.468.2.205 => 1.468.2.206
	http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in.diff?r1=1.468.2.205&r2=1.468.2.206
configure.in		1.300.2.203 => 1.300.2.204
	http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.300.2.203&r2=1.300.2.204


More information about the samba-cvs mailing list