1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3/lib
Volker Lendecke fbee5795ab smbd/winbindd: Do an early check if ctdbd is functional
This will avoid panic calls when smbd and winbind is started in cluster
mode before ctdb is functional. It still logs something sane at debug
level 0, but it does not panic and core anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-17 23:20:45 +02:00
..
ABI s3-smbldap: make smbldap public library and maintain its ABI 2012-09-07 14:14:30 +02:00
asys build: Do not install testing binaries 2012-11-22 12:00:36 +01:00
dbwrap dbwrap_ctdb: Treat empty records as non-existing 2013-08-28 23:37:08 +02:00
eventlog s3-eventlog: Make sure the eventlog directory exists. 2012-12-21 13:55:59 +01:00
netapi s3:lib/netapi: do not use rpc_pipe_np_smb_conn() 2013-10-17 08:48:48 +13:00
pthreadpool pthreadpool: Fix CID 710828 Sizeof not portable 2013-05-12 15:56:32 +02:00
smbconf libsmbconf:registry: add "state directory" to the list of forbidden parameters 2013-09-24 07:44:29 +02:00
access.c
addrchange.c
addrchange.h s3:lib/addrchange.h: include libreplace headers before others 2011-10-25 17:58:33 +02:00
adt_tree.c adt_tree: Fix return types. 2012-03-24 17:11:11 +01:00
afs_settoken.c afs: implement afs_syscall() always, returning -1 if FAKE_KASERVER is not defined. 2013-09-23 20:49:02 +02:00
afs.c s3:lib/afs fix the build 2013-02-19 17:31:32 +01:00
audit.c
avahi.c
background.c s3: Fix Coverity ID 2743: CHECKED_RETURN 2012-04-19 17:37:38 +02:00
background.h s3: Add infrastructure for background jobs 2012-04-17 10:21:00 +02:00
cbuf.c s3:lib fix output of hex escapes > 0x7F with cbuf_print_quoted 2011-11-25 13:24:34 +01:00
cbuf.h s3:lib: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02:00
charcnv.c s3:lib/charcnv fix typo in pull_ascii_base_talloc() 2013-03-05 15:56:56 +01:00
conn_tdb.c s3-lib: hide incomplete smbXsrv_tcon_global records 2013-07-09 14:20:08 -07:00
conn_tdb.h s3:lib: remove unused connections_fetch_entry*() and connections_init() 2012-10-19 12:15:03 +02:00
ctdb_conn.c s3:lib/ctdb_conn make sure we are root before connecting to CTDB 2013-05-17 13:16:37 +02:00
ctdb_conn.h s3:ctdb library: fix the build against older ctdb versions 2012-11-02 13:47:34 +01:00
ctdb_packet.c s3:lib/ctdb_packet use sys_send in packet_fd_write 2013-06-03 20:01:21 +02:00
ctdbd_conn.c smbd/winbindd: Do an early check if ctdbd is functional 2013-10-17 23:20:45 +02:00
dmallocmsg.c
dummyparam.c s3:lib/dummyparam: remove unused conn_snum_used() dummy 2011-12-13 15:45:36 +01:00
dumpcore.c
errmap_unix.c s3:lib add mapping for ETXTBSY 2013-06-25 12:54:00 +02:00
events.c s3:lib/events: make use of tevent_common_loop_timer_delay() 2013-03-01 11:58:20 -08:00
file_id.c lib: Apply some const to pull_file_id_24 2013-09-06 13:40:05 +02:00
file_id.h lib: Apply some const to pull_file_id_24 2013-09-06 13:40:05 +02:00
filename_util.c smbd: Use talloc_pooled_object in cp_smb_filename 2013-09-08 11:34:07 +02:00
fncall.c s3:lib: s/struct fd_event/struct tevent_fd 2013-02-19 23:48:00 +01:00
fstring.c
g_lock.c s3:lib: make use of samba_tevent_context_init() 2013-02-19 23:47:47 +01:00
gencache.c gencache: Avoid a duplicate call to string_term_tdb_data 2013-09-09 17:02:28 +02:00
id_cache.c s3:id_cache: do not use the in-memory idmap cache (it is going to be removed) 2012-04-20 23:17:36 +02:00
id_cache.h s3:smbcontrol: let smbd pass the idmap msg to its children for convenience 2011-10-12 22:45:53 +02:00
idmap_cache.c lib: Use "mem_ctx" arg in gencache_get 2013-09-05 20:09:21 +02:00
idmap_cache.h s3-idmap: remove (now) unused function idmap_cache_set_sid2both() 2012-05-02 13:18:05 +02:00
interface.c
ldap_debug_handler.c
ldap_escape.c
memcache.c
messages_ctdbd.c s3:lib: s/struct event_context/struct tevent_context 2013-02-19 23:47:54 +01:00
messages_local.c s3-param: Rename loadparm_s3_context -> loadparm_s3_helpers 2012-06-27 17:11:16 +02:00
messages.c messages: Use uint8_t type. 2013-02-22 16:36:12 +01:00
ms_fnmatch.c
msg_channel.c s3:lib: make use of samba_tevent_context_init() 2013-02-19 23:47:47 +01:00
msg_channel.h s3: Add msg_channel 2012-04-17 10:21:01 +02:00
namearray.c
popt_common.c lib: Remove an unused variable 2013-06-11 21:52:09 +02:00
privileges.c s3:privileges: convert privileges.c to use dbwrap wrapper functions. 2011-10-11 14:17:57 +02:00
privileges.h
recvfile.c Ensure drain_socket() operates on a blocking socket. 2013-04-19 14:11:23 -07:00
sendfile.c s3: add Darwin sendfile support and merge with the FreeBSD code 2012-07-26 17:19:09 +02:00
server_contexts.c s3: Remove a bunch of calls to procid_self() 2011-12-12 21:50:25 +01:00
server_mutex.c s3:lib/server_mutex: open mutex.tdb with CLEAR_IF_FIRST 2013-04-03 09:53:08 +02:00
server_prefork_util.c s3-prefork: Fix code to retire children 2011-08-21 09:05:06 -04:00
server_prefork_util.h s3-prefork: add a few more utility functions 2011-08-21 09:05:05 -04:00
server_prefork.c s3-lib/server_prefork: Cast pid_t result to unsigned int for GNU/Solaris build 2013-03-15 10:38:40 -07:00
server_prefork.h s3-prefork: Listening fds must be in non-blocking mode 2011-08-21 09:05:07 -04:00
serverid.c s3:lib: readd the CTDB_CONTROL_CHECK_SRVIDS optimization to serverids_exist() 2012-08-24 13:43:33 +02:00
sessionid_tdb.c s3-lib: fix segf while reading incomplete session info (bug #10003) 2013-07-09 14:19:51 -07:00
sharesec.c Change the S3 fileserver over to se_file_access_check(). 2012-08-31 20:29:13 -07:00
smbd_shim.c s3:smbd: add exit_server to the smbd_shim hooks 2012-10-19 12:14:58 +02:00
smbd_shim.h s3:smbd: add exit_server to the smbd_shim hooks 2012-10-19 12:14:58 +02:00
smbldap.c s3:lib: s/struct timed_event/struct tevent_timer 2013-02-19 23:47:58 +01:00
smbrun.c Make sure to set umask() before calling mkstemp(). 2013-03-06 01:16:34 +01:00
sock_exec.c s3-lib: Don't close the listener twice if we goto failed. 2012-12-12 23:14:44 +01:00
srprs.c s3:lib: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02:00
srprs.h s3:lib: use includes.h with cbuf and srprs 2012-09-07 23:39:45 +02:00
substitute_generic.c Finally remove all malloc()'s from the substitute code. Now totally 2012-01-27 03:43:21 +01:00
substitute.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
sysacls.c s3-lib: Make it clear that we want to fall trough here. 2012-12-21 13:56:01 +01:00
sysquotas_4A.c
sysquotas_4B.c s3: adopt the new sysquotas_4B support for BSD 2012-09-02 20:58:58 +02:00
sysquotas_linux.c
sysquotas_nfs.c s3-lib: Remove unsused variable from sys_get_nfs_quota(). 2012-12-12 15:00:02 +01:00
sysquotas_xfs.c s3:quota: clean up and consolidate the xfs quota checks and defines 2012-09-07 15:59:46 +02:00
sysquotas.c quota: add supprt for gfs2 2012-09-18 14:30:25 +02:00
system_smbd.c Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
system.c s3:lib/system fix build on AIX 7 2013-08-02 09:47:43 +02:00
talloc_dict.c s3:talloc_dict: change to only use dbwrap wrapper functions 2011-10-11 14:17:57 +02:00
tallocmsg.c
tdb_validate.c TDB2: make SAMBA use tdb1 again for the moment. 2012-06-19 05:38:05 +02:00
tdb_validate.h
tevent_barrier.c s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_barrier.h s3: Implement tevent_barrier 2012-04-17 10:21:02 +02:00
tevent_wait.c s3: Add tevent_wait_send/recv 2012-07-18 15:54:20 -07:00
tevent_wait.h s3: Add tevent_wait_send/recv 2012-07-18 15:54:20 -07:00
time.c s3: Use SBVAL in put_long_date_timespec 2012-09-19 01:16:25 +02:00
tldap_util.c s3:lib: make use of samba_tevent_context_init() 2013-02-19 23:47:47 +01:00
tldap.c s3-tldap: Make sure we don't deref a null pointer. 2013-02-22 16:36:12 +01:00
username.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
util_builtin.c s3:util add sid_check_is_wellknown_builtin() 2012-05-01 09:32:11 +02:00
util_cmdline.c util: Use new samba_getpass() function. 2012-12-03 14:35:08 +01:00
util_ea.c s3:lib: Factor read_ea_list_entry() and read_nttrans_ea_list() out so they can be used by the SMB2 client code. 2013-08-15 09:07:06 +02:00
util_ea.h s3:lib: Factor read_ea_list_entry() and read_nttrans_ea_list() out so they can be used by the SMB2 client code. 2013-08-15 09:07:06 +02:00
util_file.c Fix bug #9586 - smbd[29175]: disk_free: sys_popen() failed" message logged in /var/log/message many times. 2013-01-24 10:45:48 +01:00
util_malloc.c s3: Remove some unused code 2012-05-15 18:24:10 +02:00
util_names.c Check error returns from strupper_m() (in all reasonable places). 2012-08-09 12:06:54 -07:00
util_nscd.c
util_nttoken.c
util_sec.c Move set_thread_credentials_permanently() to set_thread_credentials() 2012-07-11 03:54:00 +02:00
util_sid_passdb.c s3:lib/util_sid_passdb make use of pdb_is_responsible_for_* functions 2013-06-21 10:44:20 +02:00
util_sid_passdb.h s3:passdb: add sid_check_object_is_for_passdb() 2012-12-03 08:48:30 +01:00
util_sid.c s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups. 2012-07-23 22:12:29 +02:00
util_sock.c lib: Remove unused "get_peer_name" 2013-08-12 17:25:52 +12:00
util_str.c lib: Fix CID 241650 Sizeof not portable 2013-05-12 17:44:55 +02:00
util_tdb.c util_tdb: add function tdb_data_string() 2013-04-18 13:15:11 +02:00
util_transfer_file.c s3-lib: Cleanup transfer_file_internal() a bit. 2012-12-21 13:56:01 +01:00
util_tsock.c
util_unixsids.c lib/util: Remove dummy wrapper for getgrnam(). 2012-03-24 15:25:48 +01:00
util_wellknown.c security: add local authority well-known SIDs 2011-11-24 19:01:08 +01:00
util.c Fix bug #10063 - source3/lib/util.c:1493 leaking memory w/ pam_winbind.so / winbind 2013-08-24 02:28:28 +02:00
version_test.c
version.c
winbind_util.c
winbind_util.h
wins_srv.c lib: Add a "mem_ctx" arg to gencache_get (unused so far) 2013-09-05 09:16:23 -07:00
xattr_tdb.c s3: Fix the build on FreeBSD 2012-04-19 19:13:45 +02:00
xattr_tdb.h s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob 2012-04-18 12:05:00 +10:00