Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3-ctdb: Make use of CTDB_CONTROL_CHECK_SRVIDS | Volker Lendecke | 2011-11-30 | 2 | -2/+223 |
| | | | | | | | | This should be a lot quicker than PROCESS_EXISTS followed by looking at serverid.tdb Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 30 12:47:27 CET 2011 on sn-devel-104 | ||||
* | s3:dbwrap_tdb: pass NTSTATUS code further up from db_tdb_fetch_parse in ↵ | Michael Adam | 2011-11-30 | 1 | -1/+1 |
| | | | | | | | db_tdb_fetch() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 30 01:46:31 CET 2011 on sn-devel-104 | ||||
* | s3:dbwrap: turn the fetch dbwrap method to NTSTATUS return code. | Michael Adam | 2011-11-29 | 5 | -55/+58 |
| | | | | | This implement more correct NTSTATUS handling inside the backends. This ensures that data.dptr != NULL if return code is NT_STATUS_OK. | ||||
* | s3:dbwrap_ctdb: re-use map_nt_error_from_tdb() in local tdb_error_to_ntstatus() | Michael Adam | 2011-11-29 | 1 | -14/+1 |
| | |||||
* | s3:dbwrap: do not burden the user of db_open_ctdb with ifdef voodoo | Gregor Beck | 2011-11-25 | 2 | -3/+13 |
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> | ||||
* | s3:lib fix output of hex escapes > 0x7F with cbuf_print_quoted | Gregor Beck | 2011-11-25 | 1 | -1/+1 |
| | | | | (cherry picked from commit a1fcb7e37a23dcc035686486d4afe32a67082ae1) | ||||
* | security: add local authority well-known SIDs | Christian Ambach | 2011-11-24 | 1 | -0/+6 |
| | | | | | | | add the S-1-2 well-known SID family Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Nov 24 19:01:08 CET 2011 on sn-devel-104 | ||||
* | s3-smbldap: remove dependency to secrets subsystem. | Günther Deschner | 2011-11-16 | 1 | -17/+4 |
| | | | | Guenther | ||||
* | s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments. | Günther Deschner | 2011-11-16 | 1 | -0/+3 |
| | | | | Guenther | ||||
* | s3-passdb: split out passdb/pdb_ldap_schema.c | Günther Deschner | 2011-11-16 | 1 | -220/+0 |
| | | | | Guenther | ||||
* | s3: move smbldap_util to pdb_ldap_util. | Günther Deschner | 2011-11-16 | 1 | -335/+0 |
| | | | | Guenther | ||||
* | s3: server_id.pid has turned 64 (bits, that is) | Volker Lendecke | 2011-11-10 | 1 | -4/+11 |
| | | | | | | | | Fix ctdb_processes_exist protocol. The socket expects pid_t which is 32 bits on 32 bit machines. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 10 18:57:01 CET 2011 on sn-devel-104 | ||||
* | s3:lib: make use of SMB_SIGNING_* constants | Stefan Metzmacher | 2011-11-03 | 1 | -4/+5 |
| | | | | metze | ||||
* | s3:lib: s/Undefined/SMB_SIGNING_DEFAULT/ | Stefan Metzmacher | 2011-11-03 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3:lib/netapi: s/Undefined/SMB_SIGNING_DEFAULT/ | Stefan Metzmacher | 2011-11-03 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3: Fix some nonempty blank lines | Volker Lendecke | 2011-10-31 | 1 | -5/+5 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Oct 31 14:25:14 CET 2011 on sn-devel-104 | ||||
* | s3: Fix a comment | Volker Lendecke | 2011-10-31 | 1 | -1/+4 |
| | |||||
* | s3-smbldap: use tevent_context in smbldap. | Günther Deschner | 2011-10-28 | 1 | -9/+10 |
| | | | | Guenther | ||||
* | s3-ctdb: Fix ctdb_read_req | Volker Lendecke | 2011-10-27 | 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 | ||||
* | s3-ctdb: Add debug to ctdb_processes_exist | Volker Lendecke | 2011-10-27 | 1 | -0/+6 |
| | |||||
* | s3: Add serverids_exist | Volker Lendecke | 2011-10-27 | 1 | -0/+34 |
| | |||||
* | s3: Add processes_exist | Volker Lendecke | 2011-10-27 | 1 | -0/+66 |
| | |||||
* | s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_exist | Volker Lendecke | 2011-10-27 | 1 | -13/+8 |
| | | | | Not strictly necessary, but more code exercise is good | ||||
* | s3-ctdb: Add ctdb_processes_exist | Volker Lendecke | 2011-10-27 | 1 | -0/+98 |
| | | | | | This sends out a number of process_exists controls in parallel and collects the replies as they come in. | ||||
* | s3-ctdb: Allow ctdb_read_req to read any reqid | Volker Lendecke | 2011-10-27 | 1 | -1/+1 |
| | |||||
* | s3-ctdb: Don't hand out 0 as reqid | Volker Lendecke | 2011-10-27 | 1 | -4/+13 |
| | | | | 0 will be used as a wildcard reqid in ctdb_read_req | ||||
* | s3: Fix some type-punned warnings | Volker Lendecke | 2011-10-27 | 1 | -4/+4 |
| | |||||
* | replace: Add don't include unistd.h directly and add uid_wrapper. | Andreas Schneider | 2011-10-27 | 1 | -1/+1 |
| | |||||
* | Include uid_wrapper correctly. | Andreas Schneider | 2011-10-27 | 2 | -2/+1 |
| | |||||
* | s3:include: implement trans_oob() as wrapper to smb_buffer_oob() | Stefan Metzmacher | 2011-10-26 | 1 | -19/+0 |
| | | | | metze | ||||
* | s3-netapi: remove pointless use_memory_krb5_ccache. | Günther Deschner | 2011-10-26 | 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 | ||||
* | s3:lib: make_unix_date3() is the same as pull_dos_date3() | Stefan Metzmacher | 2011-10-26 | 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 | ||||
* | s3:lib: make_unix_date2() is the same as pull_dos_date2() | Stefan Metzmacher | 2011-10-26 | 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 | ||||
* | s3:lib: make_unix_date() is the same as pull_dos_date() | Stefan Metzmacher | 2011-10-26 | 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 | ||||
* | s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTED | Stefan Metzmacher | 2011-10-25 | 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 | ||||
* | s3:lib/addrchange.h: include libreplace headers before others | Stefan Metzmacher | 2011-10-25 | 1 | -2/+2 |
| | | | | | | Also we typically don't use an explicit "lib/replace/" prefix. metze | ||||
* | build: always include tevent with <tevent.h> | Andrew Bartlett | 2011-10-25 | 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> | ||||
* | build: always include talloc with <talloc.h> | Andrew Bartlett | 2011-10-25 | 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> | ||||
* | s3-waf: only compile common.c in netapi examples code once. | Günther Deschner | 2011-10-21 | 1 | -2/+8 |
| | | | | Guenther | ||||
* | s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls. | Günther Deschner | 2011-10-21 | 1 | -2/+30 |
| | | | | Guenther | ||||
* | s3-netapi: fix missing include in examples code. | Günther Deschner | 2011-10-21 | 1 | -0/+2 |
| | | | | Guenther | ||||
* | s3:include: make smb_setlen() a macro | Stefan Metzmacher | 2011-10-21 | 1 | -14/+0 |
| | | | | metze | ||||
* | build: compile (but do not install) netapi examples | Andrew Bartlett | 2011-10-21 | 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 | ||||
* | s3-netapi Compile (but do not install) netapi tests | Andrew Bartlett | 2011-10-20 | 1 | -0/+6 |
| | |||||
* | s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static there | Stefan Metzmacher | 2011-10-19 | 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 | ||||
* | First part of fix for bug #8419 - Make VFS op "streaminfo" stackable. | Frank Lahm | 2011-10-17 | 1 | -1/+1 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Oct 17 21:39:32 CEST 2011 on sn-devel-104 | ||||
* | s3:dbwrap_ctdb: return the number of records in db_ctdb_traverse() for ↵ | Stefan Metzmacher | 2011-10-14 | 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 | ||||
* | Fix sys_fseek wrapper | Brad Smith | 2011-10-14 | 1 | -0/+2 |
| | | | | Signed-off-by: Günther Deschner <gd@samba.org> | ||||
* | s3:dbwrap_ctdb: fix the build after changing signature of tdb_wrap_open() | Michael Adam | 2011-10-13 | 1 | -1/+7 |
| | | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Oct 13 18:50:47 CEST 2011 on sn-devel-104 | ||||
* | lib/util: Add back control of mmap and hash size in tdb for top level build | Andrew Bartlett | 2011-10-13 | 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 |