summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-29Fix tdb_check() to work with read-only tdb databases. The function ↵Jeremy Allison1-3/+3
tdb_lockall() uses F_WRLCK internally, which doesn't work on a fd opened with O_RDONLY. Use tdb_lockall_read() instead. Jeremy.
2010-07-29s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki1-17/+49
It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
2010-07-29s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki1-4/+33
In case differences in messages are: 1. Attributes with different values, i.e. 'replace' 2. Those attributes are back-link attributes then we just warn about those differences. It turns out windows doesn't send all values for back-link attributes in replicated_object but in linked_attributes. I consider this as workaround for the problem. A better solution might be to merge linked_attribute values into replacted_objects before comparing those with LDB result (although this will work for Win2k8 and latter)
2010-07-29s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki1-79/+12
we have already opened. Added 'config_dn' and 'schema_dn' members which are to be used later for extending the test_FetchData() to be executed against every partition in case partition is not specified explicitly. DsSyncText.site_name was removed also as it is not used anymore
2010-07-29s4-ldb: use TALLOC_CTX type instead of 'void'Kamen Mazdrashki9-49/+49
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
2010-07-28s3-winbind: Use struct pipes_struct.Andreas Schneider2-25/+28
2010-07-28s3-uid: Use struct pipes_struct.Andreas Schneider1-1/+1
2010-07-28s3-wkssvc: Use struct pipes_struct.Andreas Schneider1-31/+60
2010-07-28s3-winreg: Use struct pipes_struct.Andreas Schneider1-42/+78
2010-07-28s3-svcctl: Use struct pipes_struct.Andreas Schneider1-47/+79
2010-07-28s3-srvsvc: Use struct pipes_struct.Andreas Schneider1-68/+121
2010-07-28s3-spoolss: Use struct pipes_struct.Andreas Schneider1-123/+127