Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | ads_connect: Return immediately on a failed GC connection. | Gerald (Jerry) Carter | 2009-01-16 | 1 | -3/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | ads_connect_gc() feeds an explicit server to ads_connect(). However, if the resulting connection fails, the latter function was attempting to find a DC on its own and continuing the connection. This resulting in GC searches being sent over a connection using port 389 which would fail when using the base search suffix outside of the domain naming context. The fix is to fail immediately in ads_connect() since the GC lookup ordering is handled already in ads_connect_gc(). | |||||
* | | "First thing, kill all the language lawyers" :-). Ensure possible insane ↵ | Jeremy Allison | 2009-01-16 | 1 | -1/+1 | |
|/ | | | | | | | compilers can't kill us later. Jeremy. | |||||
* | s3:cluster: fix ctdb ipv6 support | Stefan Metzmacher | 2009-01-16 | 3 | -15/+23 | |
| | | | | | | | | | | | | | | | We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (<= 1.0.68). metze | |||||
* | s3:vfs_fileid: readd "fileid:algorithm" as option. | Stefan Metzmacher | 2009-01-16 | 1 | -1/+7 | |
| | | | | | | "fileid:mapping" is still supported as fallback. metze | |||||
* | remove the old chain_reply code | Volker Lendecke | 2009-01-16 | 1 | -214/+4 | |
| | ||||||
* | Correctly calculate the offset for read&x | Volker Lendecke | 2009-01-16 | 4 | -8/+37 | |
| | ||||||
* | Add a new implementation of chain_reply | Volker Lendecke | 2009-01-16 | 3 | -6/+226 | |
| | | | | | | This the global variable "orig_inbuf" in the old chain_reply code. This global variable was one of the reasons why we had the silly restriction to not allow async requests within a request chain. | |||||
* | s3-eventlog: fix _eventlog_CloseEventLog. | Günther Deschner | 2009-01-16 | 1 | -1/+10 | |
| | | | | Guenther | |||||
* | s3: Remove an incorrect const | Tim Prouty | 2009-01-15 | 1 | -1/+1 | |
| | ||||||
* | s3: put the gpo cache dir under cache_dir instead of lock_dir | Michael Adam | 2009-01-16 | 1 | -2/+2 | |
| | | | | Michael | |||||
* | s3: put printing/ under cache_dir, not lock_dir | Michael Adam | 2009-01-16 | 3 | -4/+4 | |
| | | | | Michael | |||||
* | s3: put netsamlogon_cache.tdb into cache_dir instead of lock_dir | Michael Adam | 2009-01-16 | 1 | -1/+1 | |
| | | | | Michael | |||||
* | s3:put the browse list into cache_dir, not lock_dir. | Michael Adam | 2009-01-16 | 2 | -10/+3 | |
| | | | | Michael | |||||
* | s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir. | Michael Adam | 2009-01-16 | 2 | -10/+10 | |
| | | | | Michael | |||||
* | s3:passdb: put login_cache.tdb into cache_dir, not lock_dir. | Michael Adam | 2009-01-16 | 1 | -2/+3 | |
| | | | | Michael | |||||
* | s3:libads: use lock_path for creating paths to local krb5.conf files | Michael Adam | 2009-01-16 | 1 | -2/+3 | |
| | | | | | | | | instead of manually doing an asprintf with lp_lockdir() Michael squash | |||||
* | s3:libads: give create_local_private_krb5_conf_for_domain() a common exit point | Michael Adam | 2009-01-16 | 1 | -30/+20 | |
| | | | | Michael | |||||
* | s3:vfs_xattr_tdb: don't leak state_path() to talloc_tos in xattr_tdb_init(). | Michael Adam | 2009-01-16 | 1 | -4/+9 | |
| | | | | Michael | |||||
* | s3:nmbd: don't leak state_path() to talloc_tos() in wins_write_database() | Michael Adam | 2009-01-16 | 1 | -1/+1 | |
| | | | | Michael | |||||
* | s3:vfs_acl_tdb: don't leak state_path() to talloc_tos() in acl_tdb_init() | Michael Adam | 2009-01-16 | 1 | -0/+2 | |
| | | | | Michael | |||||
* | Fix bug #6040 - Missing <th> header in Status page. | Jeremy Allison | 2009-01-15 | 1 | -1/+2 | |
| | | | | | Based on a patch from pkg-samba-maint@lists.alioth.debian.org. Jeremy. | |||||
* | Allow reinit_after_fork to be called safely from within swat and other ↵ | Jeremy Allison | 2009-01-15 | 1 | -10/+14 | |
| | | | | | | | binaries that don't have an event context or a msg context. Fixes crash bug in swat. Jeremy. | |||||
* | winreg: fix winreg_EnumValue callers. | Günther Deschner | 2009-01-16 | 1 | -1/+1 | |
| | | | | Guenther | |||||
* | s3-util: for convenience, provide format comments in tdb_unpack(). | Günther Deschner | 2009-01-16 | 1 | -7/+7 | |
| | | | | Guenther | |||||
* | s3-eventlog: remove whitespace. | Günther Deschner | 2009-01-16 | 1 | -45/+45 | |
| | | | | Guenther | |||||
* | s3-eventlog: some minor code cleanup in eventlog server. | Günther Deschner | 2009-01-16 | 1 | -23/+10 | |
| | | | | Guenther | |||||
* | s3: make better use of ccache by not including version.h in every C-file. | Michael Adam | 2009-01-15 | 18 | -17/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael | |||||
* | Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails. | Jeremy Allison | 2009-01-15 | 1 | -4/+5 | |
| | | | | Jeremy. | |||||
* | Remove smbclient globals that bled into clidfs.c. Now we only have | Jeremy Allison | 2009-01-14 | 7 | -57/+45 | |
| | | | | | the connections list and authentication structures to worry about. Jeremy | |||||
* | Fix build of netapi. | Jeremy Allison | 2009-01-14 | 1 | -1/+2 | |
| | | | | Jeremy. | |||||
* | Remove another global from clidfs that is only used in client.c. | Jeremy Allison | 2009-01-14 | 3 | -18/+29 | |
| | | | | Jeremy. | |||||
* | Fix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery. | Jeremy Allison | 2009-01-14 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Fix bug in get_dc_name_via_netlogon(), null pointer refrence. | Bo Yang | 2009-01-14 | 1 | -1/+1 | |
| | ||||||
* | Clean up comments a little. | Jeremy Allison | 2009-01-14 | 1 | -11/+13 | |
| | | | | Jeremy. | |||||
* | Don't send message to any other child in child process. | Bo Yang | 2009-01-14 | 1 | -0/+30 | |
| | | | | Signed-off-by: Bo Yang <boyang@novell.com> | |||||
* | Make rpc_read look like a real read call | Volker Lendecke | 2009-01-14 | 1 | -18/+11 | |
| | | | | It doesn't really need to know about prs_structs | |||||
* | Make rpc_read() match the control flow normally used in Samba | Volker Lendecke | 2009-01-14 | 1 | -12/+19 | |
| | | | | Replace do { .. } while () with a while () { .. } | |||||
* | Simplify rpc_read a bit | Volker Lendecke | 2009-01-14 | 1 | -16/+11 | |
| | | | | | | rpc_read always reads the whole bytes it was asked to read. So it is not really necessary for it to update the current_pdu_offset, for clarity this can better be done in the caller. | |||||
* | Remove an unnecessary size check | Volker Lendecke | 2009-01-14 | 1 | -10/+4 | |
| | | | | rpc_read is only ever called with at most fraglen-RPC_HEADER_SIZE length | |||||
* | Check the fragment size the server has sent us | Volker Lendecke | 2009-01-14 | 1 | -0/+10 | |
| | ||||||
* | Slightly simplify rpc_read: It should not do the resize | Volker Lendecke | 2009-01-14 | 1 | -18/+34 | |
| | ||||||
* | Always read with offset 0 from a named pipe | Volker Lendecke | 2009-01-14 | 1 | -6/+5 | |
| | ||||||
* | s3-eventlog: fix ps struct removal leftover. | Günther Deschner | 2009-01-14 | 1 | -1/+0 | |
| | | | | Guenther | |||||
* | s3-rpcclient: always parse the full eventlog entry. | Günther Deschner | 2009-01-14 | 1 | -3/+3 | |
| | | | | Guenther | |||||
* | s3-eventlog: use main talloc context in eventlog read call. | Günther Deschner | 2009-01-14 | 1 | -3/+2 | |
| | | | | Guenther | |||||
* | From boyang - ensure we never "return" from a forked child, always _exit(). | Jeremy Allison | 2009-01-13 | 2 | -5/+5 | |
| | | | | Jeremy. | |||||
* | Only call sendfile_short_read() if we need it. | Jeremy Allison | 2009-01-13 | 1 | -2/+6 | |
| | | | | Jeremy. | |||||
* | Fix bug noticed by Volker - if sendfile returns zero then | Jeremy Allison | 2009-01-13 | 2 | -6/+78 | |
| | | | | | we might have to handle a short send by filling with zeros. Jeremy. | |||||
* | Fix bug #6019 File corruption in Clustered SMB/NFS environment managed via CTDB | Jeremy Allison | 2009-01-13 | 2 | -4/+4 | |
| | | | | Jeremy. | |||||
* | Covert several persistant tdb files to use state_path() instead of lock_path() | Steven Danneman | 2009-01-12 | 3 | -3/+3 | |
| |