summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: fix build on Heimdal based systems like NetBSD5Björn Jacke2010-06-051-3/+3
|
* s4-smbtorture: make RPC-SPOOLSS-ACCESS more compatible with older samba ↵Günther Deschner2010-06-051-6/+9
| | | | | | releases. Guenther
* s4-smbtorture: remove another incarnation of test_ClosePrinter.Günther Deschner2010-06-051-19/+0
| | | | | | This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ? Guenther
* s4-smbtorture: add RPC-SPOOLSS-ACCESS.Günther Deschner2010-06-054-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
* s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.Günther Deschner2010-06-052-26/+3
| | | | Guenther
* s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().Günther Deschner2010-06-051-5/+7
| | | | Guenther
* s4-smbtorture: check error codes in RAP-SAM testsuite.Günther Deschner2010-06-051-0/+2
| | | | Guenther
* Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.Jeremy Allison2010-06-041-0/+1
|
* wait_for_aio_completion() should return 0 on non-aio compiled case.Jeremy Allison2010-06-041-1/+1
|
* Rename req -> smbreq.Jeremy Allison2010-06-041-26/+26
|
* Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). SimplifiesJeremy Allison2010-06-044-40/+10
| | | | | | the code and eliminates find_aio_ex(). Jeremy.
* s3-rpc: Create a file with all functions for a internal named pipe.Andreas Schneider2010-06-045-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>
* s3-rpc: Seperate rpc_srv_register for plain connection.Andreas Schneider2010-06-045-129/+276
| | | | | | This will make it possible to create plain rpc named pipe connnections. Reviewed-by: Simo Sorce <idra@samba.org>
* s3-auth: Moved smbd user functions to a generic place.Andreas Schneider2010-06-044-139/+140
| | | | Reviewed-by: Simo Sorce <idra@samba.org>
* s3-smbd: Remove unneeded dependency of map_username to globals.c.Andreas Schneider2010-06-043-7/+3
| | | | Reviewed-by: Simo Sorce <idra@samba.org>
* s3-selftest: do not call main RPC-SPOOLSS testsuite.Günther Deschner2010-06-041-1/+1
| | | | | | | The tests formerly available in there can now be accessed via RPC-SPOOLSS-PRINTSERVER. Guenther
* s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.Günther Deschner2010-06-042-326/+521
| | | | | | | This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via RPC-SPOOLSS-{addprinter,addprinterex}-testname. Guenther
* s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit.Günther Deschner2010-06-041-3/+3
| | | | Guenther
* ѕ3:Makefile: use PIC instead of PIE flags for shared libsBjörn Jacke2010-06-041-4/+4
| | | | otherwise shared lib builds are broken on some platforms
* Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when ↵Jeremy Allison2010-06-031-1/+7
| | | | | | downgrading from krb5 to NTLMSSP over SMB2. Jeremy.
* Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when ↵Jeremy Allison2010-06-031-8/+29
| | | | | | using SMB2. Jeremy.
* s4-smbtorture: convert RPC-SPOOLSS into a torture suite.Günther Deschner2010-06-032-83/+212
| | | | Guenther
* s4-smbtorture: allow to call single tests from a testcase in a testsuiteGünther Deschner2010-06-031-0/+10
| | | | | | directly on the commandline. Guenther
* libreplace: Fix readline build with libedit.James Peach2010-06-032-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>
* s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner2010-06-034-67/+45
| | | | | | This fixes some invalid typecasts. Guenther
* s3: Fix the build of the nfsv4 acl codeVolker Lendecke2010-06-031-1/+2
|
* s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test.Günther Deschner2010-06-031-7/+2
| | | | Guenther
* s4-smbtorture: add test_PrintProcessors_winreg.Günther Deschner2010-06-031-0/+71
| | | | | | | This does cross reference checks between spoolss PrintProcessors and entries stored in winreg. Guenther
* s4-smbtorture: refactor test_EnumPrintProcessors().Günther Deschner2010-06-031-35/+54
| | | | Guenther
* s4-smbtorture: only test data up to a length of 9 bytes in ↵Günther Deschner2010-06-031-1/+1
| | | | | | test_SetPrinterDataEx_matrix(). Guenther
* s3: remove authdata.hGünther Deschner2010-06-033-38/+8
| | | | Guenther
* s3-build: pure cosmetics, use better names for gen_ndr code pieces.Günther Deschner2010-06-032-15/+11
| | | | Guenther
* s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner2010-06-035-2/+4
| | | | Guenther
* s3: remove rpc_secdes.h completely.Günther Deschner2010-06-033-28/+3
| | | | Guenther
* s3-security: use shared "Standard access rights.".Günther Deschner2010-06-0310-31/+21
| | | | Guenther
* security: move generic_mapping and standard_mapping to security.idl.Günther Deschner2010-06-032-17/+18
| | | | Guenther
* s3-security: use shared "File Object specific access rights".Günther Deschner2010-06-033-56/+3
| | | | Guenther
* s3-security: use shared "Generic access rights".Günther Deschner2010-06-032-9/+2
| | | | Guenther
* s3-security: use shared Security Access Masks Rights.Günther Deschner2010-06-032-9/+2
| | | | Guenther
* s3-security: move ALL_SECURITY_INFORMATION to the only user.Günther Deschner2010-06-032-7/+7
| | | | Guenther
* s3-security: remove duplicate Extra W2K flags.Günther Deschner2010-06-032-11/+5
| | | | Guenther
* s3-security: use shared SECINFO_DACL define.Günther Deschner2010-06-0317-42/+40
| | | | Guenther
* s3-security: use shared SECINFO_SACL define.Günther Deschner2010-06-038-14/+13
| | | | Guenther
* s3-security: use shared SECINFO_GROUP define.Günther Deschner2010-06-0313-29/+28
| | | | Guenther
* s3-security: use shared SECINFO_OWNER define.Günther Deschner2010-06-0313-29/+28
| | | | Guenther
* s3-security: remove some more shared secdesc defines.Günther Deschner2010-06-032-13/+3
| | | | Guenther
* Ensure we remove SMB2 cancel requests from the active queueJeremy Allison2010-06-021-0/+1
| | | | | | now we don't remove them in the talloc destructor. Jeremy.
* Fix a crash bug found by Ira Cooper <samba@ira.wakeful.net>.Jeremy Allison2010-06-021-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.
* s3: remove unused librpc/ndr/sid.c.Günther Deschner2010-06-037-63/+5
| | | | Guenther
* Move to using a DATA_BLOB inside of struct aio_extra, not a char *.Jeremy Allison2010-06-021-16/+16
| | | | | | Will make using AIO in SMB2 easier. Jeremy.