summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-05-08s3: move BASE_RID to main includes.h (in preparation to separate passdb).Günther Deschner2-2/+2
Guenther
2010-05-08s3-passdb: moving account_pol.c into passdb.Günther Deschner3-3/+2
Guenther
2010-05-07s3-merged: Make sure bin/ exists when copying in bin/smbtorture4.Jelmer Vernooij1-1/+1
2010-05-07s3-merged: Use newly added waf reconfigure subcommand.Jelmer Vernooij1-1/+1
2010-05-07Reintroduce merged build, using waf to build smbtorture4.Jelmer Vernooij2-1/+56
2010-05-07Revert "Revert "s3-build: Remove --enable-merged support.""Jelmer Vernooij4-668/+3
This reverts commit 8f8e7c788a12d1e0bda9183ed765cc1048e105f7.
2010-05-07samba3: Generate C files from IDL in source3/librpc/gen_ndr rather thanJelmer Vernooij1-59/+59
librpc/gen_ndr. This is done to make it possible to run waf in the source4/ tree at the same time, since waf has problems with files that were generated by something else.
2010-05-07Only MULTIPLE-UNLOCK test left to fix !Jeremy Allison3-3/+3
Jeremy.
2010-05-07When tearing down the connection make sure we close all files beforeJeremy Allison2-0/+8
freeing the global context, as we close access to the locking db before freeing the global context. Jeremy.
2010-05-07This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵Jeremy Allison10-150/+150
smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. Jeremy.
2010-05-07idl: get the logic of the prevous commit rightBjörn Jacke1-1/+1
2010-05-07idl: fix Unix builds by replacing bashismBjörn Jacke1-1/+1
test -nt is not portable - tridge, please check!
2010-05-07s3:configure: search fdatasync also in librtBjörn Jacke1-1/+2
Sun^W Oracle Solaris has it there ...
2010-05-07s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is ↵Björn Jacke1-1/+5
being used
2010-05-07Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵Jeremy Allison8-11/+36
next :-). Jeremy.
2010-05-07Fix crash in cancel-tdis lock test. Correctly shut down connection.Jeremy Allison1-1/+1
Jeremy.
2010-05-06Fix cancel by close lock test.Jeremy Allison1-24/+36
Jeremy.
2010-05-06Fix SMB2 lock tests up to cancel-by-close.Jeremy Allison1-0/+4
Jeremy.
2010-05-06Fix more SMB2 locking. We still crash but this won't last :-).Jeremy Allison3-49/+99
Jeremy.
2010-05-06s3-spoolss: make several notify functions static.Günther Deschner2-82/+18
Guenther
2010-05-06s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵Günther Deschner8-38/+42
where required. Guenther
2010-05-06s3: fix the merged build - it required $LDBjörn Jacke1-1/+1
Thanks to Jelmer for pointing that out!
2010-05-06Remove the copy of ldb from Samba 3.Jelmer Vernooij135-38651/+274
There were two utility functions that other parts of Samba 3 still relied on; they have been moved to lib/ldb_compat.[ch].
2010-05-06s3-build: fix the build of vfs_notify_fam.Günther Deschner1-0/+1
Guenther
2010-05-05Move to MS-FSA algorithm when checking for invalid lock range.Jeremy Allison2-14/+6
Satisfies SMB and SMB2. Jeremy.
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner61-49/+75
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-05-05Get closer to passing SMB2 lock test. Still crashes but we get further.Jeremy Allison1-24/+32
More work to follow later. Jeremy.
2010-05-05s3:configure: not simply check for "ld" but for the linker used by $CCBjörn Jacke2-7/+7
this hopefully fixes Solaris' gcc build which uses the system ld by default. All in all we should clean up most of the compiler and linker flags depending on the actual compilers and linkers we use. Only some tweaks are OS-specific. A cleanup in this area should be done along with the move to a new build system (whensoever that will be ...).
2010-05-05Return correct error on read request on directory.Jeremy Allison1-0/+4
Jeremy.
2010-05-05Get in_minimum and EOF errors right.Jeremy Allison1-1/+11
Jeremy.
2010-05-05Client ignoring max write is a warning, not an error.Jeremy Allison1-1/+5
Jeremy.
2010-05-05Start to pass the SMB2 read torture tests.Jeremy Allison1-1/+1
Jeremy.
2010-05-05s3-lanman: use srvsvc for api_RNetShareAdd().Günther Deschner1-34/+42
Guenther
2010-05-05s3-spoolss: remove unused winreg_enumval_to_blob().Günther Deschner1-20/+0
Guenther
2010-05-05s3-spoolss: Create default DsSpooler values.Andreas Schneider1-1/+114
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Fixed the DeviceMode handling in winreg.Andreas Schneider1-115/+97
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added winreg security descriptor functions.Andreas Schneider2-36/+329
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Migrated winreg to spoolss_create_default_secdesc.Andreas Schneider1-81/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: make sure to return success in winreg_get_driver_list() for aGünther Deschner1-0/+4
non-existing architecture / version combination. Guenther
2010-05-05s3-spoolss: talloc_steal the returned driver_list in winreg_get_driver_list().Günther Deschner1-2/+5
Otherwise the function would return a pointer to a freed list. Guenther
2010-05-05s3-spoolss: Fixed winreg_printer_query_XXX.Simo Sorce1-8/+9
A cast to an incorrectly sized pointer was breaking on 64bit architectures where size_t is 64bit. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a winreg_printer_query_binary function.Andreas Schneider1-0/+71
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a generic spoolss_create_default_secdesc function.Andreas Schneider2-0/+86
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a function to create a default spoolss_DeviceMode.Andreas Schneider2-0/+80
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3: Fix bug 5972 -- remove -L testparm parameterVolker Lendecke1-6/+0
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> to point out that this does not work and to agree it's not worth fixing :-)
2010-05-05s3-spoolss: Fixed memory error in winreg_get_driver.Andreas Schneider1-1/+34
The strings in the structure need to be initialized with an empty string. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a sharename arg to winreg_update_printer.Andreas Schneider2-1/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added missing servername option to winreg_{create,get}_printer.Andreas Schneider2-6/+24
This is needed to be able to pass the correct servername from Printer_entry. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added missing Printer Driver in winreg_{update,get}_printer.Andreas Schneider1-0/+17
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-net: fix crash in rap_share_add().Günther Deschner1-1/+1
Guenther