1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

11109 Commits

Author SHA1 Message Date
Rafal Szczesniak
5281ee7e84 Fresh meat in trusted domains code:
- packing/unpacking utility functions for trusted domain
   password struct; can be used to prepare buffer to store
   in secrets.tdb or (soon) passdb backend
 - similiar functions for DOM_SID
 - respectively modified secrets_(fetch|store) routines
 - new auth mapping code utilising introduced is_trusted_domain
   function
 - added tdb (un)packing of single bytes



Rafal
-
Rafal Szczesniak
3f4cb7b2c4 /tmp/newfun.msg -
Andrew Bartlett
f9c3c93f55 Found by metze with the clobber-region check - if it's a pstring, use pstrcpy().
Andrew Bartlett
-
Martin Pool
dfee0a6ad5 Add examples of ComfyChair -
Martin Pool
e7eafa10da Merge from Subversion
* Better report formatting
-
Alexander Bokovoy
fb85311941 Merge cifsntdomain.sgml fixes from 3.0 branch -
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)
-
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
2e9880ef7c Change size parameters from signed to unsigned to fix up warnings.
Jeremy.
-
Andrew Tridgell
db3ad0dbe0 fixed a strcat noticed by metze -
Jeremy Allison
596705198c Ensure we count the length correctly in mangle_map.
Jeremy.
-
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
01727b0296 We use unsigned now, so use %u.
Jeremy.
-
Jeremy Allison
69becdb563 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 -
Andrew Tridgell
af415842b8 make sure we have an empty directory when we start the utable test -
Martin Pool
71c8e90117 If using --enable-developer and valgrind.h is present, define VALGRIND. -
Martin Pool
e412dd6d7e When opening an existing DB, don't require the hash_size specified to
the open call to be the same as that of the existing tdb.  The
specified hash_size is only used if the tdb needs to be (re)created.

With this patch in place, tdbtool can open the printing tdbs, which
are created with a hash_size of 5000.  Before it would fail with EIO.
-
Tim Potter
c5c1a79793 Remove obsolete file. -
Martin Pool
17567dd1d5 Patch from Ronan Waide:
> when doing "enumdomusers", rpcclient prints each one preceded by the
> word "group" instead of "user"
-
Volker Lendecke
329911e436 Some conversion to pstrcpy_base.
Volker
-
Gerald Carter
6fca29ddcd check a pointer before dereferencing it; not sure why userdata == NULL though -
Andrew Bartlett
6a956390fa Don't segfault on make_server_info_guest() failure - instead return the
error code.

make_server_info_guest() requires an entry in the SAM at the moment, but
this will change before release.

Andrew Bartlett
-
Martin Pool
3285c80cb0 Use "$@" to preserve shell quoting in case somebody passes an escaped
string as a configure parameter.
-
Andrew Tridgell
cec1ef09e5 fixed use_oplocks and the timeout in smbtorture startup -