summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-03-16s3-build: only include asn1 headers where actually needed.Günther Deschner2-0/+2
Guenther
2011-03-16s3: Fix Coverity ID 2147, FORWARD_NULLVolker Lendecke1-1/+1
How could this ever have worked???
2011-03-16s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner1-0/+1
Guenther
2011-03-16s3-build: stop including ldap and lber headers everywhere in the code.Günther Deschner1-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
2011-03-16s3-includes: avoid global include of gssapi headers.Günther Deschner1-0/+8
Guenther
2011-03-16s3-libsmb: move smb encryption structs into own header.Günther Deschner3-0/+3
Guenther
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner7-0/+214
Guenther
2011-03-14s3: Fix bug 8009 - net rap session cannot get usernameVolker Lendecke1-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
2011-03-13Revert "s3: Fix bug 8009"Volker Lendecke1-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
2011-03-12s3: Fix bug 8009Volker Lendecke1-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
2011-03-05nsswitch: wbcFreeMemory deals fine with NULLVolker Lendecke1-3/+1
2011-03-04s3-nterr: use strcasecmp in nt_status_string_to_code().Günther Deschner1-1/+2
Guenther
2011-03-04s3-nterr: within nt_errstr() compare codes using NT_STATUS_V().Günther Deschner1-1/+2
This is to avoid future very special NT_STATUS_EQUAL semantics within s4. Guenther
2011-03-04nterr: make sure both nt_err_desc structs are the same.Günther Deschner1-0/+3
Guenther
2011-03-04nterr: make sure both nt_errs structs are the same.Günther Deschner1-4/+16
Guenther
2011-03-04s3-nterr: make nt_err_desc static const.Günther Deschner1-1/+1
Guenther
2011-03-04nterr: remove space indents (use tabs instead), following coding standards.Günther Deschner1-12/+12
Guenther
2011-03-04nterr: remove trailing whitespace.Günther Deschner1-15/+15
Guenther
2011-03-01s3-build __FUNCTION__ is always available, always use itAndrew Bartlett1-2/+2
This avoids duplication between FUNCTION_NAME and __FUNCTION__
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider4-0/+4
2011-02-28s3: Remove unused receive_packetStefan Metzmacher1-33/+0
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke4-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
2011-02-25s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.Günther Deschner3-39/+66
Guenther
2011-02-23s3:libsmb only log a dead connection if it was not closedChristian Ambach1-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
2011-02-18lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett1-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
2011-02-14s3: Fix a C++ warningVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Feb 14 21:44:55 CET 2011 on sn-devel-104
2011-02-11s3-libsmb: fix ifdef check in ads_dc_name.Günther Deschner1-1/+1
We are accessing an LDAP structure here, so we better check that LDAP support was there as well as Kerberos support. Guenther
2011-02-09s3: move some stuff out of smb.h to better locations.Günther Deschner2-0/+5
Guenther
2011-02-09Fix up some buildfarm warnings.Jeremy Allison1-1/+1
2011-02-09Don't use asprintf in this library - breaks the build on many systems. Fake ↵Jeremy Allison1-3/+8
with malloc/memcpy.
2011-02-02s3-libsmb: prefer dcerpc_lsa_X functions.Günther Deschner1-14/+22
Guenther
2011-01-30s3:libsmb: display NT_STATUS_RPC_SEC_PKG_ERROR in error stringsStefan Metzmacher1-0/+1
metze
2011-01-29s3: Remove an unneeded checkVolker Lendecke1-1/+1
In many other places we already assume that if asprintf returns !=-1 then the result is allocated. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 29 15:00:09 CET 2011 on sn-devel-104
2011-01-26From Metze - make sure we're using the same string length for the hash.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jan 26 18:32:15 CET 2011 on sn-devel-104
2011-01-25Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison1-5/+4
Do this by keeping a linked list of delete on close tokens, one for each filename that identifies a path to the dev/inode. Use the jenkins hash of the pathname to identify the correct token.
2011-01-25Add name_hash into the share mode entry struct (as yet only use for renames ↵Jeremy Allison1-4/+32
to identify a specific path).
2011-01-22s3: Fix connecting to port-139 only serversVolker Lendecke1-3/+5
When the TCP RST came before the 5 msecs timeout kicked in, we viewed this as final, as state->req_139 was not set yet. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Jan 22 17:42:41 CET 2011 on sn-devel-104
2011-01-17s3: Remove some unused codeVolker Lendecke1-105/+0
2011-01-17s3: Convert cli_lock64 to cli_smbVolker Lendecke1-34/+24
2011-01-17s3: Convert cli_lock to use cli_locktypeVolker Lendecke1-46/+7
2011-01-17s3: Convert cli_locktype to cli_smbVolker Lendecke1-32/+22
2011-01-17s3: Make passing up "result_parent" from cli_smb optionalVolker Lendecke2-3/+2
2011-01-17s3: Remove unused cli_send_keepaliveVolker Lendecke1-19/+0
2011-01-17s3: Remove unused cli_send/receive_transVolker Lendecke1-331/+0
2011-01-17s3: Convert cli_api to cli_transVolker Lendecke1-11/+48
2011-01-17s3: Make cli_setpathinfo_basic use cli_setpathinfoVolker Lendecke2-71/+14
2011-01-17s3: Add cli_setpathinfoVolker Lendecke1-0/+35
2011-01-17s3: Rename cli_setpathinfo->cli_setpathinfo_basicVolker Lendecke2-12/+12
2011-01-17s3: Remove unused cli_send/receive_nt_transVolker Lendecke1-341/+0
2011-01-17s3: Move dump_ntquota* to smbcquotas.cVolker Lendecke1-75/+0