1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/utils
Andrew Bartlett df64302213 r5902: A rather large change...
I wanted to add a simple 'workstation' argument to the DCERPC
authenticated binding calls, but this patch kind of grew from there.

With SCHANNEL, the 'workstation' name (the netbios name of the client)
matters, as this is what ties the session between the NETLOGON ops and
the SCHANNEL bind.  This changes a lot of files, and these will again
be changed when jelmer does the credentials work.

I also correct some schannel IDL to distinguish between workstation
names and account names.  The distinction matters for domain trust
accounts.

Issues in handling this (issues with lifetime of talloc pointers)
caused me to change the 'creds_CredentialsState' and 'struct
dcerpc_binding' pointers to always be talloc()ed pointers.

In the schannel DB, we now store both the domain and computername, and
query on both.  This should ensure we fault correctly when the domain
is specified incorrectly in the SCHANNEL bind.

In the RPC-SCHANNEL test, I finally fixed a bug that vl pointed out,
where the comment claimed we re-used a connection, but in fact we made
a new connection.

This was achived by breaking apart some of the
dcerpc_secondary_connection() logic.

The addition of workstation handling was also propogated to NTLMSSP
and GENSEC, for completeness.

The RPC-SAMSYNC test has been cleaned up a little, using a loop over
usernames/passwords rather than manually expanded tests.  This will be
expanded further (the code in #if 0 in this patch) to use a newly
created user account for testing.

In making this test pass test_rpc.sh, I found a bug in the RPC-ECHO
server, caused by the removal of [ref] and the assoicated pointer from
the IDL.  This has been re-added, until the underlying pidl issues are
solved.
(This used to be commit 824289dcc2)
2007-10-10 13:11:07 -05:00
..
net r5425: Convert function tables to new structure (with description) 2007-10-10 13:10:44 -05:00
config.mk r5054: added a nmblookup tool, based on the new nbt library 2007-10-10 13:09:18 -05:00
getntacl.c r4794: - disabled the ntacl command line utilities until they are rewritten to use the same 2007-10-10 13:08:56 -05:00
ndrdump.c r5827: Make ndrdump accept a uuid as well as a pipe name to specify 2007-10-10 13:11:04 -05:00
nmblookup.c r5328: - allow case sensitive nbt name lookups 2007-10-10 13:09:42 -05:00
ntlm_auth.c r5902: A rather large change... 2007-10-10 13:11:07 -05:00
setntacl.c r4794: - disabled the ntacl command line utilities until they are rewritten to use the same 2007-10-10 13:08:56 -05:00
setnttoken.c r4794: - disabled the ntacl command line utilities until they are rewritten to use the same 2007-10-10 13:08:56 -05:00