summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Work better without the aio sighandlerVolker Lendecke2010-07-181-7/+22
| | | | Refuse async I/O if we can't set up the signal handler
* s3: Fix some nonempty blank linesVolker Lendecke2010-07-181-6/+4
|
* s3: Remove a direct use of procid_self()Volker Lendecke2010-07-181-3/+5
|
* s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().Andreas Schneider2010-07-181-4/+23
| | | | | | This fixes the WINBIND-WBCLIENT test. The test set old_lm_hash_enc_blob.length to 0 and we don't check the length here. So the memcpy segfaulted.
* s3-waf: Fixed the build.Andreas Schneider2010-07-181-2/+4
|
* s3: Don't use as-neededVolker Lendecke2010-07-181-33/+0
| | | | | | This is just broken. RHEL5 can't deal with it, FreeBSD8 is broken with it, and who knows what other platforms are broken. I can rather live with a system that links in a bit too much than a system that does not work at all.
* s3-dcerpc: Fix build and remove unneeded headersSimo Sorce2010-07-171-3/+0
| | | | Sorry, botched a rebase.
* s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.cSimo Sorce2010-07-173-463/+492
|
* s3-dcerpc: Move common cli/srv functions into a common fileSimo Sorce2010-07-173-216/+243
|
* s3: Really fix the 64-bit warningsVolker Lendecke2010-07-171-1/+1
| | | | Hmm. Forgot to git commit this piece, sorry :-(
* s3: Fix some 64-bit warningsVolker Lendecke2010-07-171-1/+3
|
* s3: Right now we do not have includes in Makefile.inVolker Lendecke2010-07-171-11/+1
| | | | Skip the expansion step on non-GNU-make systems
* s3-build: add LIBNDR_XATTR_OBJ.Günther Deschner2010-07-172-4/+8
| | | | Guenther
* s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL.Günther Deschner2010-07-163-5/+3
| | | | Guenther
* s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce2010-07-166-28/+57
|
* Make the "map to guest" parameter work correctly with NTLMSSP (spnegoJeremy Allison2010-07-163-10/+38
| | | | | | | and raw) under SMB2. Still need to investigate fixing this with krb5 auth (does this make sense ?). Jeremy.
* s3-registry: use some prs macros to the only place where they are used.Günther Deschner2010-07-162-4/+6
| | | | Guenther
* s3-waf: fix the build.Günther Deschner2010-07-161-4/+4
| | | | Guenther
* s3-dcerpc: fix c++ warning.Günther Deschner2010-07-161-1/+1
| | | | Guenther
* Move the remnants of rpc_parse code under registry/Simo Sorce2010-07-1610-94/+125
| | | | | | | | The registry code is the only last user of this code. Move everything under registry/ and hope someone will get rid od it completely from there in the future. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-parse_prs: Remove unuesd functionsSimo Sorce2010-07-162-59/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use a local function to dump pdu regionsSimo Sorce2010-07-162-6/+49
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-misc: Move smb_io_time() to regfio.cSimo Sorce2010-07-164-64/+33
| | | | | | | | This is the last file using this function and we do not want anyone else to keep using hand marshalled stuff anyway. So make it also private to that file. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use DATA_BLOB for pipes_struct input dataSimo Sorce2010-07-166-86/+29
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use DATA_BLOB instead of prs_struct for req_dataSimo Sorce2010-07-163-19/+11
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use DATA_BLOB instead of prs_struct for rpc_outSimo Sorce2010-07-161-122/+108
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Avoid unnecessary memory allocation for dcerpc_ctx_listSimo Sorce2010-07-161-35/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use DATA_BLOB instead of prs_struct for reply_pduSimo Sorce2010-07-163-86/+75
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Use DATA_BLOB instead of prs_struct for incoming fragmentsSimo Sorce2010-07-161-169/+84
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Read a pdu in 2 steps, header first the payloadSimo Sorce2010-07-161-18/+8
| | | | | | | | We can't really cope with receiving more data than expected anyway as there is code that checks if the size of the buffer is consistent with pkt->frag_length and throws an error if not. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dceprc: Use IDL defined constants for length calculationsSimo Sorce2010-07-163-51/+47
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Reformat and cleanupSimo Sorce2010-07-161-75/+75
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Move common helpers into a common fileSimo Sorce2010-07-165-165/+241
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Padding is never done on a DCERPC_PKT_BIND_ACK packet.Simo Sorce2010-07-161-24/+2
| | | | | | | Empirically verified against Windows. It never pads the auth credentials on this packet type. Signed-off-by: Günther Deschner <gd@samba.org>
* dcerpc: remove ncacn_packet_header and related functionsSimo Sorce2010-07-162-68/+0
| | | | | | ncacn_packet_header was an artifact and it is not necessary anymore Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Refactor code and stop using ncacn_packet_headerSimo Sorce2010-07-161-202/+164
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: consolidate respones packet creation codeSimo Sorce2010-07-164-452/+236
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOBSimo Sorce2010-07-163-210/+134
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOBSimo Sorce2010-07-167-63/+45
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused functions and headersSimo Sorce2010-07-165-175/+6
| | | | | | parse_rpc.c is dead, long live parse_rpc.c ! Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Stop using hand marshalling in create_next_pdu_noauth()Simo Sorce2010-07-161-24/+14
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Stop using hand marshalling in create_next_pdu_schannel()Simo Sorce2010-07-161-87/+81
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Stop using hand marshalling in create_next_pdu_ntlmssp()Simo Sorce2010-07-161-38/+38
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Stop using hand marshalling in rpc_finish_auth3_bind_send()Simo Sorce2010-07-161-15/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Do not parse the packet twice.Simo Sorce2010-07-161-17/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Remove unused functionSimo Sorce2010-07-161-36/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Do not reparse the headerSimo Sorce2010-07-161-26/+15
| | | | | | Instead pass back and use the packet we have already parsed. Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Pull the whole packet at once instead of fetching just the headerSimo Sorce2010-07-161-57/+68
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-dcerpc: Delay parsing rpc header in client codeSimo Sorce2010-07-161-19/+21
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Fix bug - 7551 smbclient does not return proper exit code.Jeremy Allison2010-07-151-0/+1
| | | | | | Catch error in cli_push. Jeremy.