summaryrefslogtreecommitdiffstats
path: root/source3/smbd/pipes.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-rpc_server: Migrate rpc function to tsocket_address.Andreas Schneider2011-07-041-1/+0
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett2011-05-311-3/+3
| | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
* Fix many const compiler warnings.Jeremy Allison2011-05-051-2/+2
|
* s3-proto: move more rpc_server prototypes out of proto.hGünther Deschner2011-05-021-0/+1
| | | | Guenther
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett2011-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3: Make srv_send_smb take an sconn instead of a sock fdVolker Lendecke2010-08-241-1/+1
|
* s3: Add "client_id" to pipes_structVolker Lendecke2010-08-181-0/+1
|
* s3: Remove smbd_server_fd from pipe_write_doneVolker Lendecke2010-08-161-1/+1
|
* s3: Lift the smbd_messaging_context from np_openVolker Lendecke2010-08-081-1/+3
|
* s3:rpc_server: pass down local and remote tsocket_address to np_open()Stefan Metzmacher2010-05-271-1/+4
| | | | metze
* s3:smbd: make fsp->fake_file_handle a talloc child of fspStefan Metzmacher2010-04-281-1/+1
| | | | metze
* s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in ↵Stefan Metzmacher2010-04-281-1/+15
| | | | | | pipe_read_andx_done() metze
* Fix bug #7020 - smbd using 2G memory.Jeremy Allison2010-01-051-0/+10
| | | | | | | | When deferring an async pipe writeX and readX transfer the outstanding request struct onto the conn struct. This needs freeing after the packet is finally processed. Jeremy.
* Remove all calls to reply_doserror - turn them intoJeremy Allison2009-12-211-7/+7
| | | | | | | correct reply_nterror calls. Next rename reply_doserror -> reply_force_doserror and plumb in when NT_STATUS_DOS is used. Jeremy.
* s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2009-07-201-3/+16
|
* Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵Jeremy Allison2009-07-101-5/+18
| | | | | | a lot easier. Jeremy.
* s3:smbd: use new simplified snb_signing code in the serverStefan Metzmacher2009-03-231-0/+1
| | | | | | | | | We keep the seqnum/mid mapping in the smb_request structure. This also moves one global variable into the smbd_server_connection struct. metze
* Convert np_read to tevent_reqVolker Lendecke2009-03-171-7/+7
|
* Convert np_write to tevent_reqVolker Lendecke2009-03-171-14/+14
|
* S3: New module interface for SMB message statistics gatheringtodd stecher2009-02-091-1/+2
| | | | | | | This changelist allows for the addition of custom performance monitoring modules through smb.conf. Entrypoints in the main message processing code have been added to capture the command, subop, ioctl, identity and message size statistics.
* Make reply_pipe_read_andx asyncVolker Lendecke2009-01-311-13/+57
|
* Make reply_pipe_write asyncVolker Lendecke2009-01-311-13/+48
|
* Make reply_pipe_write_and_X asyncVolker Lendecke2009-01-311-20/+52
|
* Make-np_write-handle-0-byte-writes-as-NT_STATUS_OKVolker Lendecke2009-01-311-43/+27
|
* Remove some smb fsp knowledge from rpc_server/Volker Lendecke2009-01-201-4/+50
| | | | np_open/read/write don't have to know about files_struct
* Correctly calculate the offset for read&xVolker Lendecke2009-01-161-2/+6
|
* Replace some pointless variables in reply_open_pipe_and_X by commentsVolker Lendecke2008-12-071-12/+6
|
* Remove "conn" parameter from np_open, smb_request contains itVolker Lendecke2008-11-281-1/+1
|
* Remove a bunch of direct inbuf references by adding "vwv" to smb_requestVolker Lendecke2008-11-021-11/+10
|
* Simplify params of srvstr_pull_buf_talloc()Volker Lendecke2008-11-021-2/+1
| | | | | Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc() to srvstr_pull_req()
* Remove a bunch of direct inbuf references by adding "buf" to smb_requestVolker Lendecke2008-11-011-3/+3
|
* Move the is_known_pipename check into np_openVolker Lendecke2008-10-251-11/+5
|
* Remove unused stuffVolker Lendecke2008-10-141-12/+0
|
* Remove smb_np_structVolker Lendecke2008-10-131-26/+0
|
* Use "struct files_struct" for pipes instead of smb_np_structVolker Lendecke2008-10-131-29/+49
|
* Introduce is_known_pipenameVolker Lendecke2008-07-191-11/+1
| | | | | | This scans the list of pipes registered via rpc_pipe_register_commands instead of using static tables. (This used to be commit 283e6039989adea1c8921b3600b410cb67b6492a)
* Refactor the crypto code after a very helpful conversationJeremy Allison2008-01-041-2/+1
| | | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-261-1/+2
| | | | | | negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-2/+2
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-1/+1
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r25118: More pstring elimination.Jeremy Allison2007-10-101-5/+11
| | | | | Jeremy. (This used to be commit 7632f8fb4003657591778d2b55f546d1737859d1)
* r24702: Remove the old API pointersVolker Lendecke2007-10-101-3/+3
| | | | (This used to be commit 17df313db42199e26d7d2044f6a1d845aacd1a90)
* r24425: Convert reply_write to the new APIVolker Lendecke2007-10-101-14/+15
| | | | (This used to be commit 244965f7b67becb85774311e6ce84318d554384d)
* r24326: Fix the build for Solaris CCVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 7af4c1f547accc973f8b3ed88958bdeaf941754a)
* r24324: No reply_prep_legacy() in reply_pipe_read_and_XVolker Lendecke2007-10-101-15/+18
| | | | (This used to be commit 304843315c5457ff0288d66d31f1ddb1ef2796f4)
* r24278: Push down reply_prep_legacy in reply_write_and_XVolker Lendecke2007-10-101-19/+26
| | | | | Remove the need for reply_prep_legacy for reply_pipe_write_and_X (This used to be commit de143d5fa61aa487613dda729a43dc3d59a72899)
* r24106: Pass fnum instead of buf/offset into get_rpc_pipe_pVolker Lendecke2007-10-101-4/+4
| | | | (This used to be commit eb353412c60fc21a31530d9678505470ffbf11ce)
* r23999: Convert reply_open_and_XVolker Lendecke2007-10-101-21/+26
| | | | | This is an example of chained code that is executed in make test (This used to be commit e3a10e9ffb06f429208f8b8e8482bbfd56dace91)