summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-302-2/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-3013-0/+61
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-303-0/+3
| | | | Guenther
* s3-trans2: only include trans2.h where needed.Günther Deschner2011-03-307-0/+7
| | | | Guenther
* s3-winbind: remove global inclusion of libwbclient.Günther Deschner2011-03-302-1/+1
| | | | Guenther
* s3-libsmb: remove duplicate NTSTATUS variable.Günther Deschner2011-03-291-1/+0
| | | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 29 17:00:26 CEST 2011 on sn-devel-104
* Fix inspired by work done by David Disseldorp for bug #8040 - smbclient ↵Jeremy Allison2011-03-281-3/+11
| | | | | | | | | segfaults when a Cyrillic netbios name or workgroup is configured. Change msrpc_gen to return NTSTATUS and ensure everywhere this is used it is correctly checked to return that status. Jeremy.
* s3: Convert cli_raw_tcon to cli_smbVolker Lendecke2011-03-271-24/+22
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 19:50:21 CEST 2011 on sn-devel-104
* s3: Replace cli_negprot_sendsync() by cli_negprot_send()Volker Lendecke2011-03-271-35/+0
|
* s3: Remove a use of cli_send_smbVolker Lendecke2011-03-271-36/+47
|
* s3: Fix Coverity ID 2326, CHECKED_RETURNVolker Lendecke2011-03-261-1/+1
|
* s3-libsmb: work our correct length for EA stringsAndrew Tridgell2011-03-251-1/+1
|
* s3-dfs: removed the last user of sec_len==-1 in pull_*_base_talloc()Andrew Tridgell2011-03-251-1/+2
| | | | hopefully there aren't any others lurking in the code
* lib: remove unused pieces of string_wrappers.hAndrew Tridgell2011-03-251-7/+7
|
* s3: Fix some errno assignments in SMBC_opendir_ctxVolker Lendecke2011-03-241-13/+13
| | | | | | | Do the assignment as the last action to make sure it's not overwritten Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 24 17:31:57 CET 2011 on sn-devel-104
* s3: Fix Coverity ID 2325: RESOURCE_LEAKVolker Lendecke2011-03-241-0/+4
|
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-244-11/+9
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* s3-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett2011-03-231-13/+13
| | | | | | | | Now that we don't need to pass in the function name and string, another level of indirection can be safely removed, and the operation of these macros made much clearer. Andrew Bartlett
* s3-lib Remove the clobber_region() code.Andrew Bartlett2011-03-232-26/+8
| | | | | | | | | | | | | | | | | | This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett
* s3-build: only include asn1 headers where actually needed.Günther Deschner2011-03-162-0/+2
| | | | Guenther
* s3: Fix Coverity ID 2147, FORWARD_NULLVolker Lendecke2011-03-161-1/+1
| | | | How could this ever have worked???
* s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner2011-03-161-0/+1
| | | | Guenther
* s3-build: stop including ldap and lber headers everywhere in the code.Günther Deschner2011-03-161-0/+1
| | | | | | | | | | Instead use new header smb_ldap.h where all LDAP API related things are handled, while smbldap.h only deals with our smbldap_X() API. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
* s3-includes: avoid global include of gssapi headers.Günther Deschner2011-03-161-0/+8
| | | | Guenther
* s3-libsmb: move smb encryption structs into own header.Günther Deschner2011-03-163-0/+3
| | | | Guenther
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-157-0/+214
| | | | Guenther
* s3: Fix bug 8009 - net rap session cannot get usernameVolker Lendecke2011-03-141-1/+1
| | | | | | | | | Looking in [MS-RAP].pdf - these strings are always 4 bytes as an offset in the rparam area, the string length is the size in the rdata area. Se we must always return we have consumed 4 param bytes. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Mar 14 20:09:09 CET 2011 on sn-devel-104
* Revert "s3: Fix bug 8009"Volker Lendecke2011-03-131-1/+1
| | | | | | | This reverts commit 1829891391d978e8dd322cdbd3320e30e5c78b72. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 13 10:33:25 CET 2011 on sn-devel-104
* s3: Fix bug 8009Volker Lendecke2011-03-121-1/+1
| | | | | | | Jeremy, please check! Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 12 11:39:41 CET 2011 on sn-devel-104
* nsswitch: wbcFreeMemory deals fine with NULLVolker Lendecke2011-03-051-3/+1
|
* s3-nterr: use strcasecmp in nt_status_string_to_code().Günther Deschner2011-03-041-1/+2
| | | | Guenther
* s3-nterr: within nt_errstr() compare codes using NT_STATUS_V().Günther Deschner2011-03-041-1/+2
| | | | | | This is to avoid future very special NT_STATUS_EQUAL semantics within s4. Guenther
* nterr: make sure both nt_err_desc structs are the same.Günther Deschner2011-03-041-0/+3
| | | | Guenther
* nterr: make sure both nt_errs structs are the same.Günther Deschner2011-03-041-4/+16
| | | | Guenther
* s3-nterr: make nt_err_desc static const.Günther Deschner2011-03-041-1/+1
| | | | Guenther
* nterr: remove space indents (use tabs instead), following coding standards.Günther Deschner2011-03-041-12/+12
| | | | Guenther
* nterr: remove trailing whitespace.Günther Deschner2011-03-041-15/+15
| | | | Guenther
* s3-build __FUNCTION__ is always available, always use itAndrew Bartlett2011-03-011-2/+2
| | | | This avoids duplication between FUNCTION_NAME and __FUNCTION__
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-284-0/+4
|
* s3: Remove unused receive_packetStefan Metzmacher2011-02-281-33/+0
|
* s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke2011-02-274-10/+10
| | | | | | | All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
* s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.Günther Deschner2011-02-253-39/+66
| | | | Guenther
* s3:libsmb only log a dead connection if it was not closedChristian Ambach2011-02-231-7/+12
| | | | | | | | | in case the cli was closed before (e.g. via a dropped ip message) it can be expected that the read here returns with an error and so we should not log that a connection is dead when it was closed before Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 23 16:51:03 CET 2011 on sn-devel-104
* lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett2011-02-181-1/+1
| | | | | | | | | | When called from a library, we don't want to call this, as we may overwrite some of our calling program's context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
* s3: Fix a C++ warningVolker Lendecke2011-02-141-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 14 21:44:55 CET 2011 on sn-devel-104
* s3-libsmb: fix ifdef check in ads_dc_name.Günther Deschner2011-02-111-1/+1
| | | | | | | We are accessing an LDAP structure here, so we better check that LDAP support was there as well as Kerberos support. Guenther
* s3: move some stuff out of smb.h to better locations.Günther Deschner2011-02-092-0/+5
| | | | Guenther
* Fix up some buildfarm warnings.Jeremy Allison2011-02-091-1/+1
|