Age | Commit message (Collapse) | Author | Files | Lines |
|
(no need to include all of smbd files to use some basic sec functions)
also minor compile fixes
(This used to be commit 66074d3b097d8cf2a231bf08c7f4db62da68189d)
|
|
Jeremy.
(This used to be commit 6defe43e6d48619cee31b6c7fc602973e8eeef3f)
|
|
(This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
|
|
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
|
|
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
|
|
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
|
|
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
(This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
|
|
(This used to be commit 249a6974702d050644d6d61f33f0034ce2a689ee)
|
|
Found by Guenther Deschner.
(This used to be commit 29c6d2f61cd3f7fb09913cf918b416aebecaf5ad)
|
|
Also stop it leaking memory like a sieve !
Jeremy.
(This used to be commit 11b914ed84c4dbd31726969b3b924f686f938510)
|
|
Andrew Bartlett
(This used to be commit 49bae0227323e811cb71ada24928d24f7dc56d1f)
|
|
- 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
(This used to be commit 5281ee7e84421b9be746aed2f1718ceaf2a2fe3d)
|
|
woot!
(This used to be commit eb432700c0010e536be3a0703f152c533357b851)
|
|
recent Valgrind relases and clashing with -DVALGRIND.
(This used to be commit 98479f1315cf8968152e1566966ac57e171008c3)
|
|
(This used to be commit 36c6f67d4af50d8fc4c8bd54486df315861d55c2)
|
|
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.
(This used to be commit e412dd6d7e5a41de94c07c64b186390ccce104cc)
|
|
the log function. This allows the log function to take action.
Jeremy.
(This used to be commit 0fa310cbc3f7ced0b15be0ffaeb70dc82e1d5d12)
|
|
(This used to be commit 11c1e712d48438bd80c4f347a2f31e308bd54d7a)
|
|
Jeremy.
(This used to be commit 3497330ff53a264e433090066b7318c31d833411)
|
|
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
(This used to be commit 4ae130bfa82be60de6a6f357f65207fcb24f45fb)
|
|
make the TDB_DATA.
Andrew Bartlett
(This used to be commit f087fe546fd0c943dec022c657f849803f4b807e)
|
|
(This used to be commit df6e4559922bb55b53f587ca917110a045e222d7)
|
|
code. Also added torture tests for it.
Jeremy.
(This used to be commit b515525a060a388c6ae0a03006a882c9be2e42b6)
|
|
lock, it might be nice to use F_GETLK to get the pid of the process
currently holding the lock and print that as part of the debugging
message.
I'd like to have this in appliance_head, but the code is too different
so I won't worry for now.
(This used to be commit 575908cb06a653225a2fa79ecd025af0e3dafc05)
|
|
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
|
|
yet another missing piece :-O
(This used to be commit eb595efa7e6c260092478564e5fb3fdefcc120d8)
|
|
Jeremy.
(This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)
|
|
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
|
|
contended tdb's (and I've got one :-).
Jeremy.
(This used to be commit 064fa201ab73f476a168c40c2b227507e7342ec4)
|
|
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
|
|
MAX_PRINT_JOBS in a queue.
Jeremy.
(This used to be commit bb58a08af459b4abae9d53ab98c15f40638ce52b)
|
|
a non existent entry. Stop a malloc(0) being called in the first case.
Jeremy.
(This used to be commit ece9507ec3d363fccf56b000ad9758780a9b3fb4)
|
|
Volker
(This used to be commit a1bade0748fa46c6cb00e99d7022b21057679889)
|
|
Jeremy.
(This used to be commit 7e19a6b7ade1e70aafa9be8a86665a49f592b6f4)
|
|
be traversals being attempted. Yes, this was from bitter experience (and
an out of control server :-). Also allow callers to break out of a tdb_chainlock
with sigalarm if desired.
Jeremy.
(This used to be commit a7781f91d8c1177210bffc199cd2f3b7ff993eaf)
|
|
(This used to be commit 4aa7dfb7e7f4ad33b8768d20ec2eb9cb3fde6385)
|
|
fail sometimes, thats why they are non-blocking :)
(This used to be commit 775b918b8c63b1fcd9a8db1743505ab718978c19)
|
|
a separate tdb per printer, but only keeps (currently one) tdb open at
a time (although this is easily changed by changing a #define). Needs
scalability testing with large numbers of printers now....
Jeremy.
(This used to be commit b0909cfa14fc7ef29d2b98b56d52723570da782a)
|
|
(This used to be commit ae2f8aa9d0678aa0014d96fc8b1b52f42cba8349)
|
|
(This used to be commit 0cd3952f408e2fcd2c833b9039dff4392ac16cf7)
|
|
while deleting a record. This leaves us with a non-free record on the
free list.
(This used to be commit e99b6a2b91e4022ce0a9a14415df71314b5e013f)
|
|
J.F.
(This used to be commit d0eae50874ff6ddbf9fca24864e7638efb0936b1)
|
|
Jeremy.
(This used to be commit 7ddad4061a1b7ed25e4d6471c7a1f8f97a98ed37)
|
|
returns to the client.
Jeremy.
(This used to be commit 1d66e53a64ec2878293e6d74a852b736ddab8f21)
|
|
Jeremy.
(This used to be commit 48475a7a697242b9fd7b1aec24389afb112569c4)
|
|
(This used to be commit 1c92fab4050f21b4c5cc962e0b80b5c551b24745)
|
|
Andrew Bartlett
(This used to be commit c3312006009f5b312b285e3e679d01719012f29d)
|
|
<mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly
enumerate its trusted domains - by exaimining the keys in the secrets.tdb file.
This patch has been tested with both NT4 and rpcclient/wbinfo, and adds
some extra functionality to talloc and rpc_parse to allow it to deal with
already unicode strings.
Finally, this cleans up some const warnings that were in net_rpc.c by pushing
another dash of const into the rpc client code.
Andrew Bartlett
(This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
|
|
The previous code would return the same value for both the initial and second
call, only incrementing on later calls.
Andrew Bartlett
(This used to be commit a4594d9efeca1f67dea57be8323fb4bd986318ce)
|
|
Jeremy.
(This used to be commit 16015c07eab2e57fa3771051e3e08fde21757cfa)
|