summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-05s3: fix build on Heimdal based systems like NetBSD5Björn Jacke1-3/+3
2010-06-05s4-smbtorture: make RPC-SPOOLSS-ACCESS more compatible with older samba ↵Günther Deschner1-6/+9
releases. Guenther
2010-06-05s4-smbtorture: remove another incarnation of test_ClosePrinter.Günther Deschner1-19/+0
This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ? Guenther
2010-06-05s4-smbtorture: add RPC-SPOOLSS-ACCESS.Günther Deschner4-2/+754
This test creates - a user - a user with BUILTIN\Administrators membership - a user with BUILTIN\Print Operators membership - a user with SePrintOperatorPrivilege (if available) - a user with full access in security descriptor and checks what access rights are granted in spoolss_OpenPrinterEx. Guenther
2010-06-05s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.Günther Deschner2-26/+3
Guenther
2010-06-05s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().Günther Deschner1-5/+7
Guenther
2010-06-05s4-smbtorture: check error codes in RAP-SAM testsuite.Günther Deschner1-0/+2
Guenther
2010-06-04Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.Jeremy Allison1-0/+1
2010-06-04wait_for_aio_completion() should return 0 on non-aio compiled case.Jeremy Allison1-1/+1
2010-06-04Rename req -> smbreq.Jeremy Allison1-26/+26
2010-06-04Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). SimplifiesJeremy Allison4-40/+10
the code and eliminates find_aio_ex(). Jeremy.
2010-06-04s3-rpc: Create a file with all functions for a internal named pipe.Andreas Schneider5-205/+256
This makes it possible to use the samr rpc server in winbind without linking in smbd. Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04s3-rpc: Seperate rpc_srv_register for plain connection.Andreas Schneider5-129/+276
This will make it possible to create plain rpc named pipe connnections. Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04s3-auth: Moved smbd user functions to a generic place.Andreas Schneider4-139/+140
Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04s3-smbd: Remove unneeded dependency of map_username to globals.c.Andreas Schneider3-7/+3
Reviewed-by: Simo Sorce <idra@samba.org>
2010-06-04s3-selftest: do not call main RPC-SPOOLSS testsuite.Günther Deschner1-1/+1
The tests formerly available in there can now be accessed via RPC-SPOOLSS-PRINTSERVER. Guenther
2010-06-04s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.Günther Deschner2-326/+521
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via RPC-SPOOLSS-{addprinter,addprinterex}-testname. Guenther
2010-06-04s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit.Günther Deschner1-3/+3
Guenther
2010-06-04ѕ3:Makefile: use PIC instead of PIE flags for shared libsBjörn Jacke1-4/+4
otherwise shared lib builds are broken on some platforms
2010-06-03Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when ↵Jeremy Allison1-1/+7
downgrading from krb5 to NTLMSSP over SMB2. Jeremy.
2010-06-03Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when ↵Jeremy Allison1-8/+29
using SMB2. Jeremy.
2010-06-03s4-smbtorture: convert RPC-SPOOLSS into a torture suite.Günther Deschner2-83/+212
Guenther
2010-06-03s4-smbtorture: allow to call single tests from a testcase in a testsuiteGünther Deschner1-0/+10
directly on the commandline. Guenther
2010-06-03libreplace: Fix readline build with libedit.James Peach2-1/+45
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef, but uses a internal typedef names CPPFunction. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-03s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner4-67/+45
This fixes some invalid typecasts. Guenther
2010-06-03s3: Fix the build of the nfsv4 acl codeVolker Lendecke1-1/+2
2010-06-03s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test.Günther Deschner1-7/+2
Guenther
2010-06-03s4-smbtorture: add test_PrintProcessors_winreg.Günther Deschner1-0/+71
This does cross reference checks between spoolss PrintProcessors and entries stored in winreg. Guenther
2010-06-03s4-smbtorture: refactor test_EnumPrintProcessors().Günther Deschner1-35/+54
Guenther
2010-06-03s4-smbtorture: only test data up to a length of 9 bytes in ↵Günther Deschner1-1/+1
test_SetPrinterDataEx_matrix(). Guenther
2010-06-03s3: remove authdata.hGünther Deschner3-38/+8
Guenther
2010-06-03s3-build: pure cosmetics, use better names for gen_ndr code pieces.Günther Deschner2-15/+11
Guenther
2010-06-03s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner5-2/+4
Guenther
2010-06-03s3: remove rpc_secdes.h completely.Günther Deschner3-28/+3
Guenther
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner10-31/+21
Guenther
2010-06-03security: move generic_mapping and standard_mapping to security.idl.Günther Deschner2-17/+18
Guenther
2010-06-03s3-security: use shared "File Object specific access rights".Günther Deschner3-56/+3
Guenther
2010-06-03s3-security: use shared "Generic access rights".Günther Deschner2-9/+2
Guenther
2010-06-03s3-security: use shared Security Access Masks Rights.Günther Deschner2-9/+2
Guenther
2010-06-03s3-security: move ALL_SECURITY_INFORMATION to the only user.Günther Deschner2-7/+7
Guenther
2010-06-03s3-security: remove duplicate Extra W2K flags.Günther Deschner2-11/+5
Guenther
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner17-42/+40
Guenther
2010-06-03s3-security: use shared SECINFO_SACL define.Günther Deschner8-14/+13
Guenther
2010-06-03s3-security: use shared SECINFO_GROUP define.Günther Deschner13-29/+28
Guenther
2010-06-03s3-security: use shared SECINFO_OWNER define.Günther Deschner13-29/+28
Guenther
2010-06-03s3-security: remove some more shared secdesc defines.Günther Deschner2-13/+3
Guenther
2010-06-02Ensure we remove SMB2 cancel requests from the active queueJeremy Allison1-0/+1
now we don't remove them in the talloc destructor. Jeremy.
2010-06-02Fix a crash bug found by Ira Cooper <samba@ira.wakeful.net>.Jeremy Allison1-4/+5
A create call comes in, goes async (on the oplock request). At a later time (just before a cancel request is received) it completes, and goes through smbd_smb2_request_reply() to send the reply to the create call. However, the output socket queue is full, so when tstream_writev_queue_send() is called from smbd_smb2_request_reply(), the smb2req stays on the "being processed" queue on sconn->smb2.requests, as only when tstream_writev_queue_send() completes is smbd_smb2_request_writev_done() get called, which will TALLOC_FREE the smb2req (and thus take if off the queue). The cancel comes in, gets processed and looks through the requests on the queue, and BANG - hits the smb2req that has already been processed and is outgoing.... Remove the request from the queue once tstream_writev_queue_send() is called and not in the talloc destructor function. Jeremy.
2010-06-03s3: remove unused librpc/ndr/sid.c.Günther Deschner7-63/+5
Guenther
2010-06-02Move to using a DATA_BLOB inside of struct aio_extra, not a char *.Jeremy Allison1-16/+16
Will make using AIO in SMB2 easier. Jeremy.