summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-11-25s3:dbwrap: do not burden the user of db_open_ctdb with ifdef voodooGregor Beck2-3/+13
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-25s3:lib fix output of hex escapes > 0x7F with cbuf_print_quotedGregor Beck1-1/+1
(cherry picked from commit a1fcb7e37a23dcc035686486d4afe32a67082ae1)
2011-11-24security: add local authority well-known SIDsChristian Ambach1-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
2011-11-16s3-smbldap: remove dependency to secrets subsystem.Günther Deschner1-17/+4
Guenther
2011-11-16s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner1-0/+3
Guenther
2011-11-16s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner1-220/+0
Guenther
2011-11-16s3: move smbldap_util to pdb_ldap_util.Günther Deschner1-335/+0
Guenther
2011-11-10s3: server_id.pid has turned 64 (bits, that is)Volker Lendecke1-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
2011-11-03s3:lib: make use of SMB_SIGNING_* constantsStefan Metzmacher1-4/+5
metze
2011-11-03s3:lib: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher1-1/+1
metze
2011-11-03s3:lib/netapi: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher1-1/+1
metze
2011-10-31s3: Fix some nonempty blank linesVolker Lendecke1-5/+5
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Oct 31 14:25:14 CET 2011 on sn-devel-104
2011-10-31s3: Fix a commentVolker Lendecke1-1/+4
2011-10-28s3-smbldap: use tevent_context in smbldap.Günther Deschner1-9/+10
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: Add serverids_existVolker Lendecke1-0/+34
2011-10-27s3: Add processes_existVolker Lendecke1-0/+66
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 Lendecke1-0/+98
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: Fix some type-punned warningsVolker Lendecke1-4/+4
2011-10-27replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider1-1/+1
2011-10-27Include uid_wrapper correctly.Andreas Schneider2-2/+1
2011-10-26s3:include: implement trans_oob() as wrapper to smb_buffer_oob()Stefan Metzmacher1-19/+0
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-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-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: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-21s3-waf: only compile common.c in netapi examples code once.Günther Deschner1-2/+8
Guenther
2011-10-21s3-netapi: use NetApiBufferAllocate() for returned buffer in getdc calls.Günther Deschner1-2/+30
Guenther
2011-10-21s3-netapi: fix missing include in examples code.Günther Deschner1-0/+2
Guenther
2011-10-21s3:include: make smb_setlen() a macroStefan Metzmacher1-14/+0
metze
2011-10-21build: compile (but do not install) netapi examplesAndrew Bartlett1-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-20s3-netapi Compile (but do not install) netapi testsAndrew Bartlett1-0/+6
2011-10-19s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static thereStefan Metzmacher1-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-17First part of fix for bug #8419 - Make VFS op "streaminfo" stackable.Frank Lahm1-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-14s3:dbwrap_ctdb: return the number of records in db_ctdb_traverse() for ↵Stefan Metzmacher1-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-14Fix sys_fseek wrapperBrad Smith1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-10-13s3:dbwrap_ctdb: fix the build after changing signature of tdb_wrap_open()Michael Adam1-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-13lib/util: Add back control of mmap and hash size in tdb for top level buildAndrew Bartlett4-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-12s3:smbcontrol: let smbd pass the idmap msg to its children for convenienceGregor Beck2-12/+24
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12s3: fix id_cache_kill to delete the the id-mappig from cachesGregor Beck2-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-12s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam1-2/+1
record in traverse It did not compare the last charcter (usually '\0')
2011-10-12s3:dbwrap_ctdb: fix check for skipping the __db_sequence_number__ in traverseMichael Adam1-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...