summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Lift the smbd_messaging_context from smbd_sig_hup_handlerVolker Lendecke2010-08-081-2/+4
|
* s3: Lift the smbd_messaging_context from reload_servicesVolker Lendecke2010-08-087-17/+17
|
* s3: Lift the smbd_messaging_context from reload_printersVolker Lendecke2010-08-082-7/+7
|
* s3: Lift the smbd_messaging_context from is_printer_publishedVolker Lendecke2010-08-081-0/+1
|
* s3: Lift the smbd_messaging_context from nt_printer_publishVolker Lendecke2010-08-081-1/+3
|
* s3: Lift the smbd_messaging_context from nt_printer_removeVolker Lendecke2010-08-081-1/+2
|
* s3: Lift the smbd_messaging_context from nt_printing_tdb_migrateVolker Lendecke2010-08-081-1/+1
|
* s3: Lift the smbd_messaging_context from rpc_pipe_open_internalVolker Lendecke2010-08-081-3/+8
|
* s3: Lift the smbd_messaging_context from np_openVolker Lendecke2010-08-081-1/+3
|
* s3: Remove a direct reference to smbd_server_connVolker Lendecke2010-08-081-1/+1
|
* s3:smbd: fix valgrind warning, sizeof(16) != 16...Stefan Metzmacher2010-08-081-1/+1
| | | | metze
* s3: Remove some references to smbd_messaging_context()Volker Lendecke2010-08-071-5/+6
|
* s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()Volker Lendecke2010-08-072-3/+5
|
* s3: Remove a pointless "else"Volker Lendecke2010-08-071-1/+3
|
* s3-netlogon: remove global include of netlogon.h.Günther Deschner2010-08-063-0/+3
| | | | | | | This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
* s3-krb5: include krb5pac.h where needed.Günther Deschner2010-08-062-0/+2
| | | | Guenther
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3: avoid global include of ads.h.Günther Deschner2010-08-052-0/+2
| | | | Guenther
* s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2010-07-312-0/+2
| | | | | | This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
* 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.
* smbd: Fix build warningSimo Sorce2010-07-281-1/+1
|
* s3-uid: Use struct pipes_struct.Andreas Schneider2010-07-281-1/+1
|
* s3-printing: Added automatic migration of printing tdbs.Andreas Schneider2010-07-271-2/+26
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-smbd: Convert reply_printqueue to use spoolss.Simo Sorce2010-07-271-22/+91
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-smbd: Use the right check to test if we can print.Simo Sorce2010-07-271-1/+1
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Moved printing.c headers to include/printing.h.Simo Sorce2010-07-271-0/+1
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce2010-07-275-20/+18
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce2010-07-271-1/+1
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Converted printer publishing functions.Simo Sorce2010-07-271-3/+24
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3: use dump_data in query FILE_BASIC_UNIX_INFOVolker Lendecke2010-07-251-8/+3
| | | | | Jeremy, please check! To me this is a lot more readable than the decimal listing of the bytes.
* Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵Jeremy Allison2010-07-203-27/+22
| | | | | | contexts. Jeremy.
* Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵Jeremy Allison2010-07-201-2/+2
| | | | | | context tallocs. Jeremy.
* Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduceJeremy Allison2010-07-203-16/+20
| | | | | | use of malloc, and data_blob(). Jeremy.
* Fix warning - no return value for a non-void fn.Jeremy Allison2010-07-201-0/+1
| | | | Jeremy.
* s3-auth: Move auth_ntlmssp wrappers in their own fileSimo Sorce2010-07-203-0/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-auth: Refactor and rename auth_ntlmssp_server_info()Simo Sorce2010-07-202-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>
* Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().Jeremy Allison2010-07-191-3/+3
| | | | | | | We now have one function to do this in all calling code. More rationalization to follow. Jeremy.
* Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() andJeremy Allison2010-07-193-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.
* Remove parse_negTokenTarg(), as it's actually incorrect. We're processingJeremy Allison2010-07-191-1/+1
| | | | | | negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy.
* s3: Avoid pwrite calls for the 1-byte writes with zero contentVolker Lendecke2010-07-191-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!
* s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contextsSimo Sorce2010-07-194-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>
* s3-auth: Simplify how we free the auth_contextSimo Sorce2010-07-193-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>
* 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
* Make the "map to guest" parameter work correctly with NTLMSSP (spnegoJeremy Allison2010-07-162-10/+34
| | | | | | | and raw) under SMB2. Still need to investigate fixing this with krb5 auth (does this make sense ?). Jeremy.
* s3: Fix crashes in the printing codeVolker Lendecke2010-07-151-0/+3
| | | | | create_conn_struct did not create the conn->sconn!=NULL assumption we now depend on. Thanks to Andreas Schneider for testing!
* s3:auth Change auth_ntlmssp_server_info API to return NTSTATUSAndrew Bartlett2010-07-142-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>
* s3:smbd Give the kerberos session key a parentAndrew Bartlett2010-07-141-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>