summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-04-18s3-dbwrap: Add talloc_stackframe() callsAndrew Bartlett1-5/+21
This is in preperation for calling dbwrap from common code, where we may not have a stackframe set up. Andrew Bartlett
2012-04-18build: Remove more of the s3 special cases in waf: only pidfile.c needs ↵Andrew Bartlett1-1/+7
-DCONFIGFILE
2012-04-17s3-waf: Add possibility to build with system libsmbclient.Andreas Schneider2-34/+41
2012-04-17s3-waf: Fix client/smbclient dependencies.Andreas Schneider1-7/+7
2012-04-17s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous()Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
2012-04-17s3:libsmb/ntlmssp: improve anonymous loginsStefan Metzmacher1-2/+3
smbtorture3 (and maybe others) use fstrings for 'user' and 'password', so we need to check for empty strings. metze
2012-04-17s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()Stefan Metzmacher2-0/+16
metze
2012-04-17s3:libsmb/ntlmssp: remove some indentation in ntlmssp_set_password()Stefan Metzmacher1-18/+20
metze
2012-04-17Revert "s3:libsmb/ntlmssp: an empty string should mean no password"Stefan Metzmacher1-1/+1
This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d.
2012-04-17s3: Add smbstatus -N to output the notify dbVolker Lendecke3-1/+42
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 17 11:54:35 CEST 2012 on sn-devel-104
2012-04-17s3: Add "notify-cleanup" to smbcontrolVolker Lendecke1-0/+13
This triggers a notify cleanup run which would normally only run periodically
2012-04-17s3: New notify implementationVolker Lendecke7-758/+1080
From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster
2012-04-17s3: Add two notify benchmark testsVolker Lendecke5-0/+727
2012-04-17s3: Make torture_nprocs globally availableVolker Lendecke1-19/+19
2012-04-17s3: Make ctdbd_messaging_send_blob available in non-clustered modeVolker Lendecke1-1/+10
This will avoid the need for some #ifdefs
2012-04-17s3: Make messaging_ctdbd_connection available in non-clustered modeVolker Lendecke1-0/+9
This might make some #ifdef CLUSTER_SUPPORT unnecessary in the future
2012-04-17s3: Implement tevent_barrierVolker Lendecke3-0/+235
This will help notify torture tests: A tevent barrier can be waited on with tevent_barrier_wait_send/recv. The barrier is initialized with a number of requests that it will accept waiting. When that number is reached, all those requests will be released and their callback will be called. The barrier will be free for re-use again.
2012-04-17s3: Start a list of ctdb srvid assigmentsVolker Lendecke1-0/+40
2012-04-17s3: Introduce ctdb_messaging_send_blobVolker Lendecke2-20/+23
Send a raw blob without the messaging.idl wrap
2012-04-17s3: Add msg_channelVolker Lendecke7-0/+551
This is a tevent_based variant of messaging_register
2012-04-17s3: Add messaging_tdb_event()Volker Lendecke2-0/+13
This is a void* that represents a signal handler attached to some custom tevent_context. This is necessary to make the tdb based messaging infrastructure trigger its business when we are sitting in tevent_loop_once for an event context that is not the main one in the messaging context.
2012-04-17s3: Add a second ctdb connect libraryVolker Lendecke7-0/+931
The existing one is not async at all.
2012-04-17s3: Add dbwrap_try_fetch_lockedVolker Lendecke8-16/+97
This is designed to spread the load on individual ctdb records to allow upper layers to do backoff mechanisms. In the ctdb case, do not get the record if a local lock is already taken. If we are not dmaster, do at most one migrate attempt. For the tdb case, this is a nonblocking fetch_locked. If someone else has the lock, give up.
2012-04-17s3: Add dbwrap_cacheVolker Lendecke4-1/+244
This is a caching layer for the notify database and potentially for the brlock database. It caches the parse_record operation as long as the underlying seqnum does not change.
2012-04-17s3: Open up 3 levels of dbwrap_lock_orderVolker Lendecke2-5/+9
2012-04-17s3: Increase debuglevel for unknown child msgsVolker Lendecke1-1/+1
Now that we have forked background jobs, this spams log.smbd
2012-04-17s3: Add infrastructure for background jobsVolker Lendecke4-0/+274
2012-04-17s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke4-13/+18
All callers had that fallback
2012-04-16s3: switch off kernel oplocks by defaultChristian Ambach1-1/+1
as discussed on samba-technical, turn kernel oplocks off by default to not leave users without the benefits of Level II oplocks
2012-04-16s3: Fix smbclient notify against WindowsVolker Lendecke1-1/+1
We need READ_DATA Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 16 21:27:54 CEST 2012 on sn-devel-104
2012-04-16s3/selftest: Fix reference to knownfail file.Jelmer Vernooij1-1/+1
2012-04-16s3:libsmb: fix anonymous session setups against windows serversStefan Metzmacher1-0/+16
Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze
2012-04-16s3:libsmb/ntlmssp: an empty string should mean no passwordStefan Metzmacher1-1/+1
metze
2012-04-16libcli/smb: move smb2cli_session_setup_*() prototypes to the code.Stefan Metzmacher1-15/+0
metze
2012-04-16s3:smbd/sesssetup: use a helper variable 'action' to mark guest accessStefan Metzmacher1-1/+3
metze
2012-04-16param: leave realm as a normal string, handle upper/lower case in handle_realmAndrew Bartlett1-1/+1
This matches the behaviour of lib/param. Andrew Bartlett
2012-04-16param: harmonise wins parametersAndrew Bartlett1-3/+3
2012-04-16s3-param: make FN_GLOBAL macros consistent, add lp_ using the macroAndrew Bartlett1-250/+250
This will make it easier to share the parameter tables between this and lib/param. Andrew Bartlett
2012-04-16param: Change from _lp to lp__ as the prefix for internal parameter wrappersAndrew Bartlett5-11/+11
This will make a merge with the lib/param param code easier, as we can then paste lp_ to the front of all parameters unconditionally. Andrew Bartlett
2012-04-16make _lp_readraw() and _lp_writeraw() staticAndrew Bartlett2-4/+2
2012-04-16param: harmonsise logfile parameterAndrew Bartlett1-6/+6
2012-04-13rely on sys/inotify.h for inotifyAdrian Bunk3-57/+8
sys/inotify.h was added to glibc 2.4 in 2006. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104
2012-04-13Wrong assertion/comparison: Compare value not pointerOlaf Flebbe1-2/+2
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 02:23:36 CEST 2012 on sn-devel-104
2012-04-12We never cancel SMB1 aio, only SMB2 aio - and in this case we always return ↵Jeremy Allison1-12/+7
a value. So pass_cancel is no longer needed.
2012-04-12Remove cancel_aio_by_fsp(). It can never work and could lead to memory ↵Jeremy Allison3-43/+18
corruption as outstanding IO's complete. Also we never have any aio's on a call to close_normal_file() with close_type ERROR_CLOSE.
2012-04-12Fix return_fn when aio was cancelled. We need to return -1, errno = ECANCELED.Jeremy Allison3-0/+15
2012-04-12Move the counting of outstanding_aio_calls into the lifecycle of the ↵Jeremy Allison1-6/+2
aio_extra struct. This way we can't end up with a mismatch between outstanding events and the counter. We may still have problems with canceling and not correctly freeing the aio struct, but at least the counter won't get out of sync anymore.
2012-04-12Fix the same bug reported by Kirill Malkin ↵Jeremy Allison1-4/+24
<kirill.malkin@starboardstorage.com> and fixed by Volker for vfs_aio_fork as ref 0aacdbfada46329e0ad9dacfa90041a1c7dbf3e8. From that change: aio_suspend does not signal the main process with a signal, it just waits. The aio_fork module does not use the signal at all, it directly calls back into the main smbd by calling smbd_aio_complete_aio_ex. This is an abstraction violation, but the alternative would have been to use signals where they are not needed. However, in wait_for_aio_completion this bites us: With aio_fork we call handle_aio_completed twice on the same aio_ex struct: Once from the call to handle_aio_completion within the aio_fork module and once from the code in wait_for_aio_completion. Fix this differently here by not calling directly back into smbd, but using a new function aio_linux_setup_returns() to setup the return values that wait_for_aio_completion() in the main smbd will pick up by calling handle_aio_completd().
2012-04-12s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 12 23:38:24 CEST 2012 on sn-devel-104
2012-04-12s3: Fix a segfault with debug level 3 on SolarisVolker Lendecke1-1/+2
printf can not deal with NULL strings