summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-03-29s3:rpc_client: remove more unused codeStefan Metzmacher4-63/+0
metze
2010-03-29s3:rpc_client: remove unused code, we handle transport failures in the ↵Stefan Metzmacher1-14/+0
transport layer now metze
2010-03-29s3:winbindd_reconnect: don't only reconnect on NT_STATUS_UNSUCCESSFULStefan Metzmacher1-14/+59
metze
2010-03-29s3:winbindd_cm: invalidate connection if cm_connect_netlogon() failsStefan Metzmacher1-2/+2
metze
2010-03-29s3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new ↵Stefan Metzmacher1-0/+5
connection metze
2010-03-29s3:winbindd_cm: use rpccli_is_connected() helper functionStefan Metzmacher1-4/+4
metze
2010-03-29s3:winbindd_cm: use cli_state_is_connected() helper functionStefan Metzmacher1-14/+4
metze
2010-03-29s3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() ↵Stefan Metzmacher1-3/+12
instead of 0 metze
2010-03-29s3:rpc_client: add set_timeout hook to rpc_cli_transportStefan Metzmacher5-20/+64
metze
2010-03-29s3:rpc_client: add rpccli_is_connected()Stefan Metzmacher6-18/+175
metze
2010-03-29s3:rpc_client: don't mix layers and keep a reference to cli_state in the callerStefan Metzmacher1-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-29s3:rpc_transport_np: add comment about bad usage in a destructorStefan Metzmacher1-1/+2
metze
2010-03-29s3:rpc_transport_np: use cli_state_is_connected() helperStefan Metzmacher1-1/+1
metze
2010-03-29s3:libsmb: add cli_state_is_connected() functionStefan Metzmacher2-0/+19
metze
2010-03-29s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_stateStefan Metzmacher1-0/+3
metze
2010-03-29s3: Fix bug 7212, "getent group does not return group members"Volker Lendecke1-0/+1
2010-03-29s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro thereVolker Lendecke1-5/+6
2010-03-28Remove extension from format-subunit.Jelmer Vernooij1-3/+1
2010-03-28s3: Slightly simplify unmap_unix_groupVolker Lendecke1-4/+1
2010-03-28s3: Remove unused bitmap_[allocate|free]Volker Lendecke2-38/+0
2010-03-28s3: Use bitmap_talloc in vfs_full_audit.cVolker Lendecke1-40/+20
This also simplifies the calling convention for init_bitmap() slightly
2010-03-28s3: Use bitmap_talloc for smb1 server tconsVolker Lendecke1-3/+3
2010-03-28s3: Use bitmap_talloc in init_dptrsVolker Lendecke1-1/+2
2010-03-28s3: Use bitmap_talloc in files.cVolker Lendecke1-1/+2
2010-03-28s3: Use bitmap_talloc in loadparmVolker Lendecke1-5/+6
2010-03-28s3: A NULL context might be perfectly valid for bitmap_tallocVolker Lendecke1-2/+0
2010-03-28s3: Fix a memleak in bitmap_tallocVolker Lendecke1-0/+1
2010-03-28s3: Use TALLOC_ZERO_ARRAY in bitmap_tallocVolker Lendecke1-4/+1
2010-03-28s3: Fix the memory hierarchy in bitmap_tallocVolker Lendecke1-1/+1
2010-03-28s3: Slightly simplify logic in conv_str_sizeVolker Lendecke1-29/+33
2010-03-28s3: Fix indentation in conv_str_sizeVolker Lendecke1-2/+2
2010-03-28s3: Fix some nonempty blank linesVolker Lendecke1-20/+19
2010-03-28s3: Use tdb_transaction_start_nonblock in gencache_stabilizeVolker Lendecke1-1/+10
This avoids the thundering herd problem when 5000 smbds exit simultaneously because the network went down.
2010-03-28Revert "s3: Optimize gencache for smbd exit"Volker Lendecke1-75/+14
This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283. That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it.
2010-03-28s3: Fix typos in a debug message in vfs_init_customVolker Lendecke1-1/+2
2010-03-26Fix bug #7240 - Net usershare is not case sensitive.Jeremy Allison4-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-26s3-selftest: set "lpq cache time = 0" in server configuration.Günther Deschner1-0/+1
This fixes currently broken spoolss tests. (make test variant). Guenther
2010-03-26s3 ntlm_auth: Don't malloc data that will be talloc_free()dKai Blin1-12/+12
This fixes bug #7290 Thanks to Mohan <mohann@silver-peak.com> for the bug report.
2010-03-26tdb: Add a non-blocking version of tdb_transaction_startVolker Lendecke1-1/+1
2010-03-26Revert the part of bug fix #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-22/+4
Submitter reports print file corruption after 2GB when SMBwrite etc. always write at EOF. Still working on the fix. Jeremy.
2010-03-26s3-util_sock: Rise debug level for getpeername failed messages.Karolin Seeger1-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-26s3-smbd: Don't close stdout if we want to log to stdout.Andreas Schneider4-6/+6
2010-03-26s3-spoolss: return info for the correct printjob in _spoolss_GetJob().Günther Deschner1-4/+6
Guenther
2010-03-26s3-printing: avoid mixing cups backend code with nt_printing code in ↵Günther Deschner3-26/+40
cups_pull_comment_location. Guenther
2010-03-26s3-event: switch s3 to using tevent_re_initialise()Andrew Tridgell3-9/+2
This correctly initialises the event backend, and checks for errors (thanks to Metze for suggesting this)
2010-03-25Second part of bug #7288 - SMB job IDs in CUPS job names wrong.Jeremy Allison1-2/+0
Forgot to delete the overload of the smbjob bool. Jeremy.
2010-03-25Fix bug #7288 - SMB job IDs in CUPS job names wrong.Jeremy Allison4-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-25Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined.Jeremy Allison1-1/+1
Ensure we don't dereference an array with an index of -1. Jeremy.
2010-03-25s3: vfs_smb_traffic_analyzer.c: remove warnings from developer buildHolger Hetterich1-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-25s3:passdb: avoid sid_to_gid() if the sid is "domain users"Stefan Metzmacher1-3/+7
If the call fails we would use the "domain users" sid anyway. metze