| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
(cherry picked from commit 740c2c4366badc62d017881c9484ee5153b62f94)
(cherry picked from commit 172ecfae44768289b98c1bafa7aa2b89dbecc312)
|
|
|
|
| |
(cherry picked from commit 0349dad1633cd9574e0d8c7d2054e4c7dd0fdc21)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 3b028d8609d29de2610d1c91d3098aa6002b90c4)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 993c87495b80caff8ce288a29cd1ce8935224ca2)
(cherry picked from commit 2c158434576bc3921f6de737cf3332c1baf1f4da)
|
|
|
|
|
|
|
|
|
| |
just like for the libs configured with SMB_LIBRARY().
This makes @LIBWBCLIENT_STATIC@ vanish from the object collections.
Michael
(cherry picked from commit baf39de623d39dba6fe0bfed899f9b232f9c1266)
(cherry picked from commit f2bdfbfe7d43ec993806f4783ff089c0972e20dc)
|
|
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c7dba467f268d0007c58e7de4985dc5386a44c6f)
(cherry picked from commit 6a59971f5286e588c87f6d2635e7d36a2ec3aa26)
|
|
|
|
|
|
|
|
|
|
| |
This makes configure actually behave as the comments describe.
The reversal of order was introduced by mistake in
90ea8ae9b1ed3b7ed1c93076517e026e629ea1aa
Michael
(cherry picked from commit a4cc3e253852794f477ef5d836537b50111d0e42)
(cherry picked from commit 8c98c32b9184b7d67a7fef2526fe73a5afb8a34c)
|
|
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 2dc8ce59b28d3a028551ac5087f31cf83d04e064)
(cherry picked from commit 34074d6baa9f667a67aae56e2294b8dabff2b07d)
|
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ffdc2a3fe8437582ded1c4a3b09a54201519889b)
(cherry picked from commit e45edef8261f6c77de181cb896aa36987e5a36b4)
|
|
|
|
| |
(cherry picked from commit 55b7bf7338c13701944169df02ab8e9def6d43a1)
|
|
|
|
| |
(cherry picked from commit 49fc1138b5e4dcf66b84a14ba47cc1da40c764f2)
|
|
|
|
| |
(cherry picked from commit b943e0083f6b0daa226f395158fcf7f467cdacd0)
|
|
|
|
| |
(cherry picked from commit 8cf21c9c7121049329f4d3e86d3021cdd2dec86a)
|
|
|
|
|
| |
Fix the build on HP/UX
(cherry picked from commit 4a4c69d26526294aa6e9b98d34d8495fc3fc65e8)
|
|
|
|
| |
(cherry picked from commit 2364bc8dcd46ca66e06e1dd8d4ed224611d65330)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 36d07858069ed8710a0ad822535074bed77ec130)
(cherry picked from commit 931e48a757d40fb4dd5099560fe31afad201464c)
|
|
|
|
|
| |
(cherry picked from commit 0c72c503faa0506ed25067e623f9263da8e2c94c)
(cherry picked from commit 82f9d29c4b6cd5cc1c5901d801a28c2f649d4205)
|
|
|
|
|
| |
(cherry picked from commit 61447dfbbfe275e3704ff939480f38629b52064a)
(cherry picked from commit 3106e9fac2316cbbb06261f54aa86a7a2e77e2b4)
|
|
|
|
|
|
|
|
|
| |
This bug results in a failure to use linker scripts to limit the set of symbols
exported by our shared libraries.
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c6b570ce30b5cc3631c0ed780826d5450f681800)
(cherry picked from commit 2ef50dfeaca50ce85ed867764b050276fe2c924c)
|
|
|
|
|
| |
AC_TRY_LINK automatically wraps a main(). Double main() causes this test to fail
on some compilers.
|
| |
|
|
|
|
|
|
|
|
| |
This reverts 193be432. The MADVISE_PROTECT is inherited by all child
processes and cannot be unset. The intention of the original patch was
to protect the parent process, but allow children to be killed in low
memory. Since this isn't possible with the current API, reverting the
whole feature.
|
|
|
|
|
|
|
| |
auth_onefs_wb.c -> auth_wbc.c
pdb_onefs_sam.c -> pdb_wbc_sam.c
No changes to functionality
|
|
|
|
| |
* actually check for existance of sysctlbyname()
|
|
|
|
|
|
|
| |
Implements a custom backend for onefs that exclusively uses the wbclient
interface for all passdb calls.
It lacks some features of a standard passdb.
In particular it's a read only interface and doesn't implement privileges.
|
|
|
|
|
|
|
| |
This new backend is custom tailored to onefs' unique requirements:
1) No fallback logic
2) Does not validate the domain of the user
3) Handles unencrypted passwords
|
|
|
|
|
|
| |
Introduce a new configure option --with-wbclient which specifies a
location to find a compatible libwbclient library to link against. This
options is overwritten by --with-winbind
|
|
|
|
|
| |
- Attempt to use syscalls to determine max-open-files value.
- Add in periodic logging when max file limit reached
|
| |
|
|
|
|
|
|
| |
This commit adds a configure argument which allows for setting MADV_PROTECT
in the madvise() API. With this enabled the kernel won't kill SMBD when
it's running low on memory.
|
|
|
|
|
|
|
|
|
|
|
| |
Not only check if it exists and is executable, but also
check whether it accepts the command line "krb5-config --libs gssapi".
Chris Hoogendyk <hoogendyk@bio.umass.edu> has reported configure
failing on a Solaris machine due to krb5-config raising errors on
these options.
Michael
|
| |
|
|
|
|
|
| |
Add 'perfcount module = pc_test' to exercise this module. Results are
logged into smb.log every 50 operations (configurable via smb.conf).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Much of the beginning should look familiar, as I re-used the OneFS oplock
callback record concept. This was necessary to keep our own state around - it
really only consists of a lock state, per asynchronous lock that is currently
unsatisfied. The onefs_cbrl_callback_records map to BLRs by the id.
* There are 4 states an async lock can be in. NONE means there is no async
currently out for the lock, as opposed to ASYNC. DONE means we've locked
*every* lock (keep in mind a request can ask for multiple locks at a time.)
ERROR is an error.
* onefs_cbrl_async_success: The lock_num is incremented, and the state changed,
so that when process_blocking_lock_queue is run, we will try the *next* lock,
rather than the same one again.
* onefs_brl_lock_windows() has some complicated logic:
* We do a no-op if we're passed a BLR and the matching state is ASYNC --
this means Samba is trying to get the same lock twice, and we just need
to wait longer, so we return an error.
* PENDING lock calls happen when the lock is being queued on the BLQ -- we
do async in this case.
* We also do async in the case that we're passed a BLR, but the lock is not
pending. This is an async lock being probed by process_blocking_lock_queue.
* We do a sync lock for any normal first request of a lock.
* Failure is returned, but it doesn't go to the client unless the lock has
actually timed out.
|
|
|
|
| |
Let's just do the test in librt when the first one failed.
|
|
|
|
|
|
| |
AC_CHECK_MEMBERS should be a sufficient check, there's no need to do manual
compile tests. We can also assume that we have ctime and atime members when we
have the mtime member.
|
| |
|
|
|
|
|
|
|
|
|
| |
A few functions in oplocks_onefs.c need to be accessed from the onefs
vfs module. It would be ideal if oplocks were implemented at the vfs
layer, but since they aren't yet, a new header is added to
source3/include to make these functions available to the onefs vfs
module. oplocks_onefs.o doesn't need to be linked into the onefs vfs
module explicitly, since it is already linked into smbd by default.
|
| |
|
|
|
|
|
|
|
| |
This changelist allows for the addition of custom performance
monitoring modules through smb.conf. Entrypoints in the main message
processing code have been added to capture the command, subop, ioctl,
identity and message size statistics.
|
| |
|
|
|
|
| |
Guenther
|
|
|
|
| |
Guenther
|
|
|
|
|
|
| |
This should fix 'make test4'.
metze
|
| |
|
| |
|
|
|
|
| |
Michael
|
| |
|
| |
|
|
|
|
| |
chance to succeed
|