Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-12 | s3: Remove smbd_server_conn from reply_send_file_readbraw | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_ulogoffX | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_fclose | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_search | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_tcon_and_X | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_tcon | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from make_connection_snum | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from change_to_user | Volker Lendecke | 1 | -2/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_ntcancel | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from send_nt_replies | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_smb2002 | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Explicitly pass sconn to negprot_spnego() | Volker Lendecke | 3 | -5/+4 | |
2010-06-12 | s3: Remove some global references to smbd_server_conn | Volker Lendecke | 1 | -10/+9 | |
2010-06-12 | s3: Remove sconn arg from smbd_notify_cancel_by_smbreq | Volker Lendecke | 3 | -6/+4 | |
2010-06-12 | s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_request | Volker Lendecke | 1 | -0/+1 | |
2010-06-12 | s3: Use "sconn" argument in smbd_[un]lock_socket_internal | Volker Lendecke | 1 | -8/+8 | |
Metze, please check! | |||||
2010-06-12 | s3: Pass sconn to init_smb_request() | Volker Lendecke | 1 | -5/+7 | |
2010-06-12 | s3: Add "smbd_server_connection" to smb_request | Volker Lendecke | 2 | -0/+2 | |
2010-06-12 | s3: Fix some nonempty lines | Volker Lendecke | 1 | -8/+7 | |
2010-06-11 | check if LD_AS_NEEDED breaks linking with libreadline fixes #7209 | Olaf Flebbe | 1 | -0/+20 | |
Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-06-11 | s3-auth: Fix valgrind warning (unitialized var) in samu_to_SamInfo3(). | Günther Deschner | 1 | -5/+7 | |
Guenther s3:auth do not fail if there are 0 group sids Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-06-11 | configure.in prevent generation of file "shlib.so" | Olaf Flebbe | 1 | -1/+1 | |
2010-06-11 | s3:auth fix samu->info3 conversion | Simo Sorce | 1 | -0/+3 | |
Some pdb_get_ functions where missing because of previous mis-patching | |||||
2010-06-11 | s3: Fix starving the echo responder | Volker Lendecke | 1 | -0/+11 | |
When both the echo responder and the 445 socket want to send stuff to the worker smbd, the select loop is not fair. It always chooses the smaller file descriptor to work on. This can mean that on a busy system the echo responder never gets around to feed its stuff to the parent. This fix chooses the async echo responder socket when both the 445 and the echo responder socket are readable. Yes, it is a very hackish fix which is required *now* I think. The proper fix would be to either assign priorities to fd's in tevent, or the from my point of view better fix would be to make tevent kindof round-robin. Round-robin would mean that whenever a fd has been dealt with, it is taken off the list of interested sockets, and only if no other socket is active, all of the ones waiting are put back. This is a bit like EPOLL_ONESHOT, which I would like to use for this in the epoll case. Although, I need to do some research if maybe epoll already guarantees round-robin, I did not find anything in the docs yet. Volker | |||||
2010-06-11 | s3:rpc improve handles memory hierarchy and use better name. | Simo Sorce | 3 | -81/+92 | |
While there also cleanup the code a bit. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-06-10 | s3:misc make use of server_[event/messaging]_context directly | Andreas Schneider | 5 | -15/+16 | |
Untangle these functions from smbd specific dependencies so they can be freely used in multiple servers. | |||||
2010-06-10 | s3:winbindd use common server context functions | Simo Sorce | 5 | -55/+3 | |
2010-06-10 | s3:lib make server contexts generic | Simo Sorce | 6 | -30/+80 | |
Pair-programmed-with: Andreas Schneider <asn@samba.org> | |||||
2010-06-10 | Fix the build in the non WITH_AIO case (sorry). | Jeremy Allison | 1 | -0/+20 | |
2010-06-10 | Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added). | Jeremy Allison | 5 | -0/+351 | |
Jeremy. | |||||
2010-06-10 | Ensure we correctly setup req->subreq before testing for async. Stops ↵ | Jeremy Allison | 1 | -4/+4 | |
crashes when XX_send functions set async to stop interim replies being sent. Jeremy. | |||||
2010-06-10 | Don't use the autofree context for the globals. This causes child smbd's forked | Jeremy Allison | 3 | -3/+19 | |
by modules to crash due to destructors being called (found when using the vfs_aio_fork module with smb2). Jeremy. | |||||
2010-06-10 | s3:cleaunp reformatting for readability | Simo Sorce | 1 | -85/+160 | |
2010-06-10 | s3:cleanup remove trailing spaces | Simo Sorce | 1 | -11/+11 | |
2010-06-10 | s3: Fix EnumDomainAliases when no aliases are in LDAP | Volker Lendecke | 1 | -6/+4 | |
We used to return NT_STATUS_ACCESS_DENIED, now we just return 0 entries, just like W2k8 does. usrmgr.exe was pretty unhappy with the NT_STATUS_ACCESS_DENIED | |||||
2010-06-10 | s3:pdb_ldap: fix bug 7505 - init_sam_from_ldap stores group in sid2uid cache | Michael Adam | 1 | -1/+1 | |
2010-06-10 | s3: Add a dummy test to prove the maxfd calculation | Volker Lendecke | 1 | -0/+43 | |
To be run in a debugger, there's no way to inspect the internal tevent_select.c maxfd calculation | |||||
2010-06-10 | s3-smbd: Fix typo in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-06-10 | s3-passdb: Fix typo in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-06-09 | Rename "allow_smb2" -> "using_smb2" and make the usage clearer. | Jeremy Allison | 9 | -24/+33 | |
2010-06-09 | Split out the "finished write processing" code into a function so it can be ↵ | Jeremy Allison | 1 | -40/+62 | |
called by both sync and async code. Jeremy. | |||||
2010-06-09 | Ensure we don't send SMB1 keepalives on an SMB2 connection. | Jeremy Allison | 1 | -0/+6 | |
Jeremy. | |||||
2010-06-09 | Split out the "finished read processing" code into a function so it can be ↵ | Jeremy Allison | 1 | -36/+75 | |
called by both sync and async code. Jeremy. | |||||
2010-06-09 | s3-winbind: Fixed setting default sequence number. | Andreas Schneider | 1 | -1/+1 | |
2010-06-09 | s3: fix calculation of st_blocks in streams_xattr | Björn Jacke | 1 | -3/+3 | |
Thanks to Joachim Schmitz for finding that miscalculation. | |||||
2010-06-09 | s3: fix calculation of st_blocks in init_stat_ex_from_stat | Björn Jacke | 1 | -1/+1 | |
this is just relevant for the very rare systems that don't have the st_blocks struct member. This is a fixup of the fix for bug 7474. Thanks to Joachim Schmitz for spotting this! | |||||
2010-06-09 | s3: Fix bug 7253 | Volker Lendecke | 1 | -1/+8 | |
acct_ctrl is 32 bit in LOGIN_CACHE, but "w" as a format specifier for tdb_unpack only writes 16 bits. Okay on x86, not okay on Solaris. Thanks to Vladimir.Marek@Sun.COM! Volker | |||||
2010-06-08 | Fix a valgrind error found by SMB2-COMPOUND test. | Jeremy Allison | 3 | -0/+31 | |
If a file is closed we must also NULL out all chained_fsp pointers when the fsp is freed to prevent invalid pointer access. Jeremy. | |||||
2010-06-08 | Second part of fix for 7501 - SMB2: CREATE request replies getting mangled. | Jeremy Allison | 1 | -67/+67 | |
Based on code from Ira Cooper <samba@ira.wakeful.net>, and also advice on refactoring the patch into a function call. outbuf vectors can be reallocated by smb2 processing code, so when returning interim responses we must not make assumptions about vector size. Jeremy | |||||
2010-06-08 | Fix for bug 7501 - SMB2: CREATE request replies getting mangled. | Ira Cooper | 1 | -3/+1 | |
Code for dup_smb2_req() was duplicating the wrong vector (i, instead of i+2) when returning a non-minimal SMB2 response. |