Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-08 | s3: Remove a direct reference to smbd_server_conn | Volker Lendecke | 1 | -1/+1 | |
2010-08-08 | s3:smbd: fix valgrind warning, sizeof(16) != 16... | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-08-07 | s3: Remove some references to smbd_messaging_context() | Volker Lendecke | 1 | -5/+6 | |
2010-08-07 | s3: Remove smbd_messaging_context() from send_stat_cache_delete_message() | Volker Lendecke | 2 | -3/+5 | |
2010-08-07 | s3: Remove a pointless "else" | Volker Lendecke | 1 | -1/+3 | |
2010-08-06 | s3-netlogon: remove global include of netlogon.h. | Günther Deschner | 3 | -0/+3 | |
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther | |||||
2010-08-06 | s3-krb5: include krb5pac.h where needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2010-08-05 | s3-popt: Only include popt-common.h when needed. | Andreas Schneider | 1 | -0/+1 | |
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-05 | s3: avoid global include of ads.h. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2010-07-31 | s3-build: avoid to globally include printing and spoolss headers. | Günther Deschner | 2 | -0/+2 | |
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther | |||||
2010-07-29 | s3: Do the ftruncate write cache optimization in one place | Volker Lendecke | 1 | -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-29 | Revert "s3: Avoid pwrite calls for the 1-byte writes with zero content" | Volker Lendecke | 1 | -50/+4 | |
This reverts commit 6763730304627a58139450fd3e03a0ce48e31bb9. | |||||
2010-07-29 | s3: Avoid an unnecessary ftruncate call | Volker Lendecke | 1 | -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-28 | smbd: Fix build warning | Simo Sorce | 1 | -1/+1 | |
2010-07-28 | s3-uid: Use struct pipes_struct. | Andreas Schneider | 1 | -1/+1 | |
2010-07-27 | s3-printing: Added automatic migration of printing tdbs. | Andreas Schneider | 1 | -2/+26 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-smbd: Convert reply_printqueue to use spoolss. | Simo Sorce | 1 | -22/+91 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-smbd: Use the right check to test if we can print. | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-printing: Moved printing.c headers to include/printing.h. | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-smbd: Migrated to new spoolss functions for printing. | Simo Sorce | 5 | -20/+18 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-spoolss: Use winreg_delete_printer_key to delete printers. | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-printing: Converted printer publishing functions. | Simo Sorce | 1 | -3/+24 | |
Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-25 | s3: use dump_data in query FILE_BASIC_UNIX_INFO | Volker Lendecke | 1 | -8/+3 | |
Jeremy, please check! To me this is a lot more readable than the decimal listing of the bytes. | |||||
2010-07-20 | Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵ | Jeremy Allison | 3 | -27/+22 | |
contexts. Jeremy. | |||||
2010-07-20 | Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵ | Jeremy Allison | 1 | -2/+2 | |
context tallocs. Jeremy. | |||||
2010-07-20 | Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduce | Jeremy Allison | 3 | -16/+20 | |
use of malloc, and data_blob(). Jeremy. | |||||
2010-07-20 | Fix warning - no return value for a non-void fn. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2010-07-20 | s3-auth: Move auth_ntlmssp wrappers in their own file | Simo Sorce | 3 | -0/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-20 | s3-auth: Refactor and rename auth_ntlmssp_server_info() | Simo Sorce | 2 | -2/+3 | |
Rename it to auth_ntlmssp_steal_server_info() to make it clear that the server_info struct is stolen from the auth_ntlmssp_state structure. Use talloc_move instead of manual steal&clear Add comments to explain what is going on. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit(). | Jeremy Allison | 1 | -3/+3 | |
We now have one function to do this in all calling code. More rationalization to follow. Jeremy. | |||||
2010-07-19 | Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() and | Jeremy Allison | 3 | -26/+34 | |
into negprot_spnego() where it belongs (it's not an SPNEGO operation). Add a TALLOC_CTX for callers of negprot_spnego(). Closer to unifying all the gen_negTokenXXX calls. Jeremy. | |||||
2010-07-19 | Remove parse_negTokenTarg(), as it's actually incorrect. We're processing | Jeremy Allison | 1 | -1/+1 | |
negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy. | |||||
2010-07-19 | s3: Avoid pwrite calls for the 1-byte writes with zero content | Volker Lendecke | 1 | -4/+50 | |
When a write cache is empty and we write one 0, there is no point in actually writing into the write cache, which would trigger a potentially superfluous write cache flush. We can rely on posix semantics to give us 0's when subsequent read calls want to read from file areas not written yet. Jeremy, please check! | |||||
2010-07-19 | s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts | Simo Sorce | 4 | -13/+13 | |
Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state. Remote auth_ntlmssp_end and use TALLOC_FREE in the callers. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: Simplify how we free the auth_context | Simo Sorce | 3 | -8/+5 | |
Turn the freeing function into a destructor and attach it to the auth_context. Make all callers TALLOC_FREE() the auth_context instead of calling the free function. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-18 | s3: Work better without the aio sighandler | Volker Lendecke | 1 | -7/+22 | |
Refuse async I/O if we can't set up the signal handler | |||||
2010-07-16 | Make the "map to guest" parameter work correctly with NTLMSSP (spnego | Jeremy Allison | 2 | -10/+34 | |
and raw) under SMB2. Still need to investigate fixing this with krb5 auth (does this make sense ?). Jeremy. | |||||
2010-07-15 | s3: Fix crashes in the printing code | Volker Lendecke | 1 | -0/+3 | |
create_conn_struct did not create the conn->sconn!=NULL assumption we now depend on. Thanks to Andreas Schneider for testing! | |||||
2010-07-14 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 2 | -4/+5 | |
This fixes a bug where register_existing_vuid() could be called with a NULL server_info if the alloction failed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3:smbd Give the kerberos session key a parent | Andrew Bartlett | 1 | -0/+2 | |
Nothing will free this, so this prevents a memory leak. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3:smbd Fix segfault if register_existing_vuid() fails | Andrew Bartlett | 1 | -4/+12 | |
The register_existing_vuid() call will handle both the ntlmssp_end and vuid invalidation internally, so we don't want to do it again. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-13 | Revert "Remove the global char *LastDir." | Jeremy Allison | 3 | -1/+22 | |
Volker pointed out I'd missed the "last directory" cache part of this code. Return us to caching the directory we're in (reduces sys call load). Mea maxima culpa. Jeremy. This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871. | |||||
2010-07-09 | s3: Cleanup of the initial SMB2 counters patch. | Ira Cooper | 1 | -89/+191 | |
This reorganizes smbd_smb2_request_dispatch to have a central exit point, and use the normal profiling macros. Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-07-09 | s3: Optimize the write cache for sequential writes | Volker Lendecke | 1 | -0/+20 | |
In case of the one-byte allocating writes we don't work work optimally because we start the write cache at the current offset. This patch tries to avoid this case. | |||||
2010-07-08 | s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR. | Günther Deschner | 1 | -8/+8 | |
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther | |||||
2010-07-07 | s3: Add SMB2 performance counters. | Ira Cooper | 1 | -19/+58 | |
A performance counter was added for every base type of SMB2 op. | |||||
2010-07-07 | s3-notify: use autogenerated FILE_NOTIFY_INFORMATION marshalling in smbd. | Günther Deschner | 1 | -52/+29 | |
Guenther | |||||
2010-07-06 | s3:smbd: Align change notify replies on 4-byte boundary | Chere Zhou | 1 | -0/+10 | |
MS-CIFS section 2.2.7.4.2 states this is mandatory. WinXP clients don't seem to care, but a Win7 client will send an immediate Close() to the directory handle when receiving an incorrectly aligned change notify response. | |||||
2010-07-05 | s3: Remove procid_self() from cancel_pending_lock_requests_by_fid_smb2() | Volker Lendecke | 1 | -1/+1 | |