summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb/namequery.c: add saf_join_store() functionStefan Metzmacher2008-12-131-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 Metzmacher2008-12-131-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 offsetVolker Lendecke2008-12-131-0/+19
|
* Fix bug #5953 - smbclient crashes: cli_list_new segmentation fault.Jeremy Allison2008-12-081-1/+1
| | | | Jeremy.
* Simplify async programming a bit with helper routinesVolker Lendecke2008-12-084-21/+14
| | | | Introduce async_req_is_error() and async_req_simple_recv()
* Add a "bytes_padding" parameter to smb_splice_chainVolker Lendecke2008-12-081-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 smbdVolker Lendecke2008-12-081-46/+98
|
* Slightly simplify cli_session_setup_ntlmsspVolker Lendecke2008-12-071-10/+2
| | | | Remove three pointless variables
* Fix for crash bug freeing a non-malloc'ed buffer if the client sends a ↵Volker Lendecke2008-12-051-0/+7
| | | | non-encrypted packet with the crypto state set.
* s3: Change sockaddr util function names for consistencyTim Prouty2008-12-035-13/+13
| | | | Also eliminates name conflicts with OneFS system libraries
* remove the explicit mem_ctx from ntlmssp_state, use the state itselfVolker Lendecke2008-11-301-46/+41
|
* fix nonempty blank linesVolker Lendecke2008-11-301-27/+27
|
* Do not build the session request if it si not used anywayVolker Lendecke2008-11-301-4/+4
|
* fix nonempty blank linesVolker Lendecke2008-11-301-19/+19
|
* Move cli_trans_oob to lib/util.cVolker Lendecke2008-11-281-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_internalKai Blin2008-11-181-1/+1
|
* nterrors: add NT_STATUS_DS_BUSY.Günther Deschner2008-11-101-0/+1
| | | | Guenther
* s3-dsgetdcname: fix reply generation (forgot to map nt1 to nt5ex).Günther Deschner2008-11-061-0/+2
| | | | Guenther
* Make use of smb_bufrem()Volker Lendecke2008-11-011-1/+1
|
* ntlm_check.c: Sync some changes from Samba 4.Jelmer Vernooij2008-11-011-16/+23
|
* Use standardized types in ntlm_check.c.Jelmer Vernooij2008-11-011-13/+13
|
* Use shared doserr.c.Jelmer Vernooij2008-11-011-196/+0
|
* Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij2008-11-011-18/+12
|
* errors: share dcerpc error function.Günther Deschner2008-10-311-55/+0
| | | | Guenther
* Error return is False, not -1Derrell Lipman2008-10-241-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 sockaddrJelmer Vernooij2008-10-234-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_EXISTSJelmer Vernooij2008-10-231-1/+1
| | | | previously present in Samba 3.
* Use common error definitions.Jelmer Vernooij2008-10-232-3/+3
|
* s3-build: fix another build warning with the new ASN1 code.Günther Deschner2008-10-231-2/+5
| | | | Guenther
* s3-build: fix some const build warnings.Günther Deschner2008-10-231-2/+2
| | | | Guenther
* s3-build: fix the build.Günther Deschner2008-10-221-2/+2
| | | | Guenther
* s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner2008-10-223-291/+354
| | | | Guenther
* s3: use shared asn1 code.Günther Deschner2008-10-225-643/+41
| | | | Guenther
* s3-build: no need to duplicate generated ndr_ prototypes.Günther Deschner2008-10-201-0/+1
| | | | Guenther
* Add TALLOC_CTX pointer to generate_random_str(), for consistency withJelmer Vernooij2008-10-191-3/+2
| | | | Samba 4.
* Fixed "argument differ in signedness" warning on linuxTim Prouty2008-10-141-2/+2
|
* Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij2008-10-143-31/+27
|
* Import changes from upstream libndr.Jelmer Vernooij2008-10-131-1/+1
|
* Use common byteorder.h.Jelmer Vernooij2008-10-121-1/+1
|
* Fix "warning: initialization discards qualifiers from pointer target type"Volker Lendecke2008-10-121-1/+1
|
* Cope with changed signature of http_timestring().Jelmer Vernooij2008-10-111-2/+2
|
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4Jelmer Vernooij2008-10-116-340/+68
|\
| * Ensure we handle signals correctly during the async calls.Jeremy Allison2008-10-091-2/+2
| | | | | | | | Jeremy.
| * Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2008-10-091-1/+1
| | | | | | | | Jeremy.
| * Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison2008-10-071-138/+2
| | | | | | | | | | Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
| * Fix some nonempty blank linesVolker Lendecke2008-10-051-25/+25
| |
| * Fix an uninitialized variable warningVolker Lendecke2008-10-051-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 unionsVolker Lendecke2008-10-022-12/+12
| |
| * Attempt to fix the build on IRIXVolker Lendecke2008-10-021-1/+1
| | | | | | | | Under irix, "sa_family" is a #define to sa_union.sa_generic.sa_family2
| * s3-nbt: further cleanup of dsgetdcname().Günther Deschner2008-09-251-163/+25
| | | | | | | | Guenther