summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-25s3:smb2cli_base: make use of map_nt_error_from_unix_common()Stefan Metzmacher1-2/+4
metze
2011-10-25s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher1-1/+1
This lets map_nt_error_from_unix() return the same value as map_nt_error_from_unix_common(). There are no callers relying on NT_STATUS_PIPE_BROKEN. metze
2011-10-25s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]Stefan Metzmacher2-4/+4
metze
2011-10-25s3:lib/addrchange.h: include libreplace headers before othersStefan Metzmacher1-2/+2
Also we typically don't use an explicit "lib/replace/" prefix. metze
2011-10-25build: always include tevent with <tevent.h>Andrew Bartlett1-1/+1
This ensures we do the right thing if we are built against the system tevent. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-25build: always include talloc with <talloc.h>Andrew Bartlett1-1/+1
This ensures we do the right thing if we are built against the system talloc. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-25torture: Remove unused smbiconvAndrew Bartlett4-498/+1
smbiconv is not used in any test script, and has only had changes since being introduced by Jelmer to keep it building. It is also not installed on the system. I have also checked with Jelmer, who approved the removal. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-25s3-libsmbclient: make some functions static in testsuite code.Günther Deschner143-159/+159
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 25 17:57:25 CEST 2011 on sn-devel-104
2011-10-25s3:libsmb: make use of map_nt_error_from_unix_common() in async_smb.cStefan Metzmacher1-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 03:21:06 CEST 2011 on sn-devel-104
2011-10-25s3:libsmb: use HDR_* defines in cli_state_dispatch_smb1()Stefan Metzmacher1-7/+8
metze
2011-10-25s3:libsmb: make use of smb_[set]len_nbt() in async_smb.cStefan Metzmacher1-3/+3
metze
2011-10-25s3:libsmb: use HDR_* defines in cli_pull_raw_error()Stefan Metzmacher1-3/+4
metze
2011-10-25libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher9-11/+17
metze
2011-10-25s3:libsmb/smb_signing: make use of HDR_* definesStefan Metzmacher1-4/+4
metze
2011-10-25s3:libsmb/smb_signing: make use of smb_len_nbt()Stefan Metzmacher1-6/+6
metze
2011-10-25s3:libsmb/smb_signing: avoid usage of smb_ss_fieldStefan Metzmacher1-7/+7
metze
2011-10-25s4:libcli: rename smb_signing.h to smb_raw_signing.h in the install directoryStefan Metzmacher1-1/+1
metze
2011-10-25libcli/smb: remove unused includes from read_smb.hStefan Metzmacher1-2/+2
metze
2011-10-24Try and fix bug #8384 - Windows XP clients seem to crash smbd process every ↵Jeremy Allison1-6/+17
once in a while. Remove the copy of the binding handle from struct notify_back_channel, use the direct pointer in struct rpc_pipe_client instead. Ensure we can't call the functions with a NULL binding handle. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 24 22:56:40 CEST 2011 on sn-devel-104
2011-10-24s3-docs: Remove -Y option from winbind manpage.Günther Deschner1-10/+0
This option no longer exists. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 20:59:22 CEST 2011 on sn-devel-104
2011-10-24idl: Improve MS-PAC IDLSimo Sorce12-56/+67
Change some misleading variable names to reflect the actual function. Add missing field name/types previously marked as unkown. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
2011-10-24libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher3-45/+38
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104
2011-10-24s4:libcli/raw: remove unuded CMD_REPLY defineStefan Metzmacher1-2/+0
metze
2011-10-24libcli/smb: move more defines to smb_constants.hStefan Metzmacher3-212/+105
metze
2011-10-24libcli/smb: move CAP_* defines to smb_constants.hStefan Metzmacher3-64/+46
metze
2011-10-24auth/gensec: fix missleading commentStefan Metzmacher1-1/+1
We don't talloc_reference for tsocket_addresses. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 15:29:47 CEST 2011 on sn-devel-104
2011-10-24libcli/smb Move smb_seal.h include to files that use it.Andrew Bartlett2-1/+1
This is required because at the moment, smb_seal.h includes references to gssapi structures and this causes issues with header dependencies on subsystems that otherwise do not need a gssapi dependency. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-24lib/util/charset Remove unused header smb_common.hAndrew Bartlett1-1/+0
This should fix a compile issue on hosts without gssapi/gssapi.h. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-24libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher10-10/+14
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
2011-10-24s3:libsmb/read_smb: make use of smb_len_tcp()Stefan Metzmacher1-1/+1
metze
2011-10-24s3:libsmb: remove unused sync read_smb()Stefan Metzmacher2-25/+0
metze
2011-10-24s3:torture: avoid using read_smb()Stefan Metzmacher1-1/+16
metze
2011-10-22talloc: simplifiy the logic to build talloc_testsuite in the standalone buildStefan Metzmacher1-8/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 22 13:15:52 CEST 2011 on sn-devel-104
2011-10-22lib/util: remove the "includes.h" dependeny from xfile.cStefan Metzmacher1-5/+2
metze
2011-10-22lib/util: remove the "includes.h" dependeny from util_file.cStefan Metzmacher1-5/+4
metze
2011-10-22dynconfig: replace #if (_SAMBA_BUILD_ >= 4) by feature testsStefan Metzmacher1-2/+10
metze
2011-10-22talloc/testsuite: remove #if _SAMBA_BUILD_==3Stefan Metzmacher1-9/+0
We don't include "includes.h" anymore... metze
2011-10-22auth/gensec: replace #if _SAMBA_BUILD_ == 4 by a feature testStefan Metzmacher1-1/+1
metze
2011-10-22Third part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison1-2/+1
symlink target is outside of the share. Missed passing ucf_flags instead of hard coded flags in findfirst call. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 06:30:16 CEST 2011 on sn-devel-104
2011-10-22Second part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison3-2/+12
symlink target is outside of the share. The statcache has to do lstat instead of stat when returning cached posix pathnames.
2011-10-22s4:finddcs_cldap: talloc free old memory before allocating a new netlogon structStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 22 04:55:54 CEST 2011 on sn-devel-104
2011-10-22s4:finddcs_cldap: close the socket when it's not used anymoreStefan Metzmacher1-1/+2
The amount of possible fd's might be restricted, so close them early. metze
2011-10-22s4:finddcs_cldap: finddcs_cldap_recv() returns NTSTATUSStefan Metzmacher1-1/+6
We need to convert the errno based error to NTSTATUS before calling tevent_req_error (via tevent_req_nterror). metze
2011-10-22Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵Jeremy Allison4-11/+43
outside of the share. The key is to only allow the lookup to succeed if it's a UNIX level lookup or readlink, but disallow all other operations. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 22 01:37:41 CEST 2011 on sn-devel-104
2011-10-22s4-cldap: fix cldap_socket_init to always specify the dest if local is NULLMatthieu Patou1-17/+18
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 22 00:02:00 CEST 2011 on sn-devel-104
2011-10-21libcli-cldap: avoid the case local == remote == NULLMatthieu Patou1-1/+5
2011-10-21libcli/cldap: make sure the local and remote address family matchesStefan Metzmacher1-5/+25
metze Signed-off-by: Matthieu Patou <mat@matws.net>
2011-10-21s4-resolv: fix resolution of SRV records pointing to A and AAAA recordsMatthieu Patou1-161/+238
2011-10-21Deprecate "acl check permissions".Jeremy Allison2-1/+4
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 21 21:51:18 CEST 2011 on sn-devel-104
2011-10-21s3:idmap_autorid: document allocation poolChristian Ambach1-1/+6
document the need that excessive use of local users/group might require increasing the rangesize Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Oct 21 18:04:50 CEST 2011 on sn-devel-104