summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:dcesrv_netr_LogonGetDomainInfo - improve the client OS informations updateMatthias Dieter Wallnöfer2010-07-311-19/+8
| | | | | As ekacnet pointed out on the mailing list we don't need to do a delete if we (re)set the values afterwards - only if we don't set any new ones.
* s4:blackbox/newuser: use test specific user namesStefan Metzmacher2010-07-311-10/+10
| | | | | | | | As this test doesn't delete the user accounts at the end, we should use test specific user names. That lowers the chance of conflicts with other tests. metze
* s4:selftest: skip samba4.blackbox.ktpass for now as it's not portableStefan Metzmacher2010-07-311-0/+3
| | | | | | | | ktutil might not be installed or from MIT. We should build a samba4ktutil and use that instead, until then we need to skip this test. metze
* s4:blackblock/ktpass: use test specific user nameStefan Metzmacher2010-07-311-7/+6
| | | | metze
* s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in()Stefan Metzmacher2010-07-311-0/+16
| | | | metze
* s3-printing: remove unused get_local_printer_publishing_data() call.Günther Deschner2010-07-311-14/+0
| | | | Guenther
* s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2010-07-3117-10/+20
| | | | | | This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
* cleanups: Trailing spaces, line length, etc...Simo Sorce2010-07-301-111/+163
|
* s3-dcerpc: Use dcerpc_guess_sizes in the server code too.Simo Sorce2010-07-301-95/+38
|
* s3-dceprc: Improve dcerpc_guess_sizes() interfaceSimo Sorce2010-07-303-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.
* s3-dcerpc: rationalize packet creation in the server codeSimo Sorce2010-07-302-86/+86
| | | | | Move all related functions into create_next_packet, but make it transport neutral (not pass in pipse_struct)
* s3-dcerpc: Make function to guess pdu sizes common.Simo Sorce2010-07-303-112/+130
|
* s3-dceprc: consolidate use of dcerpc_push_dcerpc_auth()Simo Sorce2010-07-301-76/+31
|
* s3-dcerpc: Remove unused functionsSimo Sorce2010-07-301-166/+0
|
* s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSPSimo Sorce2010-07-305-162/+321
|
* s3-dcerpc: add sign/seal support when using SPNEGO/KRB5Simo Sorce2010-07-304-87/+235
|
* s3-dcerpc: Add SPNEGO incapsulation for KRB5 authSimo Sorce2010-07-307-31/+454
|
* rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for ntlmsspSimo Sorce2010-07-301-0/+6
|
* s3: Remove "cli" from "struct finfo"Volker Lendecke2010-07-305-22/+31
|
* s4-smbtorture: remove ifdefed symlink test, this is already skipped internallyGünther Deschner2010-07-301-2/+0
| | | | | | in the s3 case. Guenther
* Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."Günther Deschner2010-07-301-4/+0
| | | | This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
* We should be using the winbindd separator in this case, not hardcoding a \\ ↵Jeremy Allison2010-07-291-1/+3
| | | | | | value. Jeremy.
* s3: Do the ftruncate write cache optimization in one placeVolker Lendecke2010-07-291-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.
* Revert "s3: Avoid pwrite calls for the 1-byte writes with zero content"Volker Lendecke2010-07-291-50/+4
| | | | This reverts commit 6763730304627a58139450fd3e03a0ce48e31bb9.
* s3: Avoid an unnecessary ftruncate callVolker Lendecke2010-07-291-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.
* Fix bug #7589 - ntlm_auth fails to use cached credentials.Jeremy Allison2010-07-291-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.
* s3-spoolss: Increased debug level for trace output.Andreas Schneider2010-07-291-1/+2
|
* s3-spoolss: Fixed debug statements and increased level.Andreas Schneider2010-07-291-4/+4
|
* Fix tdb_check() to work with read-only tdb databases. The function ↵Jeremy Allison2010-07-291-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.
* s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki2010-07-291-17/+49
| | | | | | It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
* s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki2010-07-291-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)
* s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki2010-07-291-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
* s4-ldb: use TALLOC_CTX type instead of 'void'Kamen Mazdrashki2010-07-299-49/+49
|
* s3-dcerpc: Try to fix build when gssapi_ext.h is not availableSimo Sorce2010-07-281-43/+39
|
* Do not refernece pipe_auth_data directly in dcerpc_gssapi.cSimo Sorce2010-07-283-45/+55
|
* s3-dcerpc: Avoid ifdef, it is handled within dcerpc_gssapi.c alreadySimo Sorce2010-07-281-7/+2
|
* s3: Fix cli_qpathinfo2Volker Lendecke2010-07-281-1/+1
| | | | Does not fix the DIR_CREATETIME test, but it is definitely an error.
* smbd: Fix build warningSimo Sorce2010-07-281-1/+1
|
* s3-dcerpc: Add sign/seal with gssapiSimo Sorce2010-07-285-7/+332
|
* s3-dcerpc: Add next authentication step with gssapiSimo Sorce2010-07-283-6/+102
|
* s3-decrpc: Introduce gssapi support for dcerpc krb5 authSimo Sorce2010-07-285-129/+487
|
* rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for krb5 authSimo Sorce2010-07-281-0/+6
|
* s3-dcerpc: Refactor calculate_data_len_tosend()Simo Sorce2010-07-281-25/+31
|
* s3-dcerpc: Add auth trailer only when appropriate.Simo Sorce2010-07-281-4/+16
|
* s3-dcerpc: consolidate unmarshalling of dcerpc_authSimo Sorce2010-07-281-72/+72
|
* s3-dcerpc: revive cli_rpc_pipe_open_krb5()Simo Sorce2010-07-283-1/+12
|
* misc: Remove unused structure elementsSimo Sorce2010-07-281-6/+0
|
* s3-rpcclient: Allow choosing spnego mech: (ntlm/krb5)Simo Sorce2010-07-281-3/+10
|
* s3-dcerpc: Use dcerpc_AuthType in pipe_auth_dataSimo Sorce2010-07-2811-215/+262
|
* s3-dcerpc: Cleanup and refactor create_rpc_bind_req()Simo Sorce2010-07-281-34/+40
|