summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-06-04Fix a long-standing bug with async io that would only be triggered by SMB2.Jeremy Allison2-5/+129
On normal or shutdown close, ensure we wait for any pending IO to complete before returning. Implement a blocking aio_suspend inside vfs_aio_fork.c. These changes pass make test when the aio_fork module is used by default on the test shares. Jeremy.
2010-06-05s3:build: add shared lib flag for HP-UX compilerBjörn Jacke1-1/+3
2010-06-05s3: fix build on Heimdal based systems like NetBSD5Björn Jacke1-3/+3
2010-06-05s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().Günther Deschner1-5/+7
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-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-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-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 Deschner1-17/+0
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 Deschner16-41/+39
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 Deschner6-63/+4
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 Deschner2-7/+7
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-01SMB2: Fix rename on Windows 7.Ira Cooper1-8/+0
This removes some code Jeremy (jra) suspected was bad. It turns out that the command window rename command will not work with the offending code in place. With it removed the bug is gone, and rename works.
2010-06-01Don't use sigev_value.sival_int to just store the mid, use ↵Jeremy Allison1-38/+26
sigev_value.sival_ptr to store the private data structure. This allows easier use from SMB2. Ensure aio is initialized before the aio_pending_size check else aio will never be used. Jeremy.
2010-06-01s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root.Günther Deschner1-5/+22
Guenther
2010-06-01s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.Holger Hetterich1-2/+5
In protocol v2, the name of the service should be sent instead of the path. Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-01s3-waf: Fix the buildKai Blin1-1/+2
2010-06-01s3: remove unused prototype for lp_idmap_domains().Michael Adam1-1/+0