[SCM] Samba Shared Repository - branch v3-4-test created -
release-4-0-0alpha7-304-ge5136e9
Karolin Seeger
kseeger at samba.org
Fri Mar 13 07:59:27 GMT 2009
The branch, v3-4-test has been created
at e5136e984922570ce9992c642c340dd3e937fc4e (commit)
- Log -----------------------------------------------------------------
commit e5136e984922570ce9992c642c340dd3e937fc4e
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 12 17:59:24 2009 -0700
Remove the static "struct client_connection" mess which is part of
the problem that stops libsmbclient being thread safe. Subsidiary
DFS connections are now hung off a list inside the cli_state struct.
Much more to do in order to get libsmbclient to thread safety, but
this is a good start.
Jeremy.
commit bace42d586f2e4364e5b66ccc80a0b19749b5e1c
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Mar 12 16:51:20 2009 -0700
s3 torture: Fix unitialized variable to avoid closing a random fnum
commit b6616ca8dc263da648b980ed7f18d88f850293d0
Author: Dan Sledz <dan.sledz at isilon.com>
Date: Wed Mar 11 23:27:01 2009 +0000
s3 pdb_wbc_sam: LookupRids should return sAMAccountName, not NT4 names
Also fix an incorrect TALLOC_FREE
commit a84f939f4f90b829515808eed203cc6a32b4d8ae
Author: Tim Prouty <tprouty at samba.org>
Date: Thu Mar 12 10:44:36 2009 -0700
tevent: Fix might be unitialized warning
commit 5c63388f63028af9bac2acb2ef0a38736278823b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 12 10:57:31 2009 -0700
Fix bug #6186 - map readonly does not work
Jeremy.
commit 4b57f6dd34d1ddbdc7b011de1ea7041ec8215dec
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 12 11:00:21 2009 +0100
s3-spoolss: make jobname a const char * in print_job_start().
Guenther
commit 2f579200fb439693540ada6e098959aa2d5f414e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 14:28:22 2009 +0100
s4:build: try to fix the build with the ibm checker in the build-farm
The problem is that the shell eats the quotes in -DFOO="foo, bar, NULL"
metze
commit cb388882cf20a8bc8f20f1230bc22d1caff283dd
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 10:35:23 2009 +0100
tevent: add tevent_loop_until()
This is only a hack for samba4 and should not be used
in new code.
metze
commit 7142ef49bdc5fe731c9140641e8e938ee999327d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 10:23:30 2009 +0100
tevent: add tevent_loop_set_nesting_hook()
This is an ugly hack to let the s4 server work arround
some bugs related to nested events and uid changing.
metze
commit a3d5d8378c8edb6baa9ab42b02cee4711a58840b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 10:05:47 2009 +0100
s4:events: allow nested events until we fixed all code to avoid them
metze
commit 6802394212f7fefc21d1e2ad257fbeee26238b2d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 10:05:05 2009 +0100
s4:ldb: allow nested events until the code is fixed to avoid them
metze
commit 06f88fe7a2f9ce93f8cdbec0910cc8471c12b1c3
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 09:51:33 2009 +0100
tevent: don't allow nested tevent_loop_once() anymore
Incompatible caller should use tevent_loop_allow_nesting()
function.
metze
commit bd0f14c1d782b6afe9455e61819caeb2d480af1e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 09:33:58 2009 +0100
s3:events: pass __location__ to event_loop_*()
metze
commit 9932fd2d9af3c71262c5cca61c3b38809b952d95
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 09:33:26 2009 +0100
tevent: pass __location__ to tevent_loop_once/wait()
metze
commit 880d9d6d8c209c770185b9b1c9a3019cb56be763
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 09:22:41 2009 +0100
tevent: add tevent_set_abort_fn()
metze
commit 43a7d48d24b357872dc31c1088e468ad2b719b73
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 08:48:59 2009 +0100
tevent: add tevent_signal_support()
Not every tevent backend supports signal events.
metze
commit 7a8b97ec2bcedb18b56b54fbf61eb0d6e9005193
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 08:19:50 2009 +0100
talloc: add talloc_set_abort_fn()
metze
commit 1e4f78cc41d7d44703bea238fee86da618d1587b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 10:04:02 2009 +0100
s4:ldb: setup tevent debug functions on a selfcreated event context
metze
commit 2fdbafbf5475e8936fb5bc3e3bafc7ee19a9b705
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 12 09:02:02 2009 +0100
Revert "s3:libsmb: add an option to cli_push to let the caller provide the buffers"
This reverts commit 9579a6f193f570e4ce2af80f4aac7c2f25ae5b22.
It's confusing to have a boolean to alter the behavior of cli_push
and as the new feature isn't used yet I revert it.
We can readd a extra function later.
metze
commit a0a9c5d1709e81a1503c7326147b3d77ab4328c9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 9 21:50:50 2009 +0100
Fix #6167: winbindd -n should disable the winbind idmap cache
commit b17f9e15efcc5a826b07afa22c8321d2c653ae72
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 12 10:12:58 2009 +0100
Make opt_nocache static to winbindd.c
commit 483525f73c5597c0c35de4288d97f53b9d3d262e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 12 15:20:25 2009 +1100
use a base64 encoded password when changing passwords
This avoids problems with embedded control characters in password
changes
commit 0770028cbea5f13c0dda2b9a89803359bed66306
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 12 15:13:23 2009 +1100
fixed more embedded spaces in LDIF
This one added 3 spaces to the end of any new passwords
commit 917905aea0cfeff53009839f70cdc9eefdcfa2c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 12 13:13:14 2009 +1100
removed leading spaces from embedded ldif
This fixes the problem with the setpassword command failing like this:
Error: First line of ldif must be a dn not ' dn'
commit c260bfa5d737d36e5701d00c55308dc1893b1e11
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 11 14:28:47 2009 -0700
Add simple POSIX open, mkdir and rmdir test.
Jeremy.
commit 2bfd2c58f80f56a98d26fca17acaac9b17dc153b
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Mar 11 11:52:14 2009 -0700
s3 torture: Simple warning fix
commit e6777e5266d03dedea42d31767f8ee6b907d9b53
Author: Björn Jacke <bj at sernet.de>
Date: Wed Mar 11 08:24:18 2009 +0100
fix configure check by avoiding main(main(...))
AC_TRY_LINK automatically wraps a main(). Double main() causes this test to fail
on some compilers.
commit 41c5d70c8d7b2af4fab50215f9bfea8e910cf99f
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 23 16:10:42 2009 +0100
LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.
metze
commit b96aa69dffedc154de94d3f7684e952bfaff0a74
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 11 14:28:35 2009 +0100
async_sock: fix truncating of the temporary iovec in writev_send/recv()
Volker: please check!
metze
commit 793247452e19794bcc6d52938411e5cf964dc46e
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 11 01:37:30 2009 +0100
spoolss: fix typo in spoolss_EnumPrintProcessors_info union helper fn.
Guenther
commit 2c3d7449b4861b2c3ac1c250fcc6d4abf0e9fc52
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 11 01:08:21 2009 +0100
spoolss: fix typo in spoolss_EnumJobs_info union helper fn.
Guenther
commit 082bea67af9df2390a422a5b2e9d1a042dd95c10
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 11 08:05:11 2009 +0100
lib/replace: make sure we include <sys/uio.h> before socket_wrapper.h
This should fix the build on some hosts.
metze
commit 3d280639c4652d6cd35577e333bcd46c2517754c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 10 18:02:21 2009 +0100
Add a vfs_preopen module to hide fs latencies
commit 66a26a0ac27462361cb94e3ef1744d275bd95da1
Author: Brad Hards <bradh at frogmouth.net>
Date: Tue Mar 10 17:11:39 2009 +0100
Update instructions for checking out pidl.
commit 8c41e0e5a6cdcc2bcaf12ec7916c8ae7c04bf1e7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 14 13:18:28 2009 +0100
Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog
I think we eventually need to pass down the debuglevel here.
commit 825949b810c6e7b7b977283355e658e2edbb8932
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 10 14:02:30 2009 +0100
tevent: add tevent_req_callback_data_void() macro
Callers can use it instead of tevent_req_callback_data()
if they use a non talloc private pointer.
metze
commit 09d1b2324cf02c20daa005e6f5d55dc107303af7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 10 13:54:57 2009 +0100
tevent: add tevent_req_received() function
This function can be called as last action of a _recv()
function, it destroys the data attached to the tevent_req.
metze
commit 97cccb22194380ce84bf6188df90e2438f1176db
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 10 10:05:52 2009 -0400
Fix extended operation return path.
Extended operations return was not going thorugh the same patch as others
leaving the ctx around. Plus we were neutralizing the spy too early so that it
didn't set the request_terminated flag as it should have.
This should hopefully fix the failures in the build farm.
commit 9579a6f193f570e4ce2af80f4aac7c2f25ae5b22
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 10 12:34:20 2009 +0100
s3:libsmb: add an option to cli_push to let the caller provide the buffers
metze
commit c2993f74af4e17790f8afbf16ba1c6884afa4ad4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 10 12:32:48 2009 +0100
s3:libsmb: only treat a return 0 as end of file
metze
commit 7fc8086e11497c96be72859a510f72cb3c4104d5
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 10 10:56:33 2009 +0100
s3:libsmb: fix a lot of cli_push() bugs
There were the following problems:
1.) if window_size was a multiple of the chunk_size,
we silently dropped the last truncated chunk.
2.) if window_size was 0 pushed only the first chunk
to the server and silently dropped the rest.
3.) we had only transferred state->num_reqs writes,
even if there would be more data to send.
metze
commit 143b222546f5b6bd6af000426465aa7466ae2ba3
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 9 17:48:08 2009 +0100
socket_wrapper: wrap readv() and writev()
metze
commit 6f1f9f6d8d3d25ab6ed5467b81f1eed70e962d27
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 10 16:45:45 2009 +1100
fixed a bug in message handling for code the change notify code
The change notify code registered a separate message handler for each
tree connect. This registration uses the global messaging context.
The messaging code would consider a 2nd registration for the same
messaging type as being an 'update' of the handler, rather than a new
handler. It also would only call the first handler in the linked list
for a given message type when dispatching messages.
This patch changes the messaging code to allow for multiple
registrations of the same message type, and allow for multiple calls
to different messaging handler for one incoming message.
This fixes the problem with the test_notify_tcon() test that I
recently committed to the S4 smbtorture
commit a67bc41d6bc25974e6aa6d864d5265d07c890413
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 10 15:12:48 2009 +1100
added a test that triggers a bug in the Samba3 notify code
The Samba3 internal notify code doesn't work correctly when there is
more than one tree connect to the same smbd process. This change to
the RAW-NOTIFY test triggers the bug.
commit f088353d37b433af7b979a17871233cccddf7aca
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 9 18:04:38 2009 -0400
Fix potential segfaults using freed memory.
In some code paths ltdb_context was still referenced even after we were returned
an error by one of the callbacks. Because the interface assumes that once an
error is returned the ldb_request may be freed, and because the ltdb_context was
allocated as a child of the request, this might cause access to freed memory.
Allocate the ltdb_context on ldb, and keep track of what's going on with the
request by adding a spy children on it. This way even if the request is freed
before the ltdb_callback is called, we will safely free the ctx and just quietly
return.
commit 218ce0e80532b0dbc595e72502d9596a35acdffd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 9 21:49:44 2009 +0100
Fix prototype mismatch.
commit 3b181564c552ed3bc464534714148556deeeca2c
Merge: 0d2de5380d13d544c382e3626e3b84fbea4b70a7 c666aef471174ca5d95afcc48924325e7caded14
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 9 21:42:13 2009 +0100
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 0d2de5380d13d544c382e3626e3b84fbea4b70a7
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 9 17:28:42 2009 +0100
use LIB_PATH_VAR in selftest.sh if we have it
if we have LIB_PATH_VAR we should use it, otherwise we'll unobtrusively
complain about not having it and use the most likely LD_LIBRARY_PATH.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c666aef471174ca5d95afcc48924325e7caded14
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Mar 9 16:16:20 2009 +0100
s3/packaging: Fix typo in comment.
Karolin
commit a60aaf214cd94cbd793018a59da3b0ac5263e5bb
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Mar 9 16:01:30 2009 +0100
s3/packaging: Package new files properly.
That is part of the fix for bug #6144.
Thanks to Diego Remolina dijuremo [at] gatech [dot] edu for reporting!
Karolin
commit 6b1170c9d6f0808767ec573127d98cb636a9e27b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 9 16:10:59 2009 +0100
Fix a typo
commit 1410490fe769bc79f98b4ab364685c7aed253e09
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 9 12:35:21 2009 +0100
s3:lib: interfaces.c isn't used in the configure tests anymore
libreplace always provides the getifaddr() function.
This fixes the build on sles8.
metze
commit c3691b839cf6404914ed91ee421692866b44ee85
Author: Björn Jacke <bj at sernet.de>
Date: Sun Mar 8 15:36:41 2009 +0100
fix "dubious escape" warning of Studio compiler
commit 5ff4cb580f5892754a208684dba6fef4834d6e7f
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 9 09:24:45 2009 +0100
socket_wrapper: try to make ipv6 support more portable
The internal structure of in6_addr isn't always the same.
metze
commit 3679e8243459f928b1a4d0998d47c6efdedd0301
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Mar 8 17:20:18 2009 +0100
socket_wrapper: downgrade ipv6 sockets to ipv4 is in connect() if the dest is ipv4
We only do this if the socket isn't explicit bound yet.
metze
commit f9156f6c77d9e87edc153b024a1d564b44eedd8f
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Mar 8 17:19:50 2009 +0100
socket_wrapper: correctly handle connected dgram sockets
metze
commit 81e2633e41e9c8c1dddff7cc1122c7d6f28626bd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 19:40:57 2009 +0100
socket_wrapper: make it possible to bind to '::'
metze
commit dea9621680062b3726ad15cbec4a9d2cf7ce824e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 12:25:10 2009 +0100
Don't copy the winbindd_request in wb_trans
commit e503148225a8b634cea57db65983e8dcdf60154d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 12:22:29 2009 +0100
Convert wb_open_pipe to tevent_req
commit 33db1e07a7631b7c7370a43747a65a43df88b1b1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 12:15:39 2009 +0100
Convert wb_connect to tevent_req
commit 549c30e9fe937f5c5aa7d63f5522af47f6fbed5c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 12:10:00 2009 +0100
Convert wb_int_trans to tevent_req
commit eb177592b5ab5042719be53df717df91f8cfb6aa
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 11:33:03 2009 +0100
Add parameter "queue" to wb_int_trans_send
commit c7df04633969f3d50214fcc5916ed695208b9bf2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 10:29:15 2009 +0100
Move "struct req_read_state" where it belongs
commit 1611e63ae5abd323502d062d9474acd6648ae959
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 10:28:05 2009 +0100
Convert wb_resp_write to tevent_req
commit 80fcd764213afc430f4b4cefec4e251e668bd0ba
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 10:20:27 2009 +0100
Convert wb_resp_read to tevent_req
commit 0a3a7d53eb4d573aa6b1a1b9a9d81b848e37ac7f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 10:04:04 2009 +0100
Convert wb_req_read to tevent_req
commit 9a64d7cfbedec6fc634b523c2185213c136a5074
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 09:35:13 2009 +0100
Convert wb_req_write to tevent_req
commit f5ee31602c7880b11dff82258764eb9a76cdc83b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 8 09:34:35 2009 +0100
Add tevent_req wbc helpers
commit fe486d7b9f580a17d23dd57582087c7d28cb738d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 1 19:43:07 2009 +0100
Add "queue" to writev_send
Unless higher levels queue themselves somehow, writev will *always* be queued.
So the queueing should be done at the right level.
commit f992416e23c9baf0e20848ff3c12fcafe1d492aa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 8 06:57:52 2009 +0100
Revert accidental reintroduction of void ** bug.
commit 46bcb10b5abb21758cf234764b64220ede1b7ab5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 12 17:48:52 2009 +0100
Shape up pdb_search a bit by making it a talloc ctx with a destructor
commit e58ade4136b40d82c24f3556845e7412a3330992
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 6 14:24:59 2009 +0100
Fix a smbclient segfault against security=share servers
commit c29826a697f8d92b6b481a694c05b4d8a8e7424d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 3 14:05:56 2009 +0100
Fix some nonempty blank lines
commit ca9d67bf187409e92d1800b86aa7f45e9d2f7260
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 09:30:11 2009 +0100
s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
Guenther
commit be479b6adf3e2041c3249baa24afb8029309e447
Author: Björn Jacke <bj at sernet.de>
Date: Wed Mar 4 16:52:12 2009 +0100
don't rely on shebang's perl path, call our $PERL instead
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c9496ba18a52a4e80fd81c0dfa08129f95edeedb
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 01:12:18 2009 +0100
s3-spoolss: remove more leftovers from old enumports call.
Guenther
commit d75d3502875f35cfabb9a41528f43f2fd129527c
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 00:16:10 2009 +0100
s3-rpcclient: add enummonitors command to enumerate print monitors.
Guenther
commit 33a441b0c223bc87abdac9dcc8a87dbf13e883f5
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 00:10:15 2009 +0100
s3-spoolss: add rpccli_spoolss_enummonitors convenience wrapper.
Guenther
commit d8a05bd55dd0e1602082376f31a21045a4a7bbee
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 00:04:48 2009 +0100
s3-spoolss: remove old spoolss_EnumMonitors.
Guenther
commit 2561b2d2e275bf1ca1aa7cab8b3942cff7d8b5f7
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 00:04:05 2009 +0100
s3-spoolss: use pidl for _spoolss_EnumMonitors.
Guenther
commit a3e5cf3ba66e2ea23bc8919593a03402d7f432bd
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 00:01:11 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 45a22eab52860bb04b29796834a2561d3679964a
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 00:00:27 2009 +0100
spoolss: flag spoolss_MonitorInfo structs [public,gensize].
Guenther
commit e9179a6850a99d9d6ec25eba86ec02c9c1279850
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 23:36:31 2009 +0100
s3-rpcclient: use rpccli_spoolss_enumports wrapper.
Guenther
commit c7e19c2627e5a336f506ad6e781547288e1b10c5
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 23:27:45 2009 +0100
s3-spoolss: add rpccli_spoolss_enumports convenience wrapper.
Guenther
commit 631f277d1cd81de6d796888754b08e2443edad3d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 23:39:23 2009 +0100
s3-spoolss: remove old spoolss_EnumPorts.
Guenther
commit 03f1bec6cea2749bcfb9b77b5eb220cfc17f22d0
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 23:38:57 2009 +0100
s3-spoolss: use pidl for _spoolss_EnumPorts.
Guenther
commit 48ba1328334dd23e46e86707071643d0cc6ae92b
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 23:37:42 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 34f469f19f1a4bebbaf7f13d65d71ee172606d51
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 23:37:14 2009 +0100
spoolss: flag spoolss_PortInfo structs as [public,gensize].
Guenther
commit 62d73b8854b5a0a900c9abb3a60a2b089579886e
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 7 00:55:15 2009 +0100
s3-rpcclient: add enumprocdatatypes command to enumerate print processor data
types.
Guenther
commit 2d24d3a3800fda96d266aead26286fbb3008339c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 22:22:49 2009 +0100
s3-spoolss: add rpccli_spoolss_enumprintprocessordatatypes convenience wrapper.
Guenther
commit f9019c18375d3b63d21aa6ed346620c487d379fb
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 21:51:52 2009 +0100
s3-spoolss: remove old spoolss_EnumPrintProcDataTypes.
Guenther
commit 3cf22a88562ccbab79c2a4a389fa6559cda71319
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 21:51:12 2009 +0100
s3-spoolss: use pidl for _spoolss_EnumPrintProcDataTypes.
Guenther
commit a58e59fc6ed0ee91c8761cbda62c34e35e6dd153
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 22:11:09 2009 +0100
s3-rpcclient: add enumprocs command to enumerate print processors.
Guenther
commit b73411d650d4d4bed99b75ffb36a1ab0dad9d4a8
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 22:09:47 2009 +0100
s3-spoolss: add rpccli_spoolss_enumprintprocessors convenience wrapper.
Guenther
commit 066a47b9940b9ecc6a5c6d022444a17effac4855
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 20:23:27 2009 +0100
s3-spoolss: remove old spoolss_EnumPrintProcessors.
Guenther
commit f48ccec957c1ea943ad88304c40e37e803f6e9fb
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 20:22:17 2009 +0100
s3-spoolss: use pidl for _spoolss_EnumPrintProcessors.
Guenther
commit 9f27a0813c4edfacdd9f45dce4383ccc69a3d317
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 20:21:31 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 6fd5128b99136dc4726a5b578fc500ed0b2bffc9
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 20:20:51 2009 +0100
spoolss: flag spoolss_PrintProcessorInfo1 [public,gensize].
Guenther
commit a93fbf8b2648f34a4a08de48c2b68eeb2ee7088d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 21:50:15 2009 +0100
s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
Guenther
commit f959aac745d6f1b4b9c3c335f18c2b458832879e
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 21:49:31 2009 +0100
spoolss: add spoolss_EnumPrintProcDataTypes to enum macro helper.
Guenther
commit e90fcbb90ec8e6f7a54da88bf87b6c2059225872
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 21:48:46 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 2545a75b9a78d56766224cc0c20c795d0f5498c2
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 21:48:01 2009 +0100
spoolss: fill in spoolss_EnumPrintProcDataTypes IDL.
Guenther
commit bf85a14182f0dfe6d21cda2039c7ccb961419328
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 16:27:10 2009 +0100
s3:make_test: run CHAIN1 test
metze
commit 3f3e15ab91373597390320269f5cd701d3f07a3b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 12:01:44 2009 +0100
s3:libsmb: merge cli_setup_signing_state() into cli_initialise_ex()
metze
commit 6e572d40a913f788f06e4bc7a7047129bc22ad5a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 11:52:15 2009 +0100
s3:libsmb: remove cli_setup_signing_state() and add struct cli_state *cli_initialise_ex()
This prepares the next changes.
metze
commit 589eb81e3fe5262d544af2c5032c99b5a4d4ba85
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 11:40:21 2009 +0100
s3:winbindd_cm: remove useless cli_setup_signing_state(*cli, Undefined) call
cli_setup_signing_state() with Undefined is a noop.
metze
commit 196a5d038886bdea678ac9ae97bdf9dab825e23f
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 07:45:06 2009 +0100
s3:signing: the seqnum should only be decremented by 1 for ntcancel requests
[MS-SMB] 3.3.5.1 Receiving Any Message says that the seqnum
is incremented by only for ntcancel requests for any other
request it's by incremented by 2, even if it doesn't expect
a response.
metze
commit 4b6cbe80b28b7a99ba8f35190d809f5a439fdd22
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 07:38:41 2009 +0100
s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mapping
If someone knows a better dos error, please tell me...
metze
commit 918e6288fa775893a7e895334e05ce7780f89eaf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 16:18:50 2009 +0100
s3:libsmb: smb signing works the same for extented and non-extended security
This is only cosmetic, but it makes it easier to understand.
metze
commit 5ce523bbed4196fda6716b71ef6080c3c5522838
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 14:58:49 2009 +0100
s3-spoolss: Fix Coverity ID #891 (UNINIT).
Guenther
commit 8614ce5ca74e71f931d1fa76d59b7c07271717c4
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 12:04:47 2009 +0100
s3-spoolss: remove old _spoolss_EnumForms.
Guenther
commit 4541aa5f846bc7b38e2873d65b5b6a5614a037b4
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 12:01:54 2009 +0100
s3-spoolss: use form flags from idl in rpcclient and net.
Guenther
commit f9bf09e255c20672f1565aa9e3c51d1274958dcf
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 12:01:14 2009 +0100
s3-spoolss: use pidl for _spoolss_EnumForms.
Guenther
commit c9de2300bb2c073f42fed15abd56c47f349b8e65
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 14:24:20 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 6aea116cf361ade8cc90bd5bceb04aba2dcb97c9
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 12:05:25 2009 +0100
spoolss: flag spoolss_FormInfo1 and 2 with [public,gensize].
Guenther
commit 9bdca59fc5b579c8aafbd6cb7aa1524e1417ca64
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 10:55:09 2009 +0100
s3-spoolss: remove old rpccli_spoolss_enumforms.
Guenther
commit 01e4f63c5e75aadf7556b4ad65d061dea9091c20
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 11:02:27 2009 +0100
s3-net: use new rpccli_spoolss_enumforms wrapper.
Guenther
commit 6336366abb53436c6800263cc0da26faa13c038c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 10:55:41 2009 +0100
s3-rpcclient: use new rpccli_spoolss_enumforms wrapper.
Guenther
commit c14a589a46ab5d9f80533cda01b6624a80611dc9
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 10:54:19 2009 +0100
s3-spoolss: add convencience wrapper around rpccli_spoolss_EnumForms.
Guenther
commit b4707d8df34d3c1e28270e0c054bcf6b8c3758b5
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 14:23:44 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 75046db121ea858fcc22da7b4410aea9eea70e67
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 5 18:35:47 2009 +0100
spoolss: fix [size_is] declaration for enum calls.
This took me ages to find. Thanks metze!
Guenther
commit 007f3f231914eaa3fe9ce83c95e0db49d67151d2
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 18:02:04 2009 +0100
s4-spoolss: fix spoolss server enum calls after pointer changes.
Guenther
commit 8bc7bb77bebcac9b10f2718f879d92813fe275da
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 12:24:23 2009 +0100
s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.
Guenther
commit 2fcc921237bbaac2de331ee53828ab72394a6186
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 12:20:14 2009 +0100
s4-smbtorture: fix s3 flavor rpc spoolss test.
Guenther
commit 8e68eb2cc36c493461c74ee35b0974832d6452c3
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 17:58:13 2009 +0100
s4-smbtorture: fix RPC-SPOOLSS-WIN.
Guenther
commit 47adaea11e553f30a43ad1dd9ac700a510c9e909
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 17:32:24 2009 +0100
s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.
Guenther
commit c6aea64e9223f89691e401c08ef82173c55883db
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 6 13:52:39 2009 +0100
spoolss: fix spoolss enum calls helper macro code after pointer changes.
Guenther
commit 4941e80d0ec0ca61a0edaff15edeb2d58b5be769
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 17:31:29 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit fb4ab25eec7d5d2645d3f3d2a6d676e48c0e6284
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 17:29:15 2009 +0100
spoolss: make all enum out info pointers a pointer to an array.
Without this we never can get a reasonable s3 cli_spoolss fn for the enum calls.
Guenther
commit df145c33822f1fc77e2602709a75c2eac71abab3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 6 07:15:13 2009 +0100
s4:errormap: map ECANCELED to NT_STATUS_CANCELLED
metze
commit 67d12e9c6bc9e34ecc335ddfc85fc59ed9167b68
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 5 22:00:22 2009 -0800
Get the sense of the integer wrap test the right way around. Sorry.
Jeremy.
commit 4e74d811aa9f85a4cb7896c0fcc21552d1910cf5
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 5 21:06:48 2009 -0800
Now we're allowing a lower bound for auth_len, ensure we
also check for an upper one (integer wrap).
Jeremy.
commit 66c0f3690a6c9248adfe5da7c1abd15a8704fd6c
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 5 17:19:18 2009 -0800
Fix bug #6161 - smbclient corrupts source path in tar mode
This was my fault. I broke the smbclient tar argument processing
in creating the string for chdir when removing pstrings.
Jeremy.
commit 0d9f4a2886087692642dd3eba68f0b95657232bc
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 5 15:18:18 2009 -0800
Last part of fix for #6154 - zfs does not honor admin users.
Jeremy.
commit 2544ba6a0a1b9c4bacc93262b8e776bf98456252
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 5 22:20:55 2009 +0100
Complete the fix for bug 6100
According to [MS-RPCE].pdf, section 2.2.2.11:
----
A client or a server that (during composing of a PDU) has allocated more space
for the authentication token than the security provider fills in SHOULD fill in
the rest of the allocated space with zero octets. These zero octets are still
considered to belong to the authentication token part of the PDU.<36>
----
RPC implementations are allowed to send padding bytes at the end of an auth
footer. Windows 7 makes use of this.
Thanks to Nick Meier <nmeier at microsoft.com>
Volker
commit bb1dab3a97d07dd6778f414ce3bff4f150b60d5d
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 5 09:04:16 2009 -0800
Fix bug #6160 - Office 2007 fails saving files to a Samba mapped drive.
Confirmed by reporters.
Jeremy.
commit 66526464328ffb07d380973edf3002a2361ab996
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Mar 4 18:29:18 2009 -0800
librpc: Re-run make idl_full from source3
commit cfb47573865610d2e02b08507f09b52c3b38d19e
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Mar 3 13:04:14 2009 -0800
pidl: Don't generate variables declarations for pointless array counters.
Code isn't generated to iterate over arrays of length 0, but the
variable declarations still are. The result is 'unused variable'
warnings. This only seems to be happening in one place right now, so I
targeted the fix to this case, but refactoring could be done to make
all variable declarations do this zero length check. Making it the
default would be a much more invasive fix.
Jelmer, please check!
commit 04f5f739056b535c71f0991b388f7f4b14c0b75e
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Mar 3 19:27:50 2009 -0800
s3 OneFS: Use the public open_streams_for_delete
commit f61f1690548edbd1c6e3badfe8d2e7b50485d03e
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Mar 3 19:23:33 2009 -0800
s3: Change open_streams_for_delete to call through the vfs layer
This eliminates the last direct caller of create_file_unixpath
commit d526d340d8f5d70ea48bcaf535ea57d2c1cd48db
Author: Bo Yang <boyang at novell.com>
Date: Wed Mar 4 17:26:57 2009 -0800
Fix careless mistake in winbindd_setup_sig_usr2_handler
commit c8ea9d1f13096cd7f51e5972915a61ca65b56ac3
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 4 17:17:43 2009 -0800
Second part of fix for #6154, ensure we return max access
if admin user.
Jeremy.
commit badad0a6a6d2b0f0a34b09f83d0ea25596dc9bf6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 4 16:57:37 2009 -0800
Fix bug #6154 - zfs does not honor admin users.
Jeremy
commit ebe5b2835331ab259dd32bf6dc574ae999e2d36d
Merge: 5a10d804919af205b027ee519b9fa05519913ebe f85aa66ca22f29734bdacaa559737990fbe28d8a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 5 11:11:19 2009 +1100
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
commit 5a10d804919af205b027ee519b9fa05519913ebe
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 5 11:07:35 2009 +1100
Remove parse_control from header, long after the function was removed
Simo reminded me that when (long ago) I moved parse_controls away from
this place, I forgot to update the manually maintained header file.
Andrew Bartlett
commit 92bb91a6115ac035e3c37e471931c2a388dc843e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 5 10:46:46 2009 +1100
Update talloc version so we don't fail on system talloc 1.2.0
The problem is that talloc in the Samba tree now includes
talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's
talloc 1.2.0.
Andrew Bartlett
commit f85aa66ca22f29734bdacaa559737990fbe28d8a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 4 14:48:33 2009 -0800
Fix crashes when running RAW-ACLs against system with tdb ACL modules
(caused by the POSIX pathname fixes).
Jeremy.
commit bb0fb975621f4962fb7e2438396d94818891151b
Author: Michael Adam <obnox at samba.org>
Date: Wed Mar 4 22:05:17 2009 +0100
s3:dbwrap_ctdb_marshall_add: don't leak the ctdb_rec_data to the outside
Michael
commit 9d798494a90c13d605a52644a1a386a9fb109063
Author: Michael Adam <obnox at samba.org>
Date: Wed Mar 4 22:02:07 2009 +0100
s3:smbconf: move smbconf_share_exists checks into backend
Michael
commit 094578903184e2702d2a5000bf448a89954acf95
Author: Michael Adam <obnox at samba.org>
Date: Wed Mar 4 21:46:32 2009 +0100
s3:net conf: reduce memory usage of "net conf import".
"net conf import" was wrapped in one big transaction.
This lead to MAX_TALLOC_SIZE being exceeded at roughly
1500 shares. This patch resolves that problem by
limiting the top level transactions in "net conf import"
to 100 shares.
Michael
commit f9636b0c01b962d2915895ef7125eed955423ded
Author: Tim Prouty <tprouty at samba.org>
Date: Wed Mar 4 12:59:16 2009 -0800
socket wrapper: Fix 'might be used uninitialized' warning
commit 5a9f668dabb62efd70054dc35d19c60d027793b5
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Wed Mar 4 11:04:31 2009 -0800
s3: Remove madvise support
This reverts 193be432. The MADVISE_PROTECT is inherited by all child
processes and cannot be unset. The intention of the original patch was
to protect the parent process, but allow children to be killed in low
memory. Since this isn't possible with the current API, reverting the
whole feature.
commit ddc1864fb22dfcd86e3a8688cfd12e0dccd835da
Author: Volker Lendecke <vl at samba.org>
Date: Wed Mar 4 12:21:26 2009 +0100
Attempt to fix the build on IRIX
commit e8484e01ed6c3893f89abeec5f7a2d214d77c576
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 2 14:56:01 2009 +0100
Make use of gpfs_get_real_filename optional
commit fb70a8a255f7fd40c7e578d9d21977259f9aa86c
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 27 15:28:52 2009 +0100
s3: Fix a memleak in dbwrap_rbt.
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of
the db context. This is a quick fix using talloc instead of malloc
for allocation of the node data.
Since malloc was originally used for performance reasons, one
might want to reverse to malloc and create a talloc destructor
that walks the tree and frees all the node data if this talloc
approach proves to be too slow..
Michael
commit 27cf23958b02b05becce6e7c68347f6fea5b7845
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 16:45:41 2009 +0100
socket_wrapper: add multiple interface support for ipv6
We use FD00::5357:5FXX in the same way we use 127.0.0.XX
metze
commit b99bb962aa70f8584212f18ba6368513e7485f5e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 15:43:22 2009 +0100
socket_wrapper: add ipv6 pcap support
metze
commit 8ae34cc9946e54297e800190980af32ef56c4ca1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 15:17:26 2009 +0100
socket_wrapper: pass down sockaddr instead of sockaddr_in to prepare pcap support for ipv6
metze
commit 40da086fe0e2f12d7e23ca75711ceceecbd61105
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 14:58:53 2009 +0100
socket_wrapper: prepare pcap support for ipv6 traffic
metze
commit d52e81311733c7f119b5765eddb37eb2554ce281
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 19:23:25 2009 +0100
s4:blackbox/test_ldb: make use of the $VALGRIND envvar
metze
commit c51e5a23fbeda9ece5697c3c5b60a813ec33010e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 19:20:43 2009 +0100
socket_wrapper: don't crash if we get EAGAIN from real_recv()
This fixes a crash in the ldaps tests with socket wrapper pcap support.
metze
commit 8ee0cc24b8302097bccae7891cb6f9c0547a1815
Merge: 52542e1affbaad3a29d913ced06f6c5ae0d7b4ad ef89c4bc0db2e9ba48f4dac1fd381e4cc6c8ca7d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 4 14:10:41 2009 +1100
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
commit 52542e1affbaad3a29d913ced06f6c5ae0d7b4ad
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 4 14:06:11 2009 +1100
Pull in all the schema information during DRS schema fetch
This includes things such as allowed attributes, which were not
populated into the schema structure before.
Andrew Bartlett
commit 952bdffaadebe8fc147c69da160ddd83e1d03245
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 4 14:02:35 2009 +1100
Don't print the admin password if we don't set one.
For example, if we don't create the admin user (perhaps expecting
users to be in LDAP already, or we are due an incoming replication) we
should not confuse the administrator by printing a unused password.
Andrew Bartlett
commit 44c94b6c66b00807d58233550cf8915566cb97d0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 4 13:58:07 2009 +1100
Allow 'net vampire' to work without an existing smb.conf
Now the provision can generate one based on the detected settings from
the target domain.
Andrew Bartlett
commit ef89c4bc0db2e9ba48f4dac1fd381e4cc6c8ca7d
Author: Tim Prouty <tprouty at samba.org>
Date: Tue Mar 3 16:47:48 2009 -0800
s3 passdb: Add back some useful debug statements
Originally removed in be1dfff02d562e42a7847bd02fed8538630d3f41
commit 35f4ea221e75ebb4101cbacc6bc24bd1a3604f0f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 3 16:08:56 2009 -0800
Fix bug #6155 - "force group" is no longer working as expected.
We need to store the "force group" uid separately from the
conn->server_info token as we need to apply it separately also.
Volker PLEASE CHECK !
Jeremy.
commit 243d4e8a0846f9b873573ec504fb2f811be7d25c
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Feb 27 16:25:31 2009 -0800
s3 OneFS: Add parameter to ignore streams
commit b00204a46153a406a6c63792b1939bd3ad74ba71
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 18:03:57 2009 +0100
lib/util: remove samba specific talloc_get_type_abort()
metze
commit b6f479d4413511fbd742e7c8464cec67501f539c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 3 18:01:01 2009 +0100
talloc: add talloc_get_type_abort()
metze
commit 4b2955aa7dbcf06629d24d3ea35c6dfa8c4156b9
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 3 08:50:35 2009 -0800
Fix "ignore return" warning.
Jeremy.
commit be1dfff02d562e42a7847bd02fed8538630d3f41
Author: Dan Sledz <dan.sledz at isilon.com>
Date: Mon Mar 2 16:50:19 2009 -0800
It appears that the first time we see a uid/gid that winbind can't map,
we end up returning the null sid instead of falling back to the legacy
code. Next time through the code we'll hit the negative cache and do
the right thing, but we still fail the first time.
If we fail the winbind id to sid mapping, call the legacy version. This
catches the case where we don't have a negative cache entry for the mapping.
This is better than returning the NULL sid to the caller.
commit deb73e87b29d59610ab16a8eb021728e782ac8b8
Author: Bo Yang <boyang at novell.com>
Date: Mon Mar 2 14:19:50 2009 +0800
More fix to initialize idmap statuses
commit 71ffd21d273e691f5f791af08fa011345ebfab11
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 2 17:01:37 2009 +0100
use test -f, Solaris /bin/sh doesn't know test -e
commit 1ea0dca50a0fe724b2e0aaa908a51735e26131dd
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 2 15:38:45 2009 -0500
Fix wbclient.c wrt tevent_req changes too.
commit 9cacb49eb623edc1a74c90f4fd407dce334e75e4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 2 20:10:13 2009 +0100
Attempt to fix the build
Simo, with which compiler did you build this? I'd be curious to learn about the
compiler settings that make this build.
Thanks,
Volker
commit 67d41d0fc7567cf141b12e866dd227d393e33551
Author: Simo Sorce <idra at samba.org>
Date: Sat Feb 28 15:44:30 2009 -0500
Make struct tevent_req opaque
Move struct tevent_req in tevent_internal, and ad getters and setters
for private data and the callback function.
This patch also renames 'private_state' into 'data'. What is held in this
pointer is in fact data and not a state like enum tevent_req_state.
Calling it 'state' is confusing.
The functions addedd are:
tevent_req_set_callback() - sets req->async.fn and req->async.private_data
tevent_req_set_print_fn() - sets req->private_print
tevent_req_callback_data() - gets req->async.private_data
tevent_req_data() - gets rea->data
This way it is much simpler to keep API/ABI compatibility in the future.
commit 04a2b455a0385fc3aa23850d4841ab3495efc3e6
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 13:09:19 2009 +0100
s3-spoolss: PRINTER_STATUS_OK has been moved to IDL.
Guenther
commit 8b336211c3a03831a2192d5a5c7793c0f773340a
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 11:21:26 2009 +0100
s3-rpcclient: zero out devmode and secdesc in setdriver and setprinter command.
Guenther
commit 6d27a89ada8ff7ed2c697ef714c49e64a0463a01
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 14:23:42 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit bd77ab59864840d5d759dbbbe6e4fd20aac9bdac
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 13:08:55 2009 +0100
spoolss: move up printer and job status codes.
Guenther
commit c9061d048f36ab9efee9a99f2234a304154d7624
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 11:19:57 2009 +0100
spoolss: use dummy pointers for truncated devmode and secdesc in SetJobInfo2/4.
Guenther
commit db728c1ade8a6030748d535e391460e294e6ad10
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 2 13:07:46 2009 +0100
error-codes: add WERR_DEVICE_NOT_CONNECTED.
Guenther
commit 212756646efa85880a6b50aa7cb404e402c2ae4a
Author: Björn Jacke <bj at sernet.de>
Date: Sun Mar 1 21:08:33 2009 +0100
make man page (un)install more portable
commit 88bd0f2ac6bb7ec41d72a1ea3d7ee90333f4e978
Author: Björn Jacke <bj at sernet.de>
Date: Sun Mar 1 21:38:31 2009 +0100
some shells are picky about ^ without quotes
commit 2ab9d365cfceb28c1280566b6fe8ec3767e18149
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Feb 27 11:09:59 2009 +0100
s3/docs: Add missing full stop.
Karolin
commit 84b57a5dbad538e819591daa2c42a9b35206c409
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 2 12:05:43 2009 +0100
libcli/security: fix the source4 build
metze
commit ae1a69f3ea42d778d5cb16523fd7bf4f7f36a3c9
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 2 08:55:00 2009 +0100
libcli/security: fix the source3 build
metze
commit cdbc00bb52f39472fe5f1380b15180205644c8e9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 2 05:07:30 2009 +0100
Fix test_surrounding in samba4.rpcecho.python.
commit 0a3ee53b50a10874b0ee0230b022b4277b5a6d96
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 2 05:04:07 2009 +0100
Use samba3's own iconv implementation for now, until all changes are
merged.
commit 2d7a3748b2063c4137ee98ceca85361651ef8ee7
Merge: c7b9757b8ac3ac6baa478655a4d2f77dff8240a8 9b0df441e1bd836c433e11582650fa0171791485
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 2 04:15:11 2009 +0100
Merge branch 'master' of git://git.samba.org/samba into convenience
commit c7b9757b8ac3ac6baa478655a4d2f77dff8240a8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 2 04:12:57 2009 +0100
Import ISO-8859-1, 646 from Samba 3 iconv.
commit 9b0df441e1bd836c433e11582650fa0171791485
Author: Tim Prouty <tprouty at samba.org>
Date: Sun Mar 1 13:58:46 2009 -0800
s3: Fix incompatible type warnings
commit 664268a2877dc49a84eb140e837e01f08979c471
Author: Tim Prouty <tprouty at samba.org>
Date: Fri Feb 27 14:47:47 2009 -0800
s3 OneFS: Refactor config code and cleanup includes
commit 9940c7690e2c1b225111d5d8e09cc735ebe296dd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 22:31:10 2009 +0100
Use shared header file for character sets, remove old definitions from samba3 smb.h.
commit 9551ab8f7b0e69349dc0c1ffb70a6f67163b242c
Merge: 7ab8f373c84c328b197f923287163e83371e7ccb 8568b4fa9ff8f6f1a24547ec2ed5e2942b213d9e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 22:25:57 2009 +0100
Merge branch 'master' of git://git.samba.org/samba into convenience
commit 7ab8f373c84c328b197f923287163e83371e7ccb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 22:24:34 2009 +0100
Use common header file for character set handling in Samba 3 and Samba 4.
commit 8568b4fa9ff8f6f1a24547ec2ed5e2942b213d9e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 20:06:55 2009 +0100
Add header files for secace and secacl.
commit 94069bd2747a8397308c0b0b384f7bb4edd8f68b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 19:55:46 2009 +0100
s4: Use same function signature for convert_* as s3.
commit da6721e3231fb93b934440c2d92abab834289c82
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 18:15:36 2009 +0100
Move secacl to top-level.
commit e9bba3e288a204732775427dd4098d7dea2cafd9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 18:15:15 2009 +0100
dom_sid.h: Include dependency security.h that provides the dom_sid struct.
commit d3c2de093a35d0168fead27787a3da44a39fbea9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 18:05:22 2009 +0100
Also re-add removed codepoint_t; I'm clearly not having my day today.
commit 9bd0cf8d60b9bbaafa20f33bb1baf222620fb0b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 18:02:24 2009 +0100
Keep using Samba3's charset.h for now.
commit 99b288156f021db7bb771f3a5bf78def61d699f2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 17:59:30 2009 +0100
Move secace.c to top-level.
commit bbe2d30f66ebd8537203870b1225179f03d42744
Merge: 4903d20c215a01f70c242cb8cf4d455d0e352b7f 08b180e40e5179cc02d4aa1867d5063f47b85790
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 17:29:04 2009 +0100
Merge branch 'master' of git://git.samba.org/samba into convenience
commit 08b180e40e5179cc02d4aa1867d5063f47b85790
Merge: 74293f117b08ffefdad78828ad9cfa8f8f6049e0 09ac816b36e45fd537af2f7fe7c57a11f5c744f5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 17:13:10 2009 +0100
Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-next
commit 74293f117b08ffefdad78828ad9cfa8f8f6049e0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 17:09:45 2009 +0100
Rerun pidl.
commit e2469e37488fe46257f1f4f4f8b0ebe11c08da47
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 17:09:07 2009 +0100
Don't generate array iterators when the length of the array is always 0.
(bug #6140)
commit 4903d20c215a01f70c242cb8cf4d455d0e352b7f
Merge: 9f6e2d64852026d118c717d80236177fd74331eb 09ac816b36e45fd537af2f7fe7c57a11f5c744f5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 16:41:57 2009 +0100
Merge branch 'master' of git://git.samba.org/samba into convenience
commit 09ac816b36e45fd537af2f7fe7c57a11f5c744f5
Merge: 235244f4cc707130dd130afce88bde49606bd501 54bc27e9374742d37b1ed9012d1cfe8f5ace6d40
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 16:39:35 2009 +0100
Merge branch 'master' of git://git.samba.org/samba into teventfix
Conflicts:
lib/tevent/pytevent.c
commit 235244f4cc707130dd130afce88bde49606bd501
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 16:38:07 2009 +0100
Avoid using tevent_util.h, which won't be available if we use the system
tevent.
commit 54bc27e9374742d37b1ed9012d1cfe8f5ace6d40
Merge: 55903e6f9120f1ec58a8554813229975c3028a09 4a35c974e97551b1ccbfa41d4c08f0598e3c26aa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 16:23:53 2009 +0100
Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-next
commit 55903e6f9120f1ec58a8554813229975c3028a09
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 16:19:38 2009 +0100
Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.
commit d776ac03c3ce8a9090b847f20d2cdd16d745441f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 16:16:16 2009 +0100
Move next_token_talloc() to top-level.
commit 9f6e2d64852026d118c717d80236177fd74331eb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 12:59:58 2009 +0100
Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.
commit 4a35c974e97551b1ccbfa41d4c08f0598e3c26aa
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 1 11:39:44 2009 +0100
Only copy sharename up from rap_to_pjobid
Why?? :-)
Another one of the little micro-optimizations that I just came across: If you
allocate a variable in a sub-block like the "fstring sharename" in
write_file(), gcc even with -O3 will allocate this variable unconditionally on
the stack at the beginning of the routine. So with eliminating this fstring we
cut 256 bytes of stack in a very hot code path writing to a file. It might make
us a bit more cache-friendly.
This would probably not be worth a second look if it involved larger code
changes, but this one was just too simple to let it pass :-)
commit 9ffb6d2d9e78ed192b8215194b6328d03d1ddad3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 06:33:40 2009 +0100
Add allow_badcharcnv argument to all conversion function, for
consistency with Samba 3.
commit 79fc0ddaf44af1e31d7e6f2c6f576fd3c05e087d
Merge: e6ec32f3acbf626f7cf52fc516f9b496d4e1d6f6 7b9381fb4f0db661a32ab884fb621cb6806ecd32
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 05:46:15 2009 +0100
Merge branch 'master' of git://git.samba.org/samba into HEAD
commit e6ec32f3acbf626f7cf52fc516f9b496d4e1d6f6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 1 04:59:07 2009 +0100
Eliminate two duplicate SEC_ACE_TYPE constants already provided by
security.idl.
commit 7b9381fb4f0db661a32ab884fb621cb6806ecd32
Author: Jeremy Allison <jra at samba.org>
Date: Sat Feb 28 13:14:23 2009 -0800
Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or
delete file (directory fix).
Jeremy.
commit 5686a6d91a2e1669dd9d00ba1faf493b0bb5ee90
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 28 12:20:56 2009 +0100
Fix async reading winbindd_response
commit ddd3da8ab7b82a59b84338fb4814981d5ae2f8e4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 28 12:19:24 2009 +0100
Simplify async_connect_send slightly
commit 9569d979de43970399f33645323e9091338084f6
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 27 20:57:49 2009 -0800
And the prize for the most pain caused in the build farm for a simple
typo goes to.....
Tim Prouty !!!!
Sorry Tim, nice test but you made a typo in passing in
the size of an array so we were reading uninitialized
memory :-).
That took far longer than it should have to track down...
(%$&#ing build system....).
The build farm should now slowly go back to normal.
Jeremy.
commit a54520fd4d357eadccb5e101a5b74b50e6d7ab25
Author: Bo Yang <boyang at novell.com>
Date: Thu Feb 26 17:44:33 2009 +0800
Initialize the id_map status in idmap_ldap to avoid surprise
commit 0025caa9bd2bf52bf873b38ef4b8e3814579ad17
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 27 13:33:51 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 5da7fde31e238d49f0811327e4edff19ea2bf1cc
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 27 13:31:02 2009 +0100
spoolss: fill in spoolss_SetJobInfo1,2,3,4.
Guenther
commit d0e31f8cfa20238ab96709797ed903aa425f11de
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 27 11:27:44 2009 +0100
spoolss: add spoolss_PortInfo3 and spoolss_PortInfoFF.
Guenther
commit 670a22852c4d71883292a8361ef1eb0da99088b1
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 23:40:58 2009 +0100
s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags.
Guenther
commit 62db0ea0cfe215b83f7ec94b77f10ef49175c7ae
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 27 11:18:35 2009 +0100
Use talloc_tos() in regkey_access_check()
commit 61bedb4263a73121bde3fb18295bc0abc4ccbcb2
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Thu Feb 26 17:47:32 2009 -0800
s3: fix guest auth when winbindd is running
This fix is very subtle. If a server is configured with "security = share"
and "guest ok = yes" and winbindd is running authorization will fail during
tree connect.
This is due to our inability to map the guest sid S-1-5-21-X-501 to a uid
through sid_to_uid(). Winbindd is unaware of the hard coded mapping
between this sid and whatever uid the name in lp_guestaccount() is assigned.
So sid_to_uid() fails and we exit create_token_from_username() without
ever calling pdb_getsampwsid() which IS aware of the hard coded mapping.
This patch just reorganizes the code, moving sid_to_uid() down to the
block of code in which it is needed, avoiding this early failure.
commit b7b287d41720ec15eff234ffc96c2fa628e8a6e8
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 15:35:12 2009 +0100
s3-rpcclient: add getjob spoolss command.
Guenther
commit a263d8f430383cc94f14cf331db5e21671196032
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 15:33:16 2009 +0100
s3-rpcclient: use is_valid_policy_hnd before closing handles.
Guenther
commit f343ed7319272fc8105ae3edf8039742fc4fe6d9
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 15:34:46 2009 +0100
s3-spoolss: remove old rpccli_spoolss_getjob.
Guenther
commit 0445c554d1e112f3721e28072406bd4f63b6aefe
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 15:33:57 2009 +0100
s3-spoolss: add rpccli_spoolss_getjob convenience wrapper.
Guenther
commit 417f920e0784cb62ebe5bee02cd5e8eb44bf34c8
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 22:01:55 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit d42f833acee7c3c5a124631a5a6e9e2ad69d8059
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 15:52:51 2009 +0100
spoolss: add 2 new SPOOLSS_JOB_CONTROL values.
Guenther
commit dec1410b10106242ed3dcba522cb4d9914ea92a8
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 15:29:23 2009 +0100
spoolss: add spoolss_JobInfo2, JobInfo3 and JobInfo4 (new in vista).
Guenther
commit fe8cf69ec644f399d4b41c21b74703e0e500e092
Author: Björn Jacke <bj at sernet.de>
Date: Thu Feb 26 16:32:57 2009 +0100
don't hardcode python path
Signed-off-by: Michael Adam <obnox at samba.org>
commit 3121249243f52dcbf8083f5ff137bd580515efa7
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 26 11:42:23 2009 -0800
Make us pass the RAW-RENAME torture test I just added.
Inside a directory, keep a file open and then renaming
the directory should fail with ACCESS_DENIED.
Jeremy.
commit bcadb77c18f9ed9be22762871617f1a12294e88c
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 26 10:13:57 2009 -0800
Add another torture test inspired by George @ Apple.
Inside a directory, keep a file open and then renaming
the directory should fail with ACCESS_DENIED. This
is connected to the test case where the close was
failing due to a delayed write on a file not being
able to succeed when Samba allowed the containing
directory to be renamed.
I will fix this in the server shortly (this should be done
across connections also but with will be very hard
in Samba - would need a full scan of the open file
db on every directory rename) - so I will fix for
the local case first (scanning local file opens
inside an smbd is cheap).
Jeremy.
commit b934f509ed222eb49e8b24ca111361e563434646
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 26 15:36:16 2009 +0100
lib/torture: fix depency to map_nt_error_from_unix()
This should fix the build on Mac OS 10
metze
commit c5e062ed74ec7e13e03ed24e9e4d2ced5351f141
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 14:34:38 2009 +0100
s3: fix the build JOB_STATUS_BLOCKED -> JOB_STATUS_BLOCKED_DEVQ
Günther, please check...
Michael
commit 3a1f24f286d4dba836b750122f571f831a794e4a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 17 11:42:01 2009 +0100
tevent: add tevent_queue infrastructure
metze
commit 2f4b8213206aebd7b101b9623f7cd0786a65f310
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 02:59:07 2009 +0100
s3:registry: tighten the subkey loop in reg_deletekey_recursive()
and loop from the end to the beginning so that we don't need
to rehash the subkeys...
This gets "net conf drop" with 2000 shares down to 14 seconds
on my box.
Michael
commit 270ab5544b9e2a26e00ccb4e27e24996bf2e9238
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 02:57:59 2009 +0100
s3:registry: use delete_reg_subkey() in reg_deletekey()
This further speeds up net conf drop.
Michael
commit ae8c584218fd25016f9baf3106eb25a2faf15a97
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 02:56:50 2009 +0100
s3:registry: implement delete_subkey in the smbconf backend
delegating the call to the db backend
Michael
commit b5fbe06d746f3e5f004b7006812014dfd269c250
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 02:56:00 2009 +0100
s3:registry: implement delete_subkey in the db backend
Michael
commit 97508eefb78598fcf15c07b4c0cb92dbf21c30f7
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 02:54:50 2009 +0100
s3:registry: add a delete_subkey method to the backend ops.
This is to provide a more atomic means of deleting a subkey of a key.
Michael
commit 61bdfd09edbdea38486bbca3c148d224c7d523fc
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 01:43:58 2009 +0100
s3:registry: refactor deletion of various subkey lists out of regdb_store_keys()
Micheal
commit 13ceeeedbc188f4c68f1c733f0d2ffe1f5978b42
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 01:22:03 2009 +0100
s3:registry: streamline and cleanup regdb_set_secdesc() somewhat.
Michael
commit 2fb944bde1b16179b4d7dd9aafa66d18d742b4e4
Author: Michael Adam <obnox at samba.org>
Date: Thu Feb 26 01:16:07 2009 +0100
s3:registry: refactor deletion of value/secdesc/subkey list tdb records out
of regdb_store_values().
Michael
commit 741e902888fe6f6b8109b9bb8ccca48554d00670
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 23:13:07 2009 +0100
s3:registry: streamline reg_deletekey() somewhat.
use W_ERROR_... macros and separate assignments from checks
Michael
commit 4b444e4ac4ca0a00a01f22f04bcf01e78593c3a9
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 22:06:47 2009 +0100
s3:registry: use create_reg_subkey() in reg_createkey().
Instead of calling store_reg_keys()
On my box, importing 2000 shares into an empty smbconf key
now takes some 32 seconds.
Michael
commit d73dafb5fe4339611e3e61f5622a6f8c4b81b1c1
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 22:04:58 2009 +0100
s3:registry: implement create_subkey for the smbconf backend
by delegating to the db backend
Michael
commit 20e40d3b7da084a00cd417c63c79d0bc102462b8
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 22:04:07 2009 +0100
s3:registry: implement create_subkey for the db backend.
Michael
commit 602bfeb3605767c2d938f547ddebe5693776028c
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 21:59:54 2009 +0100
s3:registry: add a create_subkey method to the backend ops.
This is to provide a more atomic means of adding a subkey of a key.
Michael
commit 51795b723eedecbbcb89c822c68ee51151bc6592
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 16:55:28 2009 +0100
libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y)
a goto destination can be specified as a second parameter.
Michael
commit 6c197ffa3090b88663b2507006022fcd438de54c
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 16:53:05 2009 +0100
s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.h
Michael
commit e026d217bf0d7641ec4f53ede8c6f8eda144a489
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 14:49:30 2009 +0100
s3:net rpc registry: use regsubkey_ctr_init() instead of using talloc directly.
Michael
commit 0b22f8b99c0291f2e45166124358844127fb8edf
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 09:53:16 2009 +0100
s3:registry: hash the list of subkeys in the regsubkey_ctr
This removes many loops over all the arrays
(from regsubkey_ctr_key_exists) and thus
reduces "net conf drop" from 1m55 to 48seconds
and "net conf import" from 1m55 to 58 seconds
for 2000 shares on my box.
Michael
commit 149d94dd8f5513af9f75d568507c880c63b9187e
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 00:33:24 2009 +0100
s3:registry: remove definition of regsubkey_ctr from the surface.
All access is now through accessor functions in reg_objects.c
This allows for performance tuning under the hood in the next step.
Michael
commit d2fc3abeeac89fac345ef8218685e490b1a470e6
Author: Michael Adam <obnox at samba.org>
Date: Wed Feb 25 00:32:21 2009 +0100
s3:profiles: use regsubkey_ctr_init() instead of using talloc directly.
Michael
commit 1ce0035abbff4625621c0ef16af3902959cd342f
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:28:48 2009 +0100
s3:registry: use regsubkey_ctr_init() in reg_eventlog.c
Michael
commit b384d0d49d1c3748c03e86f84ad7f1e4a6bc55b2
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:23:04 2009 +0100
s3:services_db: use regsubkey_ctr_init() instead of using talloc directly
Michael
commit 69be6f5c1d11a7beae41d27fa0d429020cbaf363
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:19:35 2009 +0100
s3:registry: use regsubkey_ctr_get_seqnum() in reg_backend_db.c
Michael
commit 8a74b535c88f7f4adb348e8eb2dccdb1d0f1921c
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:19:08 2009 +0100
s3:registry: use regsubkey_ctr_set_seqnum() in reg_backend_db.c
Michael
commit 3c15d053f543132d434fa0249e3eeeccfeaed43b
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:18:20 2009 +0100
s3:registry: use regsubkey_ctr_init() in reg_backend_db.c
instead of using talloc directly.
Michael
commit ea2b74090dc58d9d6ac9e78746994d0ebce7ca9e
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:17:05 2009 +0100
s3:registry: use regsubkey_ctr_init() in reg_api.c
instead of using talloc on struct regsubkey_ctr.
Michael
commit cd8bfd3a84a02cdaf74813bb7c09dc9a02621aa6
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:15:55 2009 +0100
s3:registry: add regsubkey_ctr_get_seqnum() to hide implementation
Michael
commit 63ed47c9e4c846d52c7a56b137d5059b1700007a
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 23:10:35 2009 +0100
s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller.
Michael
commit 763f41f39c2b3c3488992297bc1c0e1ab785ad07
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 22:43:47 2009 +0100
s3:registry: add a regsubkey_ctr_init function for allocating a regsubkey_ctr
Michael
commit 060abd7e38bff8cecf5821e9a9878f18c04a7a1d
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 22:41:40 2009 +0100
s3:registry: fix a comment
Michael
commit 63b576424db89739f40e45ac4802634d34456ee6
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 22:16:40 2009 +0100
s3:registry: don't directly access key->subkeys->subkeys[] in reg_backend_db.c
Use the reg_objects accessor regsubkey_ctr_specific_key() instead.
Michael
commit 8c1e4034fe2ac956cec3854586d3d2fcec268697
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 21:12:26 2009 +0100
s3:registry: don't directly access key->subkeys->subkeys[] in reg_api.c
Use the reg_objects accessor regsubkey_ctr_specific_key() instead.
Michael
commit 62b53507d29b0679647f429c8d969167fe25122f
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 17:42:50 2009 +0100
s3:registry: don't directly access key->subkeys->num_subkeys in reg_backend_db.
Use the reg_objects api instead.
Michael
commit e05b7a8627a085ebd2418bc52152130a97725535
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 17:30:23 2009 +0100
s3:registry: don't directly access key->subkeys->num_subkeys in reg_api.c
Use the reg_objects api instead.
Michael
commit 58fc61217db68e553119bc49369362672590c19d
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 15:19:18 2009 +0100
s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"
This paves the way for hiding the typedef and the implementation from the
surface.
Michael
commit b56f449d6b1cdc527dc553cf0fe774b51a272642
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 17:51:09 2009 +0100
Revert "Fix a O(n^2) algorithm in regdb_fetch_keys()"
This reverts commit a13f065bad0f4d21a67e68b743f17f45bf0a4691.
This fix is reverted, because the speedup is going to move
further down into reg_objects.c. The unsorted list of subkey names
is going to be indexed: This O(n^2) search bites us in more places.
This re-establishes the abstraction of reg_objects.c.
Michael
commit 6cdcfa3fc14eb25c0da072aa549d06e0c33d4598
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 26 13:24:59 2009 +0100
Remove a temporary debug message -- sorry
commit 44ceff4d01ce1e7bd089c120f79812f48ced0be7
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 13:19:24 2009 +0100
s3-spoolss: fix search_notify(). sorry...
Guenther
commit 98ca5b04ba1ca0649b3004fa45cab6aaa8d5ec3c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 13:15:47 2009 +0100
s3: re-run make samba3-idl.
Guenther
commit 54b529a44e4b3244f79f0c5ab3dab91925fae0d4
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 01:10:58 2009 +0100
s3-spoolss: job status defines moved to IDL.
Guenther
commit 76ae2022ad239394c9122f65bd35c1523874e6f9
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 01:10:37 2009 +0100
spoolss: add spoolss_JobStatus.
Guenther
commit 3e25d3bb15fd616fdf89fcb10aba27a9a7586e15
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 26 00:49:02 2009 +0100
s3-spoolss: remove some unused defines and structs.
Guenther
commit d3ac11c64a95c2041dc0002b8cc59d756736d3be
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 26 13:12:54 2009 +0100
s4:heimdal_build: correrctly switch closefrom() and get/setprogname() replacements on and off
metze
commit a777b4d50136dc52b69756fdfd6d7024270fe040
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 26 12:34:39 2009 +0100
Convert open_socket_out to tevent_req
commit 408cde8fcaac96b82d1cb4d638d790122900cff0
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 26 12:34:14 2009 +0100
Add tevent_req helpers to includes.h
commit 4d22554e98134755cea609aa6d888c8e67fc123b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 26 10:48:41 2009 +0100
Add tevent_ntstatus
commit 42b8d6b3084e235beb8e4ed4215b5973e769ada3
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 10:54:13 2009 +0100
s3:net: wrap net conf import into one big transaction
This speeds up "net conf import" of a file with 2000 shares
from 11 minutest to 1m50s on my box.
Michael
commit bd121b532cf5a6728b7605072f725cc9c6d47f48
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 10:52:30 2009 +0100
s3:libsmbconf: add transactions to the libsmbconf api
This is useful for wrapping higher level aggregate operations
in transactions. The text backend implementations just return
WERR_OK, the registry backend implementatoins use the
regdb_transaction_start|commit|cancel routines just added.
Michael
commit 9f97674ef759c65b874028b7af01fcc65f8dac23
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 15:40:05 2009 +0100
s3:registry: wrap deletekey_recursive in one big transaction.
This speeds up "net conf drop" with 2000 shares on my box from
4m40s to 1m50s, leaving virtually only cpu load.
Michael
commit ba0e944c46b5c5e11c2539e15c9fe099a6c39fd1
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 24 10:44:48 2009 +0100
s3:registry: provide transaction_start|commit|cancel fns for the registry tdb
Michael
commit 170830c0089088e7e30a3aa2d0c6d65b01ab83a0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 22 10:11:29 2009 +0100
Wrap creating the sorted subkey cache in a transaction
Signed-off-by: Michael Adam <obnox at samba.org>
commit 5c91cdcc47dc22330839113b37d250b472fb0487
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 22 01:11:51 2009 +0100
Add a comment describing the sorted subkeys
Signed-off-by: Michael Adam <obnox at samba.org>
commit 1b1aac412c1cff1ac969ae07a0fe085b80476c9e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 20 06:01:16 2009 +0100
Add sorted subkey cache
On my box this gets net conf list for 1000 records down to .1 seconds
Signed-off-by: Michael Adam <obnox at samba.org>
commit aeb26fe9118ac8b479b2052a722b21e6404c0f00
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 22 00:47:54 2009 +0100
Add db_tdb_parse
Signed-off-by: Michael Adam <obnox at samba.org>
commit 9475e88beadd19c245ca4010c398652a85ccfd78
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 22 00:18:05 2009 +0100
Add dbwrap->parse_record
Signed-off-by: Michael Adam <obnox at samba.org>
commit 16f61a6f90060d40f0348cb433e3b900ae05fcba
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 21 18:00:42 2009 +0100
Speed up "net conf list"
For 1000 shares this speeds up net conf list from .6 to .25 seconds on my box
Signed-off-by: Michael Adam <obnox at samba.org>
commit 26f238466caa1d40edf74d4678c2e981ec9018bd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 21 17:01:58 2009 +0100
Speed up "net conf list"
With 1000 shares in the registry, this changed the time of "net conf list" from
1.1 seconds to .6 seconds.
Signed-off-by: Michael Adam <obnox at samba.org>
commit 8e4816f0078fd94a1b83798f52a63dc679eed47e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 26 10:55:00 2009 +0100
s4:Makefile: try to fix 'make installheaders' on *BSD systems
metze
commit b6597424dbacdbfcaa37d8860fc4343be1a4514a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 26 10:05:58 2009 +0100
s4:heimdal_build: don't always build setprogname.o
This hopefully fixes the build on Mac OS 10, where setprogname()
is available via libc.
asn1_compile and compile_et use only .ho files again
and don't use socket_wrapper anymore.
metze
commit c21ae8d1bfd4423cf1c4a62c11ba228773548de2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 26 10:29:55 2009 +0100
libreplace: make it possible to disable socket_wrapper via -DSOCKET_WRAPPER_DISABLE=1
metze
commit 64662cb0c34425f7a0ccc66e43c21b7b69451ca9
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 26 09:42:29 2009 +0100
s4:ldb_map: include ldb_includes.h first to get replace.h as first header
This should bring the build on AIX one step further.
metze
commit b679f6b25673969800f31cf0bd0f57799bb0598c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 26 09:10:23 2009 +0100
s4:VERSION: mark as 4.0.0-alpha8 gitsnapshot
metze
-----------------------------------------------------------------------
--
Samba Shared Repository
More information about the samba-cvs
mailing list