summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman1-1/+1
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2009-02-23s3-spoolss: remove cli_spoolss_notify.c completly.Günther Deschner1-1/+1
All of the spoolss change notify code uses pidl generated functions now. Guenther
2009-02-22For some unknown reason ldbrename was not being built in samba3.Simo Sorce1-1/+8
2009-02-20Introduce a new passdb backend: pdb_onefs_samDan Sledz1-0/+4
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.
2009-02-20Introduce a new authentication backend auth_onefs_wbDan Sledz1-0/+5
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
2009-02-20Moved become_daemon() and close_low_fds() to shared util libSteven Danneman1-1/+2
2009-02-20s3: OneFS implementation of change notifySteven Danneman1-2/+3
The OneFS Samba implementation of change notify is modeled after the usage of Linux's inotify kernel subsystem. A single call is made into the onefs.so VFS module to initialize kernel tracking of certain file change events. When these events occur a kernel notification is sent to smbd and the notification event is translated and given to the general Samba Change Notify layer through a callback function. The most difficult aspect is converting an SMB CompletionFilter to a matching ifs_event mask, and then back to an appropriate change notify action. Currently, not all possible cases are handled by the this module, but the most prevalent ones, which are tested by smbtorture, are implemented.
2009-02-19s3 OneFS: Add shadow copy moduleTim Prouty1-0/+5
2009-02-13s3: Test module for perfcount systemtodd stecher1-0/+5
Add 'perfcount module = pc_test' to exercise this module. Results are logged into smb.log every 50 operations (configurable via smb.conf).
2009-02-13OneFS implementation of BRL VFS ops:Zack Kirsch1-1/+2
* 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.
2009-02-12Fix "make etags" properly :-)Volker Lendecke1-36/+1
2009-02-12s3-spoolss: add init_systemtime helper.Günther Deschner1-0/+1
Guenther
2009-02-11Added nsswitch/ object files to make cleanSteven Danneman1-5/+4
* also removed duplicate paths to lib directories in make clean
2009-02-11s3:build: some implementations of "ln" are picky about the order of argumentsMichael Adam1-15/+15
Michael
2009-02-10If we receive a DOS error code, nt_errstr should display itVolker Lendecke1-2/+2
2009-02-09s3: OneFS bulk directory enumeration supportSteven Danneman1-1/+1
OneFS provides the bulk directory enumeration syscall readdirplus(). This syscall has the same semantics as the NFSv3 READDIRPLUS command, returning a batch of directory entries with prefetched stat information via one syscall. This commit wraps the readdirplus() call in the existing POSIX readdir/seekdir VFS interface. By default a batch of 128 directory entries are optimistically read from the kernel into a global cache, and fed to iterative calls of VFS_OP_READDIR. The global buffers could be avoided in the future by hanging connection specific buffers off the conn struct. Added new parameter "onefs:use readdirplus" which toggles usage of this code on or off.
2009-02-09s3 OneFS: Add kernel oplocks implementationTim Prouty1-1/+1
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.
2009-02-09S3 OneFS: Add in Isilon specific performance counter moduletodd stecher1-0/+5
2009-02-09S3: New module interface for SMB message statistics gatheringtodd stecher1-2/+6
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.
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin1-2/+3
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later.
2009-02-06s3-spoolss: prepare to use generated spoolss.Günther Deschner1-3/+6
Guenther
2009-02-05spoolss: move ndr spoolss helper to main librpc dir.Günther Deschner1-0/+3
Guenther
2009-02-04s3-eventlog: w00t! remove last traces of old eventlog rpc marshalling.Günther Deschner1-1/+1
spoolss, I'm coming! Guenther
2009-02-04s3-eventlog: remove old eventlog server.Günther Deschner1-1/+1
Guenther
2009-02-04s3-net: add "net eventlog dump".Günther Deschner1-4/+7
This allows to dump a native (non-wrapped) win32 *.evt eventlog file. Guenther
2009-02-03s3-eventlogadm: add command to dump stored tdb entries.Günther Deschner1-1/+3
Guenther
2009-02-03s3:selftest: run test_posix_s3.sh testsStefan Metzmacher1-1/+3
metze
2009-02-03s3:build: pass the path to smbtorture4 down to make with and without '-t' prefixStefan Metzmacher1-1/+2
metze
2009-02-02s3:build: fix typo introduced in "fix build without shared libs"Michael Adam1-1/+1
Michael
2009-02-02s3:build: fix linking of bin/net when shared libs have been disabledMichael Adam1-1/+1
Michael
2009-02-01shared: Move dom_sid_* utility functions to top levelKai Blin1-2/+2
2009-02-01Split up async_req into a generic and a NTSTATUS specific partVolker Lendecke1-1/+1
2009-02-01fix build with external dns_sd librariesBjörn Jacke1-1/+1
2009-01-30Add the "SMBD" rpc transportVolker Lendecke1-1/+1
The idea of this is that all client utils like smbpasswd and also for example "net join" do not access our internal databases like passdb and secrets.tdb directly anymore but pass everything throught the well-established RPC interfaces. The way you use this is the following: With rpc_cli_smbd_conn_init() or its async variant you initialize a "struct rpc_cli_smbd_conn". This structure is the link to a freshly forked smbd, ready to be used for RPC services. You should only ever have one such structure in your program. More don't hurt, but are plainly unnecessary. If you want to use the SAMR pipe to change a passwort, you connect to that pipe with rpc_pipe_open_local. Do you normal rpccli_samr calls on that and your locally forked smbd will connect to passdb for you. GD, this might make the distinction between the _l and _r calls in libnetapi mostly unnecessary. At least it is intended to do so... :-)
2009-01-29s3:configure: autodetect ctdb/cluster supportStefan Metzmacher1-1/+0
We need to make sure ctdb has transaction support and we autodetect ipv6 support. metze
2009-01-29selftest: fix Samba3 bugsStefan Metzmacher1-1/+2
metze
2009-01-28async_sock: Move to top levelKai Blin1-1/+1
2009-01-28s3: try to make 'make selftest' work againStefan Metzmacher1-2/+5
metze
2009-01-28s3:build: don't use $(FLAGS) in linking targets - it is uselessMichael Adam1-58/+58
Michael
2009-01-28s3: separate tdb validation code out into its own source fileMichael Adam1-1/+4
So this gets now linked only into its single user: winbindd (needed by winbindd_cache.c) Michael
2009-01-27s3 build: Eliminate the gmake-specific Makefile syntaxTim Prouty1-13/+3
2009-01-26s3 make test: Add the ability to specify a custom smb.conf for make testTim Prouty1-2/+16
- Adds new -c <custom conf> option to selftest.sh that when specified adds a line to make test's server.conf: "include <custom conf>" - Adds getopts processing to selftest.sh - Changes selftest.sh shrdir arg to use -s <shrdir> - Changes selftest.sh smbtorture4_path arg to use -t <smbtortur4 path> - Adds configure option --with-selftest-custom-conf=<custom conf> - Updates Makefile.in to take advantage of the new/changed parameters
2009-01-23async_req: Move to top level dirKai Blin1-1/+1
2009-01-22Add the socket rpc client transportVolker Lendecke1-1/+2
2009-01-22Add the named pipe rpc client transportVolker Lendecke1-1/+1
2009-01-22RPC_CLIENT_OBJ is the right variable for cli_pipe.oVolker Lendecke1-2/+2
2009-01-21libsmbconf: move the non-registry parts of libsmbconf to top levelMichael Adam1-2/+3
Michael
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman1-2/+7
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-11s3: Add OneFS alternate data streams implementationTim Prouty1-1/+1
2009-01-09start rpcclient epmapperVolker Lendecke1-1/+1