summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-07-30s3-dcerpc: Use dcerpc_guess_sizes in the server code too.Simo Sorce1-95/+38
2010-07-30s3-dceprc: Improve dcerpc_guess_sizes() interfaceSimo Sorce3-20/+30
Make it possible to pass in the NDR padding size so that theoretically client and server code can decide to use a different alignment. Pass in the header length as a parameter so that this function can be used for different type of packets. Make sure padding size will not make the fragment exceed the maximum length. Calculate padding taking in account the header length.
2010-07-30s3-dcerpc: rationalize packet creation in the server codeSimo Sorce2-86/+86
Move all related functions into create_next_packet, but make it transport neutral (not pass in pipse_struct)
2010-07-30s3-dcerpc: Make function to guess pdu sizes common.Simo Sorce3-112/+130
2010-07-30s3-dceprc: consolidate use of dcerpc_push_dcerpc_auth()Simo Sorce1-76/+31
2010-07-30s3-dcerpc: Remove unused functionsSimo Sorce1-166/+0
2010-07-30s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSPSimo Sorce5-162/+321
2010-07-30s3-dcerpc: add sign/seal support when using SPNEGO/KRB5Simo Sorce4-87/+235
2010-07-30s3-dcerpc: Add SPNEGO incapsulation for KRB5 authSimo Sorce7-31/+454
2010-07-30rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for ntlmsspSimo Sorce1-0/+6
2010-07-30s3: Remove "cli" from "struct finfo"Volker Lendecke5-22/+31
2010-07-29We should be using the winbindd separator in this case, not hardcoding a \\ ↵Jeremy Allison1-1/+3
value. Jeremy.
2010-07-29s3: Do the ftruncate write cache optimization in one placeVolker Lendecke1-0/+31
Instead of hand-tuning all the cases that are below this piece of code, this is a general case that we can catch upfront.
2010-07-29Revert "s3: Avoid pwrite calls for the 1-byte writes with zero content"Volker Lendecke1-50/+4
This reverts commit 6763730304627a58139450fd3e03a0ce48e31bb9.
2010-07-29s3: Avoid an unnecessary ftruncate callVolker Lendecke1-1/+1
If we just created the file, it has length 0 by definition. This is still done while holding the share mode lock, so no race around wrt other cifs clients.
2010-07-29Fix bug #7589 - ntlm_auth fails to use cached credentials.Jeremy Allison1-7/+5
In handling the WINBINDD_PAM_AUTH message winbindd canonicalizes a *copy* of the mapped username, but fails to canonicalize the actual username sent to the backend domain process. When "winbind default domain" is set this can lead to credentials being cached with an index of user: user, not DOMAIN\user. All other code paths that use canonicalize_username() (WINBINDD_PAM_CHAUTHTOK, WINBINDD_PAM_LOGOFF) correctly canonicalize the data sent to the backend. All calls the can cause credentials to be looked up (PAM_CHAUTHTOK etc.) correctly call canonicalize_username() to create the credential lookup key. Jeremy.
2010-07-29s3-spoolss: Increased debug level for trace output.Andreas Schneider1-1/+2
2010-07-29s3-spoolss: Fixed debug statements and increased level.Andreas Schneider1-4/+4
2010-07-28s3-dcerpc: Try to fix build when gssapi_ext.h is not availableSimo Sorce1-43/+39
2010-07-28Do not refernece pipe_auth_data directly in dcerpc_gssapi.cSimo Sorce3-45/+55
2010-07-28s3-dcerpc: Avoid ifdef, it is handled within dcerpc_gssapi.c alreadySimo Sorce1-7/+2
2010-07-28s3: Fix cli_qpathinfo2Volker Lendecke1-1/+1
Does not fix the DIR_CREATETIME test, but it is definitely an error.
2010-07-28smbd: Fix build warningSimo Sorce1-1/+1
2010-07-28s3-dcerpc: Add sign/seal with gssapiSimo Sorce5-7/+332
2010-07-28s3-dcerpc: Add next authentication step with gssapiSimo Sorce3-6/+102
2010-07-28s3-decrpc: Introduce gssapi support for dcerpc krb5 authSimo Sorce5-129/+487
2010-07-28rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for krb5 authSimo Sorce1-0/+6
2010-07-28s3-dcerpc: Refactor calculate_data_len_tosend()Simo Sorce1-25/+31
2010-07-28s3-dcerpc: Add auth trailer only when appropriate.Simo Sorce1-4/+16
2010-07-28s3-dcerpc: consolidate unmarshalling of dcerpc_authSimo Sorce1-72/+72
2010-07-28s3-dcerpc: revive cli_rpc_pipe_open_krb5()Simo Sorce3-1/+12
2010-07-28misc: Remove unused structure elementsSimo Sorce1-6/+0
2010-07-28s3-rpcclient: Allow choosing spnego mech: (ntlm/krb5)Simo Sorce1-3/+10
2010-07-28s3-dcerpc: Use dcerpc_AuthType in pipe_auth_dataSimo Sorce11-215/+262
2010-07-28s3-dcerpc: Cleanup and refactor create_rpc_bind_req()Simo Sorce1-34/+40
2010-07-28s3-auth: Remove unimplemented functionsSimo Sorce2-12/+0
2010-07-28s3-dcerpc: Set flags directly instead of calling unimplemented functions.Simo Sorce1-4/+19
2010-07-28s3-dcerpc: Use dcerpc_check_auth in client code tooSimo Sorce1-343/+18
2010-07-28s3-dcerpc: Make dcerpc_check_auth() common codeSimo Sorce3-160/+178
2010-07-28s3-dcerpc: Add the same paranoia checks we have in the client codeSimo Sorce1-0/+12
2010-07-28s3-dcerpc: Split auth checking into a generic function.Simo Sorce1-26/+55
2010-07-28s3-dcerpc do not pass pipes_struct to dcesrv_auth_request()Simo Sorce1-26/+28
2010-07-28s3-dcerpc: Make dcesrv_auth_request() return NTSTATUS codesSimo Sorce1-18/+24
2010-07-28s3-dcerpc: Use the common dcerpc_add_auth_footer() in the server codeSimo Sorce1-192/+37
2010-07-28s3-dcerpc: Move dcerpc_add_auth_footer() to the common helpers fileSimo Sorce3-203/+218
2010-07-28s3-dcerpc: Introduce generic helper function to add auth trailerSimo Sorce1-66/+78
2010-07-28s3-dcerpc: Pass explicit arguments so that this is not client specificSimo Sorce1-12/+13
2010-07-28s3-dcerpc: Move marshalling of dcerpc_auth_header in the callersSimo Sorce1-48/+50
2010-07-28s3-rpc: Use struct pipes_struct.Andreas Schneider1-1/+1
2010-07-28s3-include: Use struct pipes struct and get rid of the typedef.Andreas Schneider2-19/+19