Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-28 | s3-smbldap: use tevent_context in smbldap. | Günther Deschner | 1 | -9/+10 | |
Guenther | |||||
2011-10-27 | s3-ctdb: Fix ctdb_read_req | Volker Lendecke | 1 | -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-27 | s3-ctdb: Add debug to ctdb_processes_exist | Volker Lendecke | 1 | -0/+6 | |
2011-10-27 | s3: Add serverids_exist | Volker Lendecke | 1 | -0/+34 | |
2011-10-27 | s3: Add processes_exist | Volker Lendecke | 1 | -0/+66 | |
2011-10-27 | s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_exist | Volker Lendecke | 1 | -13/+8 | |
Not strictly necessary, but more code exercise is good | |||||
2011-10-27 | s3-ctdb: Add ctdb_processes_exist | Volker Lendecke | 1 | -0/+98 | |
This sends out a number of process_exists controls in parallel and collects the replies as they come in. | |||||
2011-10-27 | s3-ctdb: Allow ctdb_read_req to read any reqid | Volker Lendecke | 1 | -1/+1 | |
2011-10-27 | s3-ctdb: Don't hand out 0 as reqid | Volker Lendecke | 1 | -4/+13 | |
0 will be used as a wildcard reqid in ctdb_read_req | |||||
2011-10-27 | s3: Fix some type-punned warnings | Volker Lendecke | 1 | -4/+4 | |
2011-10-27 | replace: Add don't include unistd.h directly and add uid_wrapper. | Andreas Schneider | 1 | -1/+1 | |
2011-10-27 | Include uid_wrapper correctly. | Andreas Schneider | 2 | -2/+1 | |
2011-10-26 | s3:include: implement trans_oob() as wrapper to smb_buffer_oob() | Stefan Metzmacher | 1 | -19/+0 | |
metze | |||||
2011-10-26 | s3-netapi: remove pointless use_memory_krb5_ccache. | Günther Deschner | 2 | -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-26 | s3:lib: make_unix_date3() is the same as pull_dos_date3() | Stefan Metzmacher | 1 | -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-26 | s3:lib: make_unix_date2() is the same as pull_dos_date2() | Stefan Metzmacher | 1 | -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-26 | s3:lib: make_unix_date() is the same as pull_dos_date() | Stefan Metzmacher | 1 | -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-25 | s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTED | Stefan Metzmacher | 1 | -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-25 | s3:lib/addrchange.h: include libreplace headers before others | Stefan Metzmacher | 1 | -2/+2 | |
Also we typically don't use an explicit "lib/replace/" prefix. metze | |||||
2011-10-25 | build: always include tevent with <tevent.h> | Andrew Bartlett | 1 | -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-25 | build: always include talloc with <talloc.h> | Andrew Bartlett | 1 | -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-21 | s3-waf: only compile common.c in netapi examples code once. | Günther Deschner | 1 | -2/+8 | |
Guenther | |||||
2011-10-21 | s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls. | Günther Deschner | 1 | -2/+30 | |
Guenther | |||||
2011-10-21 | s3-netapi: fix missing include in examples code. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-10-21 | s3:include: make smb_setlen() a macro | Stefan Metzmacher | 1 | -14/+0 | |
metze | |||||
2011-10-21 | build: compile (but do not install) netapi examples | Andrew Bartlett | 1 | -0/+64 | |
The only example not yet built is the GTK domain join gui. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 21 01:31:55 CEST 2011 on sn-devel-104 | |||||
2011-10-20 | s3-netapi Compile (but do not install) netapi tests | Andrew Bartlett | 1 | -0/+6 | |
2011-10-19 | s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static there | Stefan Metzmacher | 1 | -13/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104 | |||||
2011-10-17 | First part of fix for bug #8419 - Make VFS op "streaminfo" stackable. | Frank Lahm | 1 | -1/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 17 21:39:32 CEST 2011 on sn-devel-104 | |||||
2011-10-14 | s3:dbwrap_ctdb: return the number of records in db_ctdb_traverse() for ↵ | Stefan Metzmacher | 1 | -3/+15 | |
persistent dbs metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 14 20:59:37 CEST 2011 on sn-devel-104 | |||||
2011-10-14 | Fix sys_fseek wrapper | Brad Smith | 1 | -0/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-10-13 | s3:dbwrap_ctdb: fix the build after changing signature of tdb_wrap_open() | Michael Adam | 1 | -1/+7 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Oct 13 18:50:47 CEST 2011 on sn-devel-104 | |||||
2011-10-13 | lib/util: Add back control of mmap and hash size in tdb for top level build | Andrew Bartlett | 4 | -7/+46 | |
This passes down a struct loadparm_context to allow these parameters to be checked. This may be s3 or s4 context, allowing the #if _SAMBA_BUILD_ macro to go away safely. Andrew Bartlett | |||||
2011-10-12 | s3:smbcontrol: let smbd pass the idmap msg to its children for convenience | Gregor Beck | 2 | -12/+24 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-12 | s3: fix id_cache_kill to delete the the id-mappig from caches | Gregor Beck | 2 | -2/+4 | |
The intendet and documented behavior of smbcontrol smbd idmap kill is to delete the mapping from caches and additionally kill the smbd if an affected id is in use. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-12 | s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵ | Michael Adam | 1 | -2/+1 | |
record in traverse It did not compare the last charcter (usually '\0') | |||||
2011-10-12 | s3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverse | Michael Adam | 1 | -1/+1 | |
Brown paperbag. This omitted the "== 0" hand hence skipped all keys of the same length as __db_sequence_number__ but different from it... | |||||
2011-10-12 | s3-dbwrap_ctdb: fix the build. | Günther Deschner | 1 | -1/+4 | |
Michael, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 15:25:56 CEST 2011 on sn-devel-104 | |||||
2011-10-12 | s3:dbwrap: remove m_all marshall buffer from ctdb transaction. | Gregor Beck | 1 | -23/+1 | |
it was only used by ctdb_replay_transaction and was a actually write only Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Oct 12 05:20:36 CEST 2011 on sn-devel-104 | |||||
2011-10-12 | s3:dbwrap: traverse records created within this transaction. | Gregor Beck | 1 | -1/+39 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return type | Michael Adam | 2 | -4/+6 | |
for consistency and better error propagation Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Oct 11 15:51:00 CEST 2011 on sn-devel-104 | |||||
2011-10-11 | s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return type | Michael Adam | 3 | -13/+21 | |
for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵ | Michael Adam | 2 | -7/+11 | |
bool) for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code | Michael Adam | 3 | -10/+23 | |
Return the int32 value retrieved from the db by reference. Before this, return value "-1" was used as a error indication, but it could also be a valid value from the database. | |||||
2011-10-11 | s3:dbwrap: move definitions of db_record and db_contect structs to ↵ | Michael Adam | 5 | -35/+40 | |
dbwrap_private.h The API and callers now only need the forward declarations. | |||||
2011-10-11 | s3:messages: convert to use only dbwrap wrapper functions | Michael Adam | 1 | -1/+1 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:conn_tdb: convert connections tdb to only use dbwrap wrapper functions | Michael Adam | 1 | -13/+45 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:privileges: convert privileges.c to use dbwrap wrapper functions. | Michael Adam | 1 | -8/+22 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:g_lock: convert to use only dbwrap wrapper functions. | Michael Adam | 1 | -15/+30 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:talloc_dict: change to only use dbwrap wrapper functions | Michael Adam | 1 | -17/+39 | |
Avoid direct use of the db_record and db_context structs. |