1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-01 21:18:10 +03:00
samba-mirror/source3
Andrew Bartlett 4941e64fe0 This patch allows NT4 domains to trust Samba.
Simply add an account (smbpasswd -a -i REMOTEDOM) and join with 'user manager'
on the remote domain.

The only issue (at the auth level at least) that prevented NT4 domains from
trusting Samba was that our netlogon code was based on what appear to be
invalid assumptions.

The netlogon code appears to assume that the 'client name' specified
corrosponds to an account of the same form.  This doesn't apply in trusted
domains, becouse the account is in the form domain$

Now that we use the supplied account name, and no longer make our access
control checks at the challange stage (where this info is unavailable) we
match the Win2k behaviour for invalid machine logins, and don't need to know
the names of PDCs/BDCs in trusting domains.

We also kill off the 'you logged on with a machine account, use your user
account' error message, becouse the previous NT_STATUS return was compleatly
bogus.  (The ACCESS_DENIED we now return matches Win2k, and gives snane error
messages on the client).

TNG doesn't use this and has to do magic password syncs between the various
accounts for domain/pdc/bdc.  This patch feels like the much more natural way
of doing things, and has been mildly tested.

Andrew Bartlett
(This used to be commit 542673fcd6)
2002-03-03 03:56:53 +00:00
..
aparser replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down 2001-09-10 11:08:57 +00:00
auth Allow Samba to trust NT4 Domains. 2002-03-02 08:25:44 +00:00
bin Addd wrepld (what a cool name!) 2002-01-30 06:10:09 +00:00
client Fix from Michael Steffens <michael_steffens@hp.com> to make signal 2002-01-31 23:26:12 +00:00
codepages removed old unused files 2001-10-03 13:05:59 +00:00
groupdb Removed version number from file header. 2002-01-30 06:08:46 +00:00
include This patch merges my private LDAP tree into HEAD. 2002-03-02 10:16:28 +00:00
intl Removed version number from file header. 2002-01-30 06:08:46 +00:00
lib Fix up the pull_utf8_fstring/pstring functions, and add their push eqivilants. 2002-03-01 01:11:02 +00:00
libads Fix LDAP modification operation. Cut and paste error: was LDAP_MOD_ADD, should be LDAP_MOD_REPLACE. Caught by Alexey Kotovich. 2002-02-13 15:00:39 +00:00
libsmb Allow Samba to trust NT4 Domains. 2002-03-02 08:25:44 +00:00
locking Removed version number from file header. 2002-01-30 06:08:46 +00:00
msdfs Removed version number from file header. 2002-01-30 06:08:46 +00:00
nmbd Cause nmbd to take signal processing in-band, rather than in 2002-03-01 02:57:52 +00:00
nsswitch Allow Samba to trust NT4 Domains. 2002-03-02 08:25:44 +00:00
pam_smbpass updates from 2.2 2002-01-12 23:12:13 +00:00
param compile fix from vance 2002-03-02 19:06:15 +00:00
passdb This patch merges my private LDAP tree into HEAD. 2002-03-02 10:16:28 +00:00
po added fr.msg from Fanch 2001-12-09 17:06:45 +00:00
popt stop popt from doing its own intl stuff 2001-11-25 00:10:28 +00:00
printing Fix from JohnR - Fixed SetPrinterData(magic key) to support zero length DEVMODE as is the case with the 2002-02-27 22:40:12 +00:00
profile Removed version number from file header. 2002-01-30 06:08:46 +00:00
rpc_client merge from 2.2 2002-02-13 16:44:49 +00:00
rpc_parse more const 2002-03-02 09:15:56 +00:00
rpc_server This patch allows NT4 domains to trust Samba. 2002-03-03 03:56:53 +00:00
rpcclient Allow Samba to trust NT4 Domains. 2002-03-02 08:25:44 +00:00
script we definately don't want RCS $id tags in Samba. They make merging much 2002-02-18 22:12:21 +00:00
smbd Fix lseek-on-pipe problem in VFS (where it belongs IMHO). 2002-03-02 00:44:38 +00:00
smbwrapper Removed version number from file header. 2002-01-30 06:08:46 +00:00
tdb Various comment fixes from Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl> 2002-03-01 01:24:30 +00:00
tests added a simple test to see whether building shared libraries actually 2001-12-31 22:10:24 +00:00
torture added a "XCOPY" test that simulates the open calls made by xcopy /O 2002-02-24 08:38:11 +00:00
ubiqx Again, just syncronizing. The a function name was changed in the sll 2000-06-08 17:42:20 +00:00
utils Allow Samba to trust NT4 Domains. 2002-03-02 08:25:44 +00:00
web Removed version number from file header. 2002-01-30 06:08:46 +00:00
wrepld Fix from Michael Steffens <michael_steffens@hp.com> to make signal 2002-01-31 23:26:12 +00:00
.cvsignore Ignore dmalloc.log. 2002-01-03 03:47:09 +00:00
.dmallocrc Sample configuration for dmalloc. 2002-01-09 06:35:45 +00:00
acconfig.h This is another *BIG* change... 2002-01-20 14:30:58 +00:00
aclocal.m4 Added SWAT i18n feature: 2001-09-24 15:55:09 +00:00
architecture.doc first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
change-log global change from samba.anu.edu.au to samba.org 1998-11-21 13:20:31 +00:00
CodingSuggestions added "net join" command 2001-11-24 14:16:41 +00:00
config.guess By popular demand: a new config.guess and config.sub 2001-12-08 17:37:59 +00:00
config.sub By popular demand: a new config.guess and config.sub 2001-12-08 17:37:59 +00:00
configure Fixed EXTRA vs EXTGRA typo. Thanks Mike :-). 2002-03-01 19:30:34 +00:00
configure.developer Change ./configure.developer to stay in effect across a 2001-09-25 05:08:05 +00:00
configure.in Fixed EXTRA vs EXTGRA typo. Thanks Mike :-). 2002-03-01 19:30:34 +00:00
configure.nodebug.developer computer too slow to compile with debug info (100mins), but i need all the 2000-03-09 22:22:38 +00:00
Doxyfile Fixed typo. 2002-01-17 02:54:23 +00:00
dynconfig.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
install-sh
internals.doc The big character set handling changeover! 2001-07-04 07:15:53 +00:00
mainpage.dox Make CodingSuggestions show up in the Doxygen pages. 2001-11-16 07:28:23 +00:00
Makefile.in Missed the Makefile.in update... 2002-03-01 03:28:10 +00:00
parsing.doc
smbadduser