1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source/libsmb
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
..
.cvsignore ignore *.po32 files 0001-01-01 00:00:00 +00:00
asn1.c convert snprintf() calls using pstrings & fstrings 0001-01-01 00:00:00 +00:00
cliconnect.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
clidgram.c Fix coredump in cli_get_backup_list. 0001-01-01 00:00:00 +00:00
clientgen.c Changes all over the shop, but all towards: 0001-01-01 00:00:00 +00:00
clierror.c Eliminate valgrind error when client gets bad sig on list. Some reformatting. 0001-01-01 00:00:00 +00:00
clifile.c More tuning from cachegrind. Change most trim_string() calls to trim_char(0, 0001-01-01 00:00:00 +00:00
clifsinfo.c smbcquota patch from metze 0001-01-01 00:00:00 +00:00
clikrb5.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
clilist.c Fixes to check for wraps which could cause coredumps. 0001-01-01 00:00:00 +00:00
climessage.c Attempt to fix the charcnv issues causing nmbd to crash. If we get a failed 0001-01-01 00:00:00 +00:00
clioplock.c Removed version number from file header. 0001-01-01 00:00:00 +00:00
cliprint.c get rid of some sompiler warnings on IRIX 0001-01-01 00:00:00 +00:00
cliquota.c More merges from HEAD: 0001-01-01 00:00:00 +00:00
clirap2.c get rid of some sompiler warnings on IRIX 0001-01-01 00:00:00 +00:00
clirap.c get rid of some sompiler warnings on IRIX 0001-01-01 00:00:00 +00:00
clireadwrite.c RPC fix from Ronan Waide <waider@waider.ie>. Tested with rpcecho. 0001-01-01 00:00:00 +00:00
clisecdesc.c According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind 0001-01-01 00:00:00 +00:00
clispnego.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
clistr.c Whitespace syncup. 0001-01-01 00:00:00 +00:00
clitrans.c Ensure we use the same mid for the secondary trans requests, W2K3 0001-01-01 00:00:00 +00:00
conncache.c fix typo in debug log 0001-01-01 00:00:00 +00:00
credentials.c Add a dash of const here and there... 0001-01-01 00:00:00 +00:00
doserr.c Merge of server unavailable error string. 0001-01-01 00:00:00 +00:00
errormap.c Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing 0001-01-01 00:00:00 +00:00
libsmb_cache.c More merges from HEAD: 0001-01-01 00:00:00 +00:00
libsmb_compat.c Remove some unused variables uncovered by the build farm. 0001-01-01 00:00:00 +00:00
libsmbclient.c auth/auth_util.c: 0001-01-01 00:00:00 +00:00
namecache.c large change: 0001-01-01 00:00:00 +00:00
namequery_dc.c Change our Domain controller lookup routines to more carefully seperate 0001-01-01 00:00:00 +00:00
namequery.c Make intent to return only one address clear. 0001-01-01 00:00:00 +00:00
nmblib.c Fix the character set handling properly in nmbd. Also fix bug where 0001-01-01 00:00:00 +00:00
nterr.c Add NT quota support. Patch from Stefan (metze) Metzemacher 0001-01-01 00:00:00 +00:00
ntlm_check.c Move our basic password checking code from inside the authentication 0001-01-01 00:00:00 +00:00
ntlmssp_parse.c Changes all over the shop, but all towards: 0001-01-01 00:00:00 +00:00
ntlmssp_sign.c Make it clear that we cannot sign if we don't have a session key. 0001-01-01 00:00:00 +00:00
ntlmssp.c Fix more cases to ensure that as a server, we don't complain to the client 0001-01-01 00:00:00 +00:00
passchange.c Removed global_myworkgroup, global_myname, global_myscope. Added liberal 0001-01-01 00:00:00 +00:00
pwd_cache.c Correctly handle per-pipe NTLMSSP inside a NULL session. Previously we 0001-01-01 00:00:00 +00:00
samlogon_cache.c i guess i'm the only one this ever annyoed... 0001-01-01 00:00:00 +00:00
smb_signing.c Preliminary fix for our signing problem with failed NTLMSSP logins. This patch 0001-01-01 00:00:00 +00:00
smbdes.c Add support for variable-length session keys in our client code. 0001-01-01 00:00:00 +00:00
smbencrypt.c Make sure we correctly generate the lm session key. 0001-01-01 00:00:00 +00:00
smberr.c Merge from HEAD - make Samba compile with -Wwrite-strings without additional 0001-01-01 00:00:00 +00:00
spnego.c Add the gss-spnego kerberos server side to ntml_auth. This uses the 0001-01-01 00:00:00 +00:00
trustdom_cache.c convert snprintf() calls using pstrings & fstrings 0001-01-01 00:00:00 +00:00
trusts_util.c Change our Domain controller lookup routines to more carefully seperate 0001-01-01 00:00:00 +00:00
unexpected.c Merge from HEAD - make Samba compile with -Wwrite-strings without additional 0001-01-01 00:00:00 +00:00