1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

10594 Commits

Author SHA1 Message Date
Martin Pool
dfee0a6ad5 Add examples of ComfyChair -
Martin Pool
e7eafa10da Merge from Subversion
* Better report formatting
-
Jeremy Allison
759aab9944 Fix off by one bug noticed by Andrew Bartlett.
Jeremy.
-
Jeremy Allison
41571a69e0 Merge from HEAD. 'win2000 can take much longer than the specified time to respond to a
lock - so to make the torture tests valid I give it a grace time of 10
seconds instead of 2'
Jeremy.
-
Jeremy Allison
40def80d43 Merge from HEAD. 'fixed the unmarshalling of the queryaliasmem SAMR call'
Jeremy.
-
Martin Pool
386087d77f Add bin/libbigballofmud.a non-shared library. A bit easier to link to
for testing than the .so.  (http://www.laputan.org/mud/mud.html)
-
Tim Potter
0eee7a4b1e Merge of tdb_unlockeys() crash fix. -
Tim Potter
c759392968 Merge of added locking functions from HEAD. -
Tim Potter
3026a5ef15 Merge of some commentary for getprinter info levels supported by win2k+ -
Martin Pool
054ed6d86d In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
-
Martin Pool
c9151c7b11 In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
-
Martin Pool
1ffa4d75b7 In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names.
-
Tim Potter
cd5c47f473 Added chainlock, chainunlock, lock_bystring and unlock_bystring methods. -
Tim Potter
eb432700c0 Fixed crash bug when calling tdb_unlockkeys() with no locked keys.
woot!
-
Andrew Tridgell
d40e3747cf show which files we fail to create in the casetable test -
Andrew Tridgell
80c4543409 fixed the unmarshalling of the queryaliasmem SAMR call -
Andrew Tridgell
c9c9e9eb26 win2000 can take much longer than the specified time to respond to a
lock - so to make the torture tests valid I give it a grace time of 10
seconds instead of 2
-
Jeremy Allison
33b11d5eb5 Change size parameters from signed to unsigned to fix up warnings.
Jeremy.
-
Jeremy Allison
98ed7e0cbb Merge of Andrew Bartlett's SID limit fix from HEAD.
Jeremy.
-
Jeremy Allison
2e9880ef7c Change size parameters from signed to unsigned to fix up warnings.
Jeremy.
-
Andrew Tridgell
533fe94db9 fixed a strcat noticed by metze -
Andrew Tridgell
db3ad0dbe0 fixed a strcat noticed by metze -
Jeremy Allison
596705198c Ensure we count the length correctly in mangle_map.
Jeremy.
-
Jeremy Allison
8e956bc1d6 Ensure we count the length correctly in mangle_map.
Jeremy.
-
Gerald Carter
e074cab810 adding some initiaial code to sert %a to Win2K3 (using Native LanMan string from .NET RC2) -
Gerald Carter
4c823e61d1 adding some initiaial code to sert %a to Win2K3 (using Native LanMan string from .NET RC2) -
Andrew Bartlett
147a0c8b13 Add const -
Andrew Bartlett
e9da9c500b - Fix a double-free (I can't say I understand the code, but it matches the other
cases and keeps valgrind quiet).

 - Add static

Andrew Bartlett
-
Andrew Bartlett
ce013dc13e Patch from Ken Cross <kcross@nssolutions.com> to take a username in the form
of user@realm for kerberos logins.

Andrew Bartlett
-
Martin Pool
9b0c59a107 Update for new version of ComfyChair: some methods are renamed to be
more consistent, and it now looks at command-line arguments to work
out what to do.

Run this program to get a quick demonstration of what ComfyChair does.
-
Martin Pool
e84046e769 New import of ComfyChair, many changes -
Martin Pool
0effe832a4 Import Samba Testing Framework code from private CVS module. -
Martin Pool
f923729ca3 Import design notes by martin and tpot from ComfyChair and stf modules. -
Martin Pool
a7fb1fcc72 Import ComfyChair framework from trunk. -
Martin Pool
f3b77aae13 Start importing the Python testing framework that Tim and I have been
working on into the main Samba tree.
-
Martin Pool
17f01f6959 Update usage message. -
Martin Pool
dcf1705782 Add example of string overflow which is now caught in developer mode. -
Jeremy Allison
65c2a361a4 We use unsigned now, so use %u.
Jeremy.
-
Jeremy Allison
01727b0296 We use unsigned now, so use %u.
Jeremy.
-
Jeremy Allison
69becdb563 Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.
Jeremy.
-
Jeremy Allison
289e2e25b9 Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.
Jeremy.
-
Andrew Bartlett
0620320002 This patch attemptes to clean up winbindd's mutex locking.
The current locking scheme in winbind is a complete mess - indeed, the
next step should be to push the locking into cli_full_connection(), but
I'll leave it for now.

This patch works on the noted behaviour that 2 parts of the connection
process need protection - and independent protection.  Tim Potter did
some work on this a little while back, verifying the second case.

The two cases are:
 - between connect() and first session setup
 - during the auth2 phase of the netlogon pipe setup.

I've removed the counter on the lock, as I fail to see what it gains us.

This patch also adds 'anonymous fallback' to our winbindd -> DC connection.

If the authenticated connection fails (wbinfo -A specifed) - say that
account isn't trusted by a trusted DC - then we try an anonymous.

Both tpot and mbp like the patch.

Andrew Bartlett
-
Andrew Bartlett
f6497fd639 security=domain and domain logons = yes should be a BDC (of sorts).
Matches 2.2

Andrew Bartlett
-
Andrew Bartlett
4c6a2d8d28 Some further tought on the server role issue - try not to break it compeatly.
Andrew Bartlett
-
Andrew Bartlett
5c1f100590 After 'consultation' with idra, this is how I think the server roles should work...
Andrew Bartlett
-
Simo Sorce
e1431424e7 This is how combination of domain logons and security parameter best combine.
Comments wellcome.


Simo.
-
Martin Pool
98479f1315 Remove valgrind_strlen function, hopefully no longer needed with
recent Valgrind relases and clashing with -DVALGRIND.
-
Martin Pool
36c6f67d4a Note about using Valgrind with tdbs. -
Andrew Tridgell
f283f71104 having sticky create times is not a bug -
Andrew Tridgell
7be44dbe00 fixed the MANGLE smbtorture test with the new paranoid string code -