summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-10-28s3-passdb: use tevent_context in passdb.Günther Deschner3-8/+9
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 13:09:47 CEST 2011 on sn-devel-104
2011-10-28s3-smbldap: use tevent_context in smbldap.Günther Deschner2-12/+13
Guenther
2011-10-27s3-ctdb: Fix ctdb_read_reqVolker Lendecke1-23/+17
If a complete request has come in already before we consumed it, the ctdb_packet_fd_read_sync will block indefinitely. So always try packet_handler first and only if that fails due to insufficient data, read from the socket. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 27 22:12:05 CEST 2011 on sn-devel-104
2011-10-27s3-ctdb: Add debug to ctdb_processes_existVolker Lendecke1-0/+6
2011-10-27s3: Use serverids_exist in parse_share_modesVolker Lendecke1-1/+23
This is the main reason for the preceding commits. We need to reduce the number of round-trips to ctdb when checking the locking record entries for existence. Using the plural version of process_exists gets the number of round-trips to ctdb for process_exists down to 1.
2011-10-27s3: Add serverids_existVolker Lendecke2-0/+39
2011-10-27s3: Add processes_existVolker Lendecke2-0/+68
2011-10-27s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_existVolker Lendecke1-13/+8
Not strictly necessary, but more code exercise is good
2011-10-27s3-ctdb: Add ctdb_processes_existVolker Lendecke2-0/+101
This sends out a number of process_exists controls in parallel and collects the replies as they come in.
2011-10-27s3-ctdb: Allow ctdb_read_req to read any reqidVolker Lendecke1-1/+1
2011-10-27s3-ctdb: Don't hand out 0 as reqidVolker Lendecke1-4/+13
0 will be used as a wildcard reqid in ctdb_read_req
2011-10-27s3: Use talloc_tos() in parse_share_modes()Volker Lendecke1-1/+1
2011-10-27s3: Fix some nonempty blank linesVolker Lendecke1-3/+3
2011-10-27s3: Fix some type-punned warningsVolker Lendecke1-4/+4
2011-10-27s4-torture: Add a samr privilege check.Andreas Schneider1-0/+1
This is the first part which checks if a deleted user is propagated correctly to all daemons and caches with user information are emtpy.
2011-10-27s3:rpc_client: remove references to auth_ntlmssp_stateStefan Metzmacher1-13/+14
metze Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 27 16:40:15 CEST 2011 on sn-devel-104
2011-10-27s3: Enable uid wrapper.Andreas Schneider1-3/+0
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Oct 27 15:06:58 CEST 2011 on sn-devel-104
2011-10-27replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider3-3/+2
2011-10-27s3: Include uid_wrapper where it is missing.Andreas Schneider6-0/+6
2011-10-27Include uid_wrapper correctly.Andreas Schneider5-3/+4
2011-10-27s3-waf: Don't link uid_wrapper more than once.Andreas Schneider1-2/+2
The uid_wrapper is linked in globally by default if enabled.
2011-10-27s3-netlogon: Fix setting the machinge account password.Andreas Schneider1-0/+4
This bug has been found with uid wrapper.
2011-10-26Factor out the code checking if a parent should override DELETE_ACCESS into ↵Jeremy Allison1-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
2011-10-26Remove another level of indentation - deal with !NT_STATUS_OK individually.Jeremy Allison1-65/+63
2011-10-26Add early return on stat open without O_CREAT if file doesn't exist.Jeremy Allison1-71/+74
Reduces one level of indentation.
2011-10-26s3:libsmb: make use of map_nt_error_from_unix_common() in clitrans.cStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 17:53:15 CEST 2011 on sn-devel-104
2011-10-26s3:libsmb: avoid using smb_flg2 in cli_trans.cStefan Metzmacher1-1/+3
metze
2011-10-26s3:libsmb: replace smb_size - 4 with MIN_SMB_SIZE in clitrans.cStefan Metzmacher1-1/+1
metze
2011-10-26s3:libsmb: use 'tevent_' instead of 'event_' in clitrans.cStefan Metzmacher2-5/+5
metze
2011-10-26s3:libsmb: make use of smb_buffer_oob() in clitrans.cStefan Metzmacher1-4/+4
metze
2011-10-26s3:libsmb: use smb_len_nbt() in clitrans.cStefan Metzmacher1-2/+2
metze
2011-10-26s3:include: implement trans_oob() as wrapper to smb_buffer_oob()Stefan Metzmacher3-20/+3
metze
2011-10-26s3-netapi: remove pointless use_memory_krb5_ccache.Günther Deschner2-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
2011-10-26libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.hStefan Metzmacher1-6/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104
2011-10-26s3:lib: make_unix_date3() is the same as pull_dos_date3()Stefan Metzmacher1-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
2011-10-26s3:lib: make_unix_date2() is the same as pull_dos_date2()Stefan Metzmacher1-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
2011-10-26s3:lib: make_unix_date() is the same as pull_dos_date()Stefan Metzmacher1-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
2011-10-26s3-util: dbwrap_tool: fix fetch_string functionBjörn Baumbach1-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
2011-10-26s3:net registry check: fix a case where automatic and read only mode take ↵Gregor Beck1-3/+5
the wrong action Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-26s3:net registry check: do not silently replace separatorsGregor Beck1-2/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-26Second attempt to fix bug #8384 - Windows XP clients seem to crash smbd ↵Jeremy Allison1-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
2011-10-25s3:smb2cli_base: make use of [_]smb_[set]len_tcp()Stefan Metzmacher1-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 25 19:30:43 CEST 2011 on sn-devel-104
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 Bartlett3-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>
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