summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-smbldap: remove dependency to secrets subsystem.Günther Deschner2011-11-161-17/+4
| | | | Guenther
* s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner2011-11-161-0/+3
| | | | Guenther
* s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner2011-11-161-220/+0
| | | | Guenther
* s3: move smbldap_util to pdb_ldap_util.Günther Deschner2011-11-161-335/+0
| | | | Guenther
* s3: server_id.pid has turned 64 (bits, that is)Volker Lendecke2011-11-101-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_* constantsStefan Metzmacher2011-11-031-4/+5
| | | | metze
* s3:lib: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* s3:lib/netapi: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher2011-11-031-1/+1
| | | | metze
* s3: Fix some nonempty blank linesVolker Lendecke2011-10-311-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 commentVolker Lendecke2011-10-311-1/+4
|
* s3-smbldap: use tevent_context in smbldap.Günther Deschner2011-10-281-9/+10
| | | | Guenther
* s3-ctdb: Fix ctdb_read_reqVolker Lendecke2011-10-271-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_existVolker Lendecke2011-10-271-0/+6
|
* s3: Add serverids_existVolker Lendecke2011-10-271-0/+34
|
* s3: Add processes_existVolker Lendecke2011-10-271-0/+66
|
* s3-ctdb: Make ctdbd_process_exists use ctdbd_processes_existVolker Lendecke2011-10-271-13/+8
| | | | Not strictly necessary, but more code exercise is good
* s3-ctdb: Add ctdb_processes_existVolker Lendecke2011-10-271-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 reqidVolker Lendecke2011-10-271-1/+1
|
* s3-ctdb: Don't hand out 0 as reqidVolker Lendecke2011-10-271-4/+13
| | | | 0 will be used as a wildcard reqid in ctdb_read_req
* s3: Fix some type-punned warningsVolker Lendecke2011-10-271-4/+4
|
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-271-1/+1
|
* Include uid_wrapper correctly.Andreas Schneider2011-10-272-2/+1
|
* s3:include: implement trans_oob() as wrapper to smb_buffer_oob()Stefan Metzmacher2011-10-261-19/+0
| | | | 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
* 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: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: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>
* s3-waf: only compile common.c in netapi examples code once.Günther Deschner2011-10-211-2/+8
| | | | Guenther
* s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls.Günther Deschner2011-10-211-2/+30
| | | | Guenther
* s3-netapi: fix missing include in examples code.Günther Deschner2011-10-211-0/+2
| | | | Guenther
* s3:include: make smb_setlen() a macroStefan Metzmacher2011-10-211-14/+0
| | | | metze
* build: compile (but do not install) netapi examplesAndrew Bartlett2011-10-211-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 testsAndrew Bartlett2011-10-201-0/+6
|
* s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static thereStefan Metzmacher2011-10-191-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 Lahm2011-10-171-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 Metzmacher2011-10-141-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 wrapperBrad Smith2011-10-141-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 Adam2011-10-131-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 buildAndrew Bartlett2011-10-134-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
* s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck2011-10-122-12/+24
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: fix id_cache_kill to delete the the id-mappig from cachesGregor Beck2011-10-122-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>
* s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam2011-10-121-2/+1
| | | | | | record in traverse It did not compare the last charcter (usually '\0')
* s3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverseMichael Adam2011-10-121-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...
* s3-dbwrap_ctdb: fix the build.Günther Deschner2011-10-121-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
* s3:dbwrap: remove m_all marshall buffer from ctdb transaction.Gregor Beck2011-10-121-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
* s3:dbwrap: traverse records created within this transaction.Gregor Beck2011-10-121-1/+39
| | | | Signed-off-by: Michael Adam <obnox@samba.org>