1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-08 16:23:49 +03:00
Commit Graph

4151 Commits

Author SHA1 Message Date
Simo Sorce
4f0948dab0 r6470: Remove ldb_search_free() it is not needed anymore.
Just use talloc_free() to release the memory after an ldb_search().
2007-10-10 13:11:40 -05:00
Tim Potter
acf1d0a1b5 r6469: Add CreateDomainGroup, GetAliasMembership. 2007-10-10 13:11:40 -05:00
Andrew Bartlett
8d503fb153 r6468: Fix LOCAL-NTLMSSP test with new NTLMSSP structure.
Andrew Bartlett
2007-10-10 13:11:40 -05:00
Andrew Bartlett
106047032f r6467: keep the compiler quiet with another entry in structs.h
Andrew Bartlett
2007-10-10 13:11:40 -05:00
Tim Potter
764b967926 r6466: Spelling. 2007-10-10 13:11:39 -05:00
Andrew Bartlett
78dc57c655 r6465: Use talloc_zero for the gensec_ntlmssp_state structure, as the history
of this code has too many pre-zeroed structure assumptions.

Remove unused 'stub' functions

Andrew Bartlett
2007-10-10 13:11:39 -05:00
Andrew Bartlett
eebbb4205b r6464: Remove the last of the Samba3 NTLMSSP API. This removes the rudundent
struct ntlmssp_state, and pushes all the member elements into struct
gensec_ntlmssp_state.

This also removes the 2-layer start function, caused by the previous
double abstraction layer.

Andrew Bartlett
2007-10-10 13:11:39 -05:00
Andrew Bartlett
227f2578da r6463: Move NTLM2 and NTLM (v1) specific variables into a union for DCE/RPC.
Andrew Bartlett
2007-10-10 13:11:39 -05:00
Andrew Bartlett
7a93ac49c2 r6462: Move the arcfour sbox state into it's own structure, and allocate it
with talloc() for the NTLMSSP system.

Andrew Bartlett
2007-10-10 13:11:39 -05:00
Andrew Bartlett
5a6a57cd93 r6460: Push the client credentials into NTLMSSP, allowing logins of the form
user@REALM for the first time.

Fix the build for smbencrypt.c

Andrew Bartlett
2007-10-10 13:11:39 -05:00
Andrew Bartlett
2f22841c67 r6458: Split up NTLMSSP into a new directory, and into seperate files for the
client and server logic code.  In future, this may allow us to build
only the NTLMSSP client, and not the server, but in the short-term, it
allows me greater sainity in moving around these files.

Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
c023f5c5e8 r6457: Simply the RPC server code for the choice of GENSEC mech - it's just
one function call now, so no need for a wrapper function.

Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
b35b82d4f1 r6456: The RPC-SCHANNEL test is an important test that passes against Win2k3 (well, not SP1, but we are working on that detail).
Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
fc3e3653eb r6455: Remove wrapper functions, and ntlmssp_end (which is well handed by talloc() now).
Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
b14c530dfd r6454: Start to migrate NTLMSSP away from it's own API to just use GENSEC.
The aim here is to remove the extra layer of abstraction, and to then
use the credentials code directly in the NTLMSSP layer.

Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
24f98f32aa r6453: Move verbose errors for the schannel 'not in the DB, or DB corrupt' error cases.
Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
e4e2217053 r6452: This particular credentials feature needs to be NULL by default.
Andrew Bartlett
2007-10-10 13:11:38 -05:00
Andrew Bartlett
7e554e31d9 r6451: Ensure we correctly initialise the credentials structure in the schannel test.
Andrew Bartlett
2007-10-10 13:11:37 -05:00
Jelmer Vernooij
a8de35ca27 r6442: Add mechanism for configuring ldb independantly of the rest of
Samba using the autoconf tools.
2007-10-10 13:11:37 -05:00
Rafal Szczesniak
84f5836d90 r6440: Adding libcli composite functions dependency, as we need to locate
a host and connect to its services prior to doing administrative tasks
via rpc calls.

rafal
2007-10-10 13:11:37 -05:00
Rafal Szczesniak
96c3838d51 r6439: Clarify the comment.
rafal
2007-10-10 13:11:37 -05:00
Rafal Szczesniak
400f6d5f87 r6432: Restorin previous construction of conditions after a little discussion
with Richard and Andrew.

rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
91df25a795 r6430: Delete existing test account if, for some reason, it hasn't been
deleted last time running the test.

rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
ea251d4f79 r6426: DCE/RPC bind string parsing is not needed anymore, as we use
lp_workgroup parameter as domain name to operate on.

rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
de3409d6e5 r6425: Yet another comment.
rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
25dd10cedb r6424: More comments and fixes to existing ones.
rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
2518122c9e r6420: Close user account handle before calling tested function to better
simulate real conditions of calling the function.

rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
f78d1e4b35 r6419: Fix strange behaviour of NET-USERDEL where account doesn't actually
gets deleted.

rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
a6b1911882 r6415: Added NET-USERDEL torture test which proves something's wrong
with user del function.

rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
98d98b9bc7 r6414: Added composite user del function. Slightly broken still, but I don't
want it to hang around not commited.

rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
0dc416b8e4 r6406: Include new NET-USERADD test in torture suite.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
76fb84c1ee r6405: Complete NET-USERADD torture test for user add composite function.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
d40a6703f5 r6390: A couple of changes in useradd function regarding pointers.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
7539397240 r6389: Incomplete test of composite useradd function.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
ebf151ca6e r6384: Formatting fixes.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
c40e754700 r6383: Add user management file to build.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
3752122550 r6382: New structure for useradd call.
rafal
2007-10-10 13:11:34 -05:00
Rafal Szczesniak
7f3aafca07 r6381: Started working on user account management functions.
rafal
2007-10-10 13:11:34 -05:00
Tim Potter
e2f127b4d8 r6361: Update howto and provisioning script with the moves made in r6207. 2007-10-10 13:11:34 -05:00
Tim Potter
5a598f5da1 r6360: Quieten unused variable warning. 2007-10-10 13:11:34 -05:00
Tim Potter
1738761d89 r6359: Fix compiler warning with struct sockaddr. I'm sure I fixed this a few
weeks ago - weird.
2007-10-10 13:11:34 -05:00
Stefan Metzmacher
ccedfc9fe7 r6353: we need the english output from the svn commands
metze
2007-10-10 13:11:34 -05:00
Alexander Bokovoy
441cff62ac r6352: Two new composite calls:
- qfsinfo (query file system information)
- appendacl (append an ACL to existing file's security descriptor and get new
full ACL)

The second one also includes an improvement to security descriptor handling
which allows to copy security descriptor. Written by Peter Novodvorsky
<peter.novodvorsky@ru.ibm.com>

Both functions have corresponding torture tests added. Tested under valgrind and
work against Samba 4 and Windows XP.

ToDo: document composite call creation process in prog_guide.txt
2007-10-10 13:11:34 -05:00
Tim Potter
0e6be68daf r6350: Add a newline to make things look prettier. 2007-10-10 13:11:33 -05:00
Andrew Tridgell
2acc069185 r6342: fixed a bad union assumption that caused ACLs to fail on 64 bit machines
Thanks to lars and agruen for finding this
2007-10-10 13:11:33 -05:00
Andrew Tridgell
2873c0e917 r6341: fixed the schannel idl to handle dotted names correctly 2007-10-10 13:11:33 -05:00
Andrew Tridgell
e6376b2430 r6340: - added an easy to use function to initialise a temporary ldb with some ldif
- init the schannel.ldb with some CASE_INSENSITIVE attributes
2007-10-10 13:11:33 -05:00
Andrew Tridgell
4c2207c946 r6339: set the NBT_SERVER_LDAP and NBT_SERVER_KDC bits based on config
(andrew, please fix the method of sseeing if we do krb5, if you can
think of a better one)
2007-10-10 13:11:33 -05:00
Andrew Tridgell
f4d07d7d3b r6338: ADS style GETDC response now works well enough that WinXP can join
Samba4 without Samba3 nmbd
2007-10-10 13:11:33 -05:00
Andrew Tridgell
c29279355c r6335: at debug level 10, save netlogon and ntlogon packets that fail to parse 2007-10-10 13:11:33 -05:00