summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-06-02s3-selftest: Fix blackbox smbclient s3 tests during make selftest.Günther Deschner4-8/+12
Guenther
2010-06-02s3: Allow previous password to be stored and use it to check ticketsMatthieu Patou4-41/+137
This patch is to fix bug 7099. It stores the current password in the previous password key when the password is changed. It also check the user ticket against previous password. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-02s3: Add vfs_linux_xfs_sgidVolker Lendecke3-0/+112
http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that still exists: Under certain circumstances the SGID bit is not inherited.
2010-06-02s3-waf: Fix up smbclient dependenciesKai Blin1-3/+2
2010-06-02s3-waf: Fixed dependencies of the the krbclient subsystem.Kai Blin1-0/+1
2010-06-02s3-waf: Fixed dependencies of the the avahi subsystem.Andreas Schneider1-0/+1
2010-06-02s4:ldb_msg_element_compare - fix typo in commentMatthias Dieter Wallnöfer1-1/+1