Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-04 | Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). Simplifies | Jeremy Allison | 1 | -32/+4 | |
the code and eliminates find_aio_ex(). Jeremy. | |||||
2010-06-04 | s3-auth: Moved smbd user functions to a generic place. | Andreas Schneider | 2 | -406/+0 | |
Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-04 | s3-smbd: Remove unneeded dependency of map_username to globals.c. | Andreas Schneider | 3 | -7/+3 | |
Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-03 | Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when ↵ | Jeremy Allison | 1 | -1/+7 | |
downgrading from krb5 to NTLMSSP over SMB2. Jeremy. | |||||
2010-06-03 | Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when ↵ | Jeremy Allison | 1 | -8/+29 | |
using SMB2. Jeremy. | |||||
2010-06-03 | s3-security: use shared "Standard access rights.". | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: remove duplicate Extra W2K flags. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_DACL define. | Günther Deschner | 4 | -12/+12 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_SACL define. | Günther Deschner | 2 | -2/+2 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_GROUP define. | Günther Deschner | 4 | -7/+7 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_OWNER define. | Günther Deschner | 4 | -7/+7 | |
Guenther | |||||
2010-06-03 | s3-security: remove some more shared secdesc defines. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-06-02 | Ensure we remove SMB2 cancel requests from the active queue | Jeremy Allison | 1 | -0/+1 | |
now we don't remove them in the talloc destructor. Jeremy. | |||||
2010-06-02 | Fix a crash bug found by Ira Cooper <samba@ira.wakeful.net>. | Jeremy Allison | 1 | -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-02 | Move to using a DATA_BLOB inside of struct aio_extra, not a char *. | Jeremy Allison | 1 | -16/+16 | |
Will make using AIO in SMB2 easier. Jeremy. | |||||
2010-06-01 | SMB2: Fix rename on Windows 7. | Ira Cooper | 1 | -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-01 | Don't use sigev_value.sival_int to just store the mid, use ↵ | Jeremy Allison | 1 | -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-05-31 | s3-smbd: remove unused sconn from token_contains_name(). | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-05-31 | s3:smbd map_username() doesn't need sconn anymore | Simo Sorce | 4 | -8/+6 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3:smbd user_ok doesn't need sconn anymore | Simo Sorce | 1 | -7/+6 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3:smbd user_in_list() doesn't need sconn anymore | Simo Sorce | 2 | -6/+5 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3:smbd user_in_network() doesn't need sconn anymore | Simo Sorce | 2 | -7/+6 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | s3:smbd make yp cache local. | Simo Sorce | 3 | -20/+8 | |
The my_yp_domain variable is just a static cache needed to avoid making over and over expensive and potentially blocking calls to yp_get_default_domain(). Instead of keeping this onto the smbd_server_connection struct, just keep it local to the only function ever using this variable. This disentagle this function (and a number of calling functions) from having to pass around smbd_server_connection and thus having to link against smbd. It also removes a few ifdefs. Nothing changes from a global/local pov, as the smbd_server_connection variable passed around is also a global one. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-31 | ntlmssp: Make the ntlmssp.h from source3/ a common header | Andrew Bartlett | 3 | -3/+3 | |
The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | s3:auth Remove AUTH_NTLMSSP_STATE typedef. | Andrew Bartlett | 3 | -5/+5 | |
typedefs are no longer preferred Samba style. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | s3:auth Make AUTH_NTLMSSP_STATE a private structure. | Andrew Bartlett | 3 | -38/+28 | |
This makes it a little easier for it to writen in terms of GENSEC in future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-31 | s3: Fix some debug messages | Volker Lendecke | 1 | -4/+4 | |
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 5 | -0/+5 | |
Guenther | |||||
2010-05-29 | s3:smbd Use the right num_sids | Simo Sorce | 1 | -1/+1 | |
We use s_i->ptok->num_sids everywhere else in this call and then suddenly we reference s_i->num_sids | |||||
2010-05-28 | s3:smbd move messaging_context and memcache into globals.c | Andrew Bartlett | 2 | -26/+27 | |
This helps vfstest, which previously had duplicate copies of these functions. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3:smbd split reload services/printers functions from server.c | Andrew Bartlett | 2 | -82/+109 | |
This helps vfstest, as it previously had duplicate copies of these functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.c | Andrew Bartlett | 2 | -146/+173 | |
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-28 | s3-auth: Added a function to get the server_info from the system user. | Andreas Schneider | 1 | -0/+5 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-28 | s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation. | Günther Deschner | 1 | -16/+16 | |
54 + 4 = 58 (and not 60). Found by torture test. Guenther | |||||
2010-05-28 | s3:auth Free sampass as soon as we have server_info | Simo Sorce | 2 | -0/+2 | |
We don't keep sampass in server_info anymore So it makes no sense to keep it around. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-28 | s3:auth use info3 in auth_serversupplied_info | Simo Sorce | 7 | -25/+25 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-27 | s3: Fix a bad memleak in the async echo responder | Volker Lendecke | 1 | -1/+1 | |
2010-05-27 | s3: Remove an unused variable | Volker Lendecke | 1 | -1/+0 | |
2010-05-27 | s3-lanman: use samr for api_RNetUserGetInfo. | Günther Deschner | 1 | -27/+130 | |
Following MS-RAP 3.2.5.13 NetUserGetInfo Command. Guenther | |||||
2010-05-27 | s3:rpc_server: pass down local and remote tsocket_address to np_open() | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2010-05-27 | s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipes | Stefan Metzmacher | 1 | -0/+11 | |
metze | |||||
2010-05-26 | s3-lanman: remove defines now provided by IDL. | Günther Deschner | 1 | -10/+0 | |
Guenther | |||||
2010-05-26 | s3-samr: move chgpasswd.c out of smbd and into the samr server. | Günther Deschner | 1 | -1122/+0 | |
Guenther | |||||
2010-05-26 | s3-smbd: remove unused change/check_lanman_password. | Günther Deschner | 1 | -203/+59 | |
Guenther | |||||
2010-05-26 | s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword(). | Günther Deschner | 1 | -3/+25 | |
Guenther | |||||
2010-05-26 | s3-lanman: use samr for api_SetUserPassword(). | Günther Deschner | 1 | -38/+123 | |
Guenther | |||||
2010-05-26 | s3-lanman: Migrated to rpc_connect_spoolss_pipe(). | Simo Sorce | 1 | -28/+9 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-25 | Standardize debug messages for read and write. | Jeremy Allison | 2 | -3/+11 | |
Jeremy. | |||||
2010-05-21 | If using fake oplocks, use the correct SMB2 type code for "no oplock". | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2010-05-21 | Don't forget brackets around bitwise tests. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. |