Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:libsmb/namequery.c: add saf_join_store() function | Stefan Metzmacher | 2008-12-13 | 1 | -3/+65 |
| | | | | | | | | | | | | saf_join_store() should be called after a successful domain join, the affinity to the dc used at join time has a larger ttl, to avoid problems with delayed replication. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 80e74a27c55c01221091e3eec930c2ac4433c22c) | ||||
* | s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵ | Stefan Metzmacher | 2008-12-13 | 1 | -0/+9 |
| | | | | | | | | | | | | | | in the requested site It could happen that all dcs in a site are unavailable (some sites have only one dc) and then we need to fallback to get all dcs. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222) | ||||
* | For read&x replies, check the offset | Volker Lendecke | 2008-12-13 | 1 | -0/+19 |
| | |||||
* | Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault. | Jeremy Allison | 2008-12-08 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | Simplify async programming a bit with helper routines | Volker Lendecke | 2008-12-08 | 4 | -21/+14 |
| | | | | Introduce async_req_is_error() and async_req_simple_recv() | ||||
* | Add a "bytes_padding" parameter to smb_splice_chain | Volker Lendecke | 2008-12-08 | 1 | -12/+28 |
| | | | | | For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around. | ||||
* | Factor out smb_splice_chain(), to be used by chain_reply() in smbd | Volker Lendecke | 2008-12-08 | 1 | -46/+98 |
| | |||||
* | Slightly simplify cli_session_setup_ntlmssp | Volker Lendecke | 2008-12-07 | 1 | -10/+2 |
| | | | | Remove three pointless variables | ||||
* | Fix for crash bug freeing a non-malloc'ed buffer if the client sends a ↵ | Volker Lendecke | 2008-12-05 | 1 | -0/+7 |
| | | | | non-encrypted packet with the crypto state set. | ||||
* | s3: Change sockaddr util function names for consistency | Tim Prouty | 2008-12-03 | 5 | -13/+13 |
| | | | | Also eliminates name conflicts with OneFS system libraries | ||||
* | remove the explicit mem_ctx from ntlmssp_state, use the state itself | Volker Lendecke | 2008-11-30 | 1 | -46/+41 |
| | |||||
* | fix nonempty blank lines | Volker Lendecke | 2008-11-30 | 1 | -27/+27 |
| | |||||
* | Do not build the session request if it si not used anyway | Volker Lendecke | 2008-11-30 | 1 | -4/+4 |
| | |||||
* | fix nonempty blank lines | Volker Lendecke | 2008-11-30 | 1 | -19/+19 |
| | |||||
* | Move cli_trans_oob to lib/util.c | Volker Lendecke | 2008-11-28 | 1 | -17/+4 |
| | | | | Rename it to trans_oob, it will be used in the server routines. | ||||
* | libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal | Kai Blin | 2008-11-18 | 1 | -1/+1 |
| | |||||
* | nterrors: add NT_STATUS_DS_BUSY. | Günther Deschner | 2008-11-10 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-dsgetdcname: fix reply generation (forgot to map nt1 to nt5ex). | Günther Deschner | 2008-11-06 | 1 | -0/+2 |
| | | | | Guenther | ||||
* | Make use of smb_bufrem() | Volker Lendecke | 2008-11-01 | 1 | -1/+1 |
| | |||||
* | ntlm_check.c: Sync some changes from Samba 4. | Jelmer Vernooij | 2008-11-01 | 1 | -16/+23 |
| | |||||
* | Use standardized types in ntlm_check.c. | Jelmer Vernooij | 2008-11-01 | 1 | -13/+13 |
| | |||||
* | Use shared doserr.c. | Jelmer Vernooij | 2008-11-01 | 1 | -196/+0 |
| | |||||
* | Rename dos_errstr() to win_errstr() for consistency with Samba 4. | Jelmer Vernooij | 2008-11-01 | 1 | -18/+12 |
| | |||||
* | errors: share dcerpc error function. | Günther Deschner | 2008-10-31 | 1 | -55/+0 |
| | | | | Guenther | ||||
* | Error return is False, not -1 | Derrell Lipman | 2008-10-24 | 1 | -3/+3 |
| | | | | | | | | | - There were a few places in SMBC_getatr() that returned -1 instead of a boolean. -1 was intended to mean error, but that's what False is for, and the usages of this function assume that it returns a boolean with False as the error condition. Derrell | ||||
* | Use sockaddr_storage only where we rely on the size, use sockaddr | Jelmer Vernooij | 2008-10-23 | 4 | -21/+21 |
| | | | | | otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in). | ||||
* | Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS | Jelmer Vernooij | 2008-10-23 | 1 | -1/+1 |
| | | | | previously present in Samba 3. | ||||
* | Use common error definitions. | Jelmer Vernooij | 2008-10-23 | 2 | -3/+3 |
| | |||||
* | s3-build: fix another build warning with the new ASN1 code. | Günther Deschner | 2008-10-23 | 1 | -2/+5 |
| | | | | Guenther | ||||
* | s3-build: fix some const build warnings. | Günther Deschner | 2008-10-23 | 1 | -2/+2 |
| | | | | Guenther | ||||
* | s3-build: fix the build. | Günther Deschner | 2008-10-22 | 1 | -2/+2 |
| | | | | Guenther | ||||
* | s3-asn1: make all of s3 asn1 code do a proper asn1_init() first. | Günther Deschner | 2008-10-22 | 3 | -291/+354 |
| | | | | Guenther | ||||
* | s3: use shared asn1 code. | Günther Deschner | 2008-10-22 | 5 | -643/+41 |
| | | | | Guenther | ||||
* | s3-build: no need to duplicate generated ndr_ prototypes. | Günther Deschner | 2008-10-20 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | Add TALLOC_CTX pointer to generate_random_str(), for consistency with | Jelmer Vernooij | 2008-10-19 | 1 | -3/+2 |
| | | | | Samba 4. | ||||
* | Fixed "argument differ in signedness" warning on linux | Tim Prouty | 2008-10-14 | 1 | -2/+2 |
| | |||||
* | Use {u,}int64_t instead of SMB_BIG_{U,}INT. | Jelmer Vernooij | 2008-10-14 | 3 | -31/+27 |
| | |||||
* | Import changes from upstream libndr. | Jelmer Vernooij | 2008-10-13 | 1 | -1/+1 |
| | |||||
* | Use common byteorder.h. | Jelmer Vernooij | 2008-10-12 | 1 | -1/+1 |
| | |||||
* | Fix "warning: initialization discards qualifiers from pointer target type" | Volker Lendecke | 2008-10-12 | 1 | -1/+1 |
| | |||||
* | Cope with changed signature of http_timestring(). | Jelmer Vernooij | 2008-10-11 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4 | Jelmer Vernooij | 2008-10-11 | 6 | -340/+68 |
|\ | |||||
| * | Ensure we handle signals correctly during the async calls. | Jeremy Allison | 2008-10-09 | 1 | -2/+2 |
| | | | | | | | | Jeremy. | ||||
| * | Remove SEC_ACCESS. It's a uint32_t. | Jeremy Allison | 2008-10-09 | 1 | -1/+1 |
| | | | | | | | | Jeremy. | ||||
| * | Make map_errno_from_nt_status() a generic call, not just a cli specific one. | Jeremy Allison | 2008-10-07 | 1 | -138/+2 |
| | | | | | | | | | | Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy. | ||||
| * | Fix some nonempty blank lines | Volker Lendecke | 2008-10-05 | 1 | -25/+25 |
| | | |||||
| * | Fix an uninitialized variable warning | Volker Lendecke | 2008-10-05 | 1 | -0/+2 |
| | | | | | | | | Not sure if we can ever not get domain and dns_domain, but gcc complained | ||||
| * | The IRIX compiler does not like embedded unnamed unions | Volker Lendecke | 2008-10-02 | 2 | -12/+12 |
| | | |||||
| * | Attempt to fix the build on IRIX | Volker Lendecke | 2008-10-02 | 1 | -1/+1 |
| | | | | | | | | Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2 | ||||
| * | s3-nbt: further cleanup of dsgetdcname(). | Günther Deschner | 2008-09-25 | 1 | -163/+25 |
| | | | | | | | | Guenther |