Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-25 | Second part of bug #7288 - SMB job IDs in CUPS job names wrong. | Jeremy Allison | 1 | -2/+0 | |
Forgot to delete the overload of the smbjob bool. Jeremy. | |||||
2010-03-25 | Fix bug #7288 - SMB job IDs in CUPS job names wrong. | Jeremy Allison | 4 | -20/+32 | |
Based on a patch from Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>. I think this is the correct fix. It causes cups_job_submit to use print_parse_jobid(), which I've moved into printing/lpq_parse.c (to allow the link to work). It turns out the old print_parse_jobid() was *broken*, in that the pjob filename was set as an absolute path - not relative to the sharename (due to it not going through the VFS calls). This meant that the original code doing a strncmp on the first part of the filename would always fail - it starts with a "/", not the relative pathname of PRINT_SPOOL_PREFIX ("smbprn."). This fix could fix some other mysterious printing bugs - probably the ones Guenther noticed where job control fails on non-cups backends. Guenther PLEASE CHECK ! Jeremy. | |||||
2010-03-25 | Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined. | Jeremy Allison | 1 | -1/+1 | |
Ensure we don't dereference an array with an index of -1. Jeremy. | |||||
2010-03-25 | s3: vfs_smb_traffic_analyzer.c: remove warnings from developer build | Holger Hetterich | 1 | -14/+16 | |
This patch should remove all warnings coming up when compiling traffic analyzer with configure.developer. Re-activate the smb_traffic_analyzer_rmdir function by adding it's vfs_fn_pointer to vfs_smb_traffic_analyzer_fns. Copy the mode_t used in smb_traffic_analyzer_open to the corresponding data structure. | |||||
2010-03-25 | s3:passdb: avoid sid_to_gid() if the sid is "domain users" | Stefan Metzmacher | 1 | -3/+7 | |
If the call fails we would use the "domain users" sid anyway. metze | |||||
2010-03-25 | s3: Add a comment to notify_internal_parent_init, this is pretty confusing | Volker Lendecke | 1 | -0/+6 | |
2010-03-25 | s3: Add a comment to serverid_parent_init, this is pretty confusing | Volker Lendecke | 1 | -0/+6 | |
2010-03-25 | s3: Add a comment to messaging_tdb_parent_init, this is pretty confusing | Volker Lendecke | 1 | -0/+6 | |
2010-03-25 | s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdb | Volker Lendecke | 3 | -0/+25 | |
In the child, we fully re-open serverid.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | |||||
2010-03-25 | s3: Make sure our CLEAR_IF_FIRST optimization works for the notify tdbs | Volker Lendecke | 3 | -0/+32 | |
The notify tdb files are opened at tconX time, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdbs in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | |||||
2010-03-25 | s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdb | Volker Lendecke | 3 | -0/+22 | |
In the child, we fully re-open messaging.tdb, which leads to one fcntl lock for CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit. | |||||
2010-03-25 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -6/+6 | |
2010-03-25 | s3-selftest: enable RAP-RPC test against s3. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-03-25 | Fix some nonempty blank lines | Volker Lendecke | 1 | -3/+3 | |
2010-03-24 | Fix bug #7269 - Job management commands don't work for CUPS queues. | Michael Karcher | 1 | -1/+9 | |
Samba needs to retrieve pjob->sysjob from the CUPS response (as is done in the iprint backend). | |||||
2010-03-25 | s3-selftest: move printing config to global section. | Günther Deschner | 1 | -8/+9 | |
"make test" variant. Guenther | |||||
2010-03-24 | Fix bug #7233 - print fails with jobs >4GB from Win7 clients. | Jeremy Allison | 1 | -25/+53 | |
Ensure we always write at end-of-file for older write calls. Jeremy. | |||||
2010-03-24 | Fix bug #7283 - vfs_acl_tdb does not work as expected. | Jeremy Allison | 1 | -34/+14 | |
both vfs_acl_common.c and vfs_acl_tdb.c were using the connection handle, thus conflicted. Fix this. Jeremy. | |||||
2010-03-24 | Fix valgrind warning when source and dest stat are identical. | Jeremy Allison | 1 | -1/+3 | |
Jeremy. | |||||
2010-03-24 | s3:ntlmssp: use c99 types | Stefan Metzmacher | 3 | -27/+27 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: use client.netbios_name instead of workstation | Stefan Metzmacher | 5 | -11/+14 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: remove unused ntlmssp_set_workstation() | Stefan Metzmacher | 2 | -14/+0 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union | Stefan Metzmacher | 2 | -51/+63 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet() | Stefan Metzmacher | 2 | -2/+2 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet() | Stefan Metzmacher | 2 | -4/+4 | |
Only data needs to be non-const. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: use a 'bool ok' variable to make the code more readable | Stefan Metzmacher | 1 | -2/+14 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: fix some formating | Stefan Metzmacher | 1 | -58/+89 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: inline ntlmssp_weaken_keys() | Stefan Metzmacher | 2 | -71/+37 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: make send_seal_key and recv_seal_key local variables | Stefan Metzmacher | 2 | -16/+12 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: rename void *auth_context; into void *callback_private; | Stefan Metzmacher | 3 | -12/+15 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: add some consts | Stefan Metzmacher | 1 | -3/+3 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: remove unused get_global_myname() and get_domain() from ↵ | Stefan Metzmacher | 3 | -15/+0 | |
ntlmssp_state Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them | Stefan Metzmacher | 9 | -23/+82 | |
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* ↵ | Stefan Metzmacher | 3 | -3/+11 | |
fields also for the client Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_state | Stefan Metzmacher | 5 | -44/+131 | |
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_state | Stefan Metzmacher | 3 | -4/+11 | |
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: make use of C99 types in ntlmssp_sign.c | Stefan Metzmacher | 2 | -29/+28 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: use uint8_t in calc_ntlmv2_key() | Stefan Metzmacher | 1 | -4/+4 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3-testparm: Throw warning when 'workgroup' and 'netbios name' are identical. | Karolin Seeger | 1 | -0/+6 | |
Address bug #7285 (NetBIOS Namespace Clash Handling). Karolin | |||||
2010-03-24 | s3: Optimize gencache for smbd exit | Volker Lendecke | 1 | -14/+75 | |
If thousands of smbds try to gencache_stabilize at the same time because the network died, all of them might be sitting in transaction_start. Don't do the stabilize transaction if nothing has changed in gencache_notrans.tdb. Volker | |||||
2010-03-23 | s3:librpc/rpc: move prototypes to dcerpc.h | Stefan Metzmacher | 2 | -18/+18 | |
metze | |||||
2010-03-23 | s3-builtin: Add missing builtin groups. | Karolin Seeger | 2 | -0/+12 | |
Karolin | |||||
2010-03-23 | s3-builtin: Add some builtin groups. | Karolin Seeger | 2 | -1/+11 | |
Karolin | |||||
2010-03-22 | share_info.tdb could use non-canonicalized sharenames. | Jeremy Allison | 3 | -20/+150 | |
Fix this by moving canonicalization into lib/sharesec.c. Update the db version to 3. Ensures we always find share names with security descriptors attached. Jeremy. | |||||
2010-03-22 | Fix valgrind error when running under share level security. plaintext_password | Jeremy Allison | 1 | -2/+2 | |
is a data blob with a data pointer pointing to an allocation of length zero. Jeremy. | |||||
2010-03-22 | s3: Add the "ctdb locktime warn threshold" parameter | Volker Lendecke | 3 | -0/+25 | |
This is mainly a debugging aid for post-mortem analysis in case a cluster file system is slow. | |||||
2010-03-22 | s3: Implement an asynchronous echo responder process | Volker Lendecke | 1 | -19/+478 | |
This replies to echo requests when the main smbd is stuck somewhere Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-22 | s3:smbd: don't allow SMB2 if the async echo handler is active | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-03-22 | s3:smbd: disable SMB encryption when the echo handler is active | Stefan Metzmacher | 1 | -0/+10 | |
metze | |||||
2010-03-22 | s3:smbd: disallow readbraw and writebraw if the echo handler is active | Stefan Metzmacher | 1 | -0/+17 | |
metze |