Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-29 | s3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new ↵ | Stefan Metzmacher | 1 | -0/+5 | |
connection metze | |||||
2010-03-29 | s3:winbindd_cm: use rpccli_is_connected() helper function | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2010-03-29 | s3:winbindd_cm: use cli_state_is_connected() helper function | Stefan Metzmacher | 1 | -14/+4 | |
metze | |||||
2010-03-29 | s3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() ↵ | Stefan Metzmacher | 1 | -3/+12 | |
instead of 0 metze | |||||
2010-03-29 | s3:rpc_client: add set_timeout hook to rpc_cli_transport | Stefan Metzmacher | 5 | -20/+64 | |
metze | |||||
2010-03-29 | s3:rpc_client: add rpccli_is_connected() | Stefan Metzmacher | 6 | -18/+175 | |
metze | |||||
2010-03-29 | s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller | Stefan Metzmacher | 1 | -8/+17 | |
We should not rely on the backend to have a reference to the cli_state. This will make it possible for the backend to set its cli_state reference to NULL, when the transport is dead. metze | |||||
2010-03-29 | s3:rpc_transport_np: add comment about bad usage in a destructor | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-03-29 | s3:rpc_transport_np: use cli_state_is_connected() helper | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-03-29 | s3:libsmb: add cli_state_is_connected() function | Stefan Metzmacher | 2 | -0/+19 | |
metze | |||||
2010-03-29 | s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-03-29 | s3: Fix bug 7212, "getent group does not return group members" | Volker Lendecke | 1 | -0/+1 | |
2010-03-29 | s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there | Volker Lendecke | 1 | -5/+6 | |
2010-03-28 | Remove extension from format-subunit. | Jelmer Vernooij | 1 | -3/+1 | |
2010-03-28 | s3: Slightly simplify unmap_unix_group | Volker Lendecke | 1 | -4/+1 | |
2010-03-28 | s3: Remove unused bitmap_[allocate|free] | Volker Lendecke | 2 | -38/+0 | |
2010-03-28 | s3: Use bitmap_talloc in vfs_full_audit.c | Volker Lendecke | 1 | -40/+20 | |
This also simplifies the calling convention for init_bitmap() slightly | |||||
2010-03-28 | s3: Use bitmap_talloc for smb1 server tcons | Volker Lendecke | 1 | -3/+3 | |
2010-03-28 | s3: Use bitmap_talloc in init_dptrs | Volker Lendecke | 1 | -1/+2 | |
2010-03-28 | s3: Use bitmap_talloc in files.c | Volker Lendecke | 1 | -1/+2 | |
2010-03-28 | s3: Use bitmap_talloc in loadparm | Volker Lendecke | 1 | -5/+6 | |
2010-03-28 | s3: A NULL context might be perfectly valid for bitmap_talloc | Volker Lendecke | 1 | -2/+0 | |
2010-03-28 | s3: Fix a memleak in bitmap_talloc | Volker Lendecke | 1 | -0/+1 | |
2010-03-28 | s3: Use TALLOC_ZERO_ARRAY in bitmap_talloc | Volker Lendecke | 1 | -4/+1 | |
2010-03-28 | s3: Fix the memory hierarchy in bitmap_talloc | Volker Lendecke | 1 | -1/+1 | |
2010-03-28 | s3: Slightly simplify logic in conv_str_size | Volker Lendecke | 1 | -29/+33 | |
2010-03-28 | s3: Fix indentation in conv_str_size | Volker Lendecke | 1 | -2/+2 | |
2010-03-28 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -20/+19 | |
2010-03-28 | s3: Use tdb_transaction_start_nonblock in gencache_stabilize | Volker Lendecke | 1 | -1/+10 | |
This avoids the thundering herd problem when 5000 smbds exit simultaneously because the network went down. | |||||
2010-03-28 | Revert "s3: Optimize gencache for smbd exit" | Volker Lendecke | 1 | -75/+14 | |
This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283. That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it. | |||||
2010-03-28 | s3: Fix typos in a debug message in vfs_init_custom | Volker Lendecke | 1 | -1/+2 | |
2010-03-26 | Fix bug #7240 - Net usershare is not case sensitive. | Jeremy Allison | 4 | -56/+90 | |
Updates usershare files in a backwards compatible way. I don't intend to back port this fix to 3.5.x as it depends on a version upgrade in the share_info.tdb share security database. Jeremy. | |||||
2010-03-26 | s3-selftest: set "lpq cache time = 0" in server configuration. | Günther Deschner | 1 | -0/+1 | |
This fixes currently broken spoolss tests. (make test variant). Guenther | |||||
2010-03-26 | s3 ntlm_auth: Don't malloc data that will be talloc_free()d | Kai Blin | 1 | -12/+12 | |
This fixes bug #7290 Thanks to Mohan <mohann@silver-peak.com> for the bug report. | |||||
2010-03-26 | tdb: Add a non-blocking version of tdb_transaction_start | Volker Lendecke | 1 | -1/+1 | |
2010-03-26 | Revert the part of bug fix #7233 - print fails with jobs >4GB from Win7 clients. | Jeremy Allison | 1 | -22/+4 | |
Submitter reports print file corruption after 2GB when SMBwrite etc. always write at EOF. Still working on the fix. Jeremy. | |||||
2010-03-26 | s3-util_sock: Rise debug level for getpeername failed messages. | Karolin Seeger | 1 | -4/+6 | |
Don't show all getpeername failed messages in debug level 0 and 1. Karolin Signed-off-by: Volker Lendecke <vl@samba.org> | |||||
2010-03-26 | s3-smbd: Don't close stdout if we want to log to stdout. | Andreas Schneider | 4 | -6/+6 | |
2010-03-26 | s3-spoolss: return info for the correct printjob in _spoolss_GetJob(). | Günther Deschner | 1 | -4/+6 | |
Guenther | |||||
2010-03-26 | s3-printing: avoid mixing cups backend code with nt_printing code in ↵ | Günther Deschner | 3 | -26/+40 | |
cups_pull_comment_location. Guenther | |||||
2010-03-26 | s3-event: switch s3 to using tevent_re_initialise() | Andrew Tridgell | 3 | -9/+2 | |
This correctly initialises the event backend, and checks for errors (thanks to Metze for suggesting this) | |||||
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. |