summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3-netlogon: Fix setting the machinge account password.Andreas Schneider2011-10-271-0/+4
| | | | This bug has been found with uid wrapper.
* Factor out the code checking if a parent should override DELETE_ACCESS into ↵Jeremy Allison2011-10-261-9/+31
| | | | | | | a function. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 26 23:15:05 CEST 2011 on sn-devel-104
* Remove another level of indentation - deal with !NT_STATUS_OK individually.Jeremy Allison2011-10-261-65/+63
|
* Add early return on stat open without O_CREAT if file doesn't exist.Jeremy Allison2011-10-261-71/+74
| | | | Reduces one level of indentation.
* s3:libsmb: make use of map_nt_error_from_unix_common() in clitrans.cStefan Metzmacher2011-10-261-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 17:53:15 CEST 2011 on sn-devel-104
* s3:libsmb: avoid using smb_flg2 in cli_trans.cStefan Metzmacher2011-10-261-1/+3
| | | | metze
* s3:libsmb: replace smb_size - 4 with MIN_SMB_SIZE in clitrans.cStefan Metzmacher2011-10-261-1/+1
| | | | metze
* s3:libsmb: use 'tevent_' instead of 'event_' in clitrans.cStefan Metzmacher2011-10-262-5/+5
| | | | metze
* s3:libsmb: make use of smb_buffer_oob() in clitrans.cStefan Metzmacher2011-10-261-4/+4
| | | | metze
* s3:libsmb: use smb_len_nbt() in clitrans.cStefan Metzmacher2011-10-261-2/+2
| | | | metze
* s3:include: implement trans_oob() as wrapper to smb_buffer_oob()Stefan Metzmacher2011-10-263-20/+3
| | | | metze
* s3-netapi: remove pointless use_memory_krb5_ccache.Günther Deschner2011-10-262-20/+0
| | | | | | | | | This breaks the ABI. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 26 13:23:58 CEST 2011 on sn-devel-104
* libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.hStefan Metzmacher2011-10-261-6/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
* s3:lib: make_unix_date3() is the same as pull_dos_date3()Stefan Metzmacher2011-10-261-5/+1
| | | | | | | | | | Except for a 'void *' vs. 'uint8_t *'. As a first step let make_unix_date() call pull_dos_date(), so that we he the logic only once. We can fix the callers later. metze
* s3:lib: make_unix_date2() is the same as pull_dos_date2()Stefan Metzmacher2011-10-261-7/+1
| | | | | | | | | | Except for a 'void *' vs. 'uint8_t *'. As a first step let make_unix_date() call pull_dos_date(), so that we he the logic only once. We can fix the callers later. metze
* s3:lib: make_unix_date() is the same as pull_dos_date()Stefan Metzmacher2011-10-261-19/+1
| | | | | | | | | | Except for a 'void *' vs. 'uint8_t *'. As a first step let make_unix_date() call pull_dos_date(), so that we he the logic only once. We can fix the callers later. metze
* s3-util: dbwrap_tool: fix fetch_string functionBjörn Baumbach2011-10-261-1/+1
| | | | | | | | | We do not want truncated strings. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Oct 26 04:17:05 CEST 2011 on sn-devel-104
* s3:net registry check: fix a case where automatic and read only mode take ↵Gregor Beck2011-10-261-3/+5
| | | | | | the wrong action Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net registry check: do not silently replace separatorsGregor Beck2011-10-261-2/+3
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Second attempt to fix bug #8384 - Windows XP clients seem to crash smbd ↵Jeremy Allison2011-10-261-1/+1
| | | | | | | | | | | process every once in a while. Don't just use the first entry in back_channels as a talloc context to allocate a long-lived chan entry on - must be NULL. It's already correctly deleted when the last reference goes away. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 26 02:42:35 CEST 2011 on sn-devel-104
* s3:smb2cli_base: make use of [_]smb_[set]len_tcp()Stefan Metzmacher2011-10-251-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 19:30:43 CEST 2011 on sn-devel-104
* s3:smb2cli_base: make use of map_nt_error_from_unix_common()Stefan Metzmacher2011-10-251-2/+4
| | | | metze
* s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher2011-10-251-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
* s3:libsmb: s/event_context/tevent_context/ in async_smb.[ch]Stefan Metzmacher2011-10-252-4/+4
| | | | metze
* s3:lib/addrchange.h: include libreplace headers before othersStefan Metzmacher2011-10-251-2/+2
| | | | | | Also we typically don't use an explicit "lib/replace/" prefix. metze
* build: always include tevent with <tevent.h>Andrew Bartlett2011-10-251-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>
* build: always include talloc with <talloc.h>Andrew Bartlett2011-10-251-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>
* torture: Remove unused smbiconvAndrew Bartlett2011-10-253-262/+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>
* s3:libsmb: make use of map_nt_error_from_unix_common() in async_smb.cStefan Metzmacher2011-10-251-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 03:21:06 CEST 2011 on sn-devel-104
* s3:libsmb: use HDR_* defines in cli_state_dispatch_smb1()Stefan Metzmacher2011-10-251-7/+8
| | | | metze
* s3:libsmb: make use of smb_[set]len_nbt() in async_smb.cStefan Metzmacher2011-10-251-3/+3
| | | | metze
* s3:libsmb: use HDR_* defines in cli_pull_raw_error()Stefan Metzmacher2011-10-251-3/+4
| | | | metze
* libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher2011-10-258-513/+5
| | | | metze
* s3:libsmb/smb_signing: make use of HDR_* definesStefan Metzmacher2011-10-251-4/+4
| | | | metze
* s3:libsmb/smb_signing: make use of smb_len_nbt()Stefan Metzmacher2011-10-251-6/+6
| | | | metze
* s3:libsmb/smb_signing: avoid usage of smb_ss_fieldStefan Metzmacher2011-10-251-7/+7
| | | | metze
* Try and fix bug #8384 - Windows XP clients seem to crash smbd process every ↵Jeremy Allison2011-10-241-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
* idl: Improve MS-PAC IDLSimo Sorce2011-10-246-24/+24
| | | | | | | | | | 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
* libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.hStefan Metzmacher2011-10-241-11/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104
* libcli/smb: move more defines to smb_constants.hStefan Metzmacher2011-10-241-106/+0
| | | | metze
* libcli/smb: move CAP_* defines to smb_constants.hStefan Metzmacher2011-10-241-46/+0
| | | | metze
* libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher2011-10-249-151/+9
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104
* s3:libsmb/read_smb: make use of smb_len_tcp()Stefan Metzmacher2011-10-241-1/+1
| | | | metze
* s3:libsmb: remove unused sync read_smb()Stefan Metzmacher2011-10-242-25/+0
| | | | metze
* s3:torture: avoid using read_smb()Stefan Metzmacher2011-10-241-1/+16
| | | | metze
* Third part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison2011-10-221-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
* Second part of fix for bug #8541 - readlink() on Linux clients fails if the ↵Jeremy Allison2011-10-223-2/+12
| | | | | | | symlink target is outside of the share. The statcache has to do lstat instead of stat when returning cached posix pathnames.
* Fix bug #8541 - readlink() on Linux clients fails if the symlink target is ↵Jeremy Allison2011-10-224-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
* Deprecate "acl check permissions".Jeremy Allison2011-10-211-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 21 21:51:18 CEST 2011 on sn-devel-104
* s3:idmap_autorid: add an allocation range to autoridChristian Ambach2011-10-211-1/+96
| | | | | | | | | | this is needed to allocate gids for BUILTIN\Users and BUILTIN\Administrators and for local users/group that admins might want to create autorid will now allocate one range for this purpose and can so give out as many uids and gids as the configured rangesize allows