Age | Commit message (Collapse) | Author | Files | Lines |
|
smbtorture to use the new interface.
Part 2 will be to eliminate cli_state from smbtorture as this is now
the only place where it is used.
(This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
|
|
tridge:
I'll convert all stuff first to this scheme
and then move to the scheme with two files per subsystems
so we'll later something like config.m4 and config.mk...
metze
(This used to be commit 39e1a9b0c55138695e9736612b62ddada157d690)
|
|
metze
(This used to be commit 2173efba143c633fee599b6e188ed7f66b9bb87f)
|
|
documented in it's self-help for RPC tests.
Andrew Bartlett
(This used to be commit 49b52cdbfe26dd7afe74aeb4596a4fd34806dabe)
|
|
e.g.
ncacn_np:myserver:[samr,sign,print]
will now enable the packet debugging
and the debugging is not bound anymore to the debuglevel >= 2
in the torture tests
- also the dcesrv_remote module now supports debugging of the packets
use the 'dcerpc_remote:binding' smb.conf parameter.
metze
(This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
|
|
use a temporary copy of the struct!
metze
(This used to be commit 372522c64f2aea76b3fe136752d4da40e61d2bec)
|
|
metze
(This used to be commit 041dc8c83df21c4cff9a62b9381ebc68b3876e77)
|
|
SMB_SUBSYSTEM() scheme
- some const fixes in ntvfs
metze
(This used to be commit af89a78123068767b1d134969c5651a0fd978b0d)
|
|
metze
(This used to be commit 4597643e76a34397cd2344a91d7045163ea7a942)
|
|
metze
(This used to be commit 47a240d7b833542937a1b93829c1cf8baae2ffc5)
|
|
and create the SMB server subsystem
- remove unused XML and MYSQL configure tests
metze
(This used to be commit 956d212c83d8ebd8e31ec109f17dc2105ca72c30)
|
|
metze
(This used to be commit d634a78faef8f59266f253bac76585ec79ff1b54)
|
|
metze
(This used to be commit a2beaa0823f899ae9f49c2e624f5e10263c5c26b)
|
|
fix PROTO_OBJS ... fix make proto on some platforms
metze
(This used to be commit 5346756a65af12aed1696318e41ea0deab1c7fda)
|
|
I plan to convert all objectfile group to use SMB_SUBSYSTEM
later I'll add a SMB_BINARY() and SMB_LIBRARY(), then there will be no more need
to touch Makefile.in, because all make rules will be autogenerated by configure
- convert the PROCESS_MODEL subsystem to this new scheme
and move the pthread test to smbd/process_model.m4
- convert the CHARSET subsystem to this new scheme
and move the iconv test to lib/iconv.m4
(This used to be commit 2e57ee884ebea194ee79ac20e84e385481b56aa2)
|
|
metze
(This used to be commit 5ac4f878687eb0fa95a2e5830a8372168a27d3b3)
|
|
so just do a DEBUG(0,("..."));
metze
(This used to be commit c087ff38b0c67a2246214c1303b045e6a7c2aa4a)
|
|
we maybe need the util_smbd.c code later but this should not be in the lib/ dir
metze
(This used to be commit 2149d414079cefc956bc9a50e30b7bb423f4aca6)
|
|
(This used to be commit 64e064c4971a361a41b80ac47757e8581448f523)
|
|
so use ./build/pidl/pidl.pl
metze
(This used to be commit 7aab10d507346ac8d748558e5b9dbcfe9a56f601)
|
|
metze
(This used to be commit ae37d9bb3f570a069d5a0492a1ecac9a4d14a7f5)
|
|
lib/util_smbd.c is not used anymore
reorder the SMB_MODULE() parameters the goal is to autogenerate the
make rules for shared modules:
dnl SMB_MODULE(1:name,2:subsystem,3:default_build,
4:object_files,5:shared_object,6:libs
7:whatif-static,8:whatif-shared,9:whatif-not)
and generate <SUBSYSTEM>_LIBS and MODULE_<name>_LIBS with the SMB_MODULE() macro
metze
(This used to be commit 904ce91ed9e3b26d591278984ae32fa99bac01fd)
|
|
ldap and krb5 configure tests
libads/*.c and libcli/raw/clikrb5.c from 3.0
metze
(This used to be commit 64b5bfcd73d7626d6f687a641b11e64821144df7)
|
|
--with-acl-support
--with-sendfile-support
--with-manpages-langs
--with-utmp
--with-quotas
--with-nisplus-home
--with-profiling-data
--with-syslog
--with-pam_smbpass
--with-pam
--with-smbmount
--with-automount
--with-dce-dfs
--with-afs
--with-smbwrapper
poll and poll.h
I'm sure we need some of this but e.g. acl, sendfile and quotas belong
only to the posix ntvfs module, so the tests will to into a seperate config.m4
file, when we need them...
metze
(This used to be commit 9bf405dd40c2133700a55fc6e163e975b4e62a66)
|
|
this script finds unused lp_*() functions
use it like this:
user@host:~/samba/source>./script/find_unused_options.sh
metze
(This used to be commit 350fbe3440e28bcb26f9a9e8b999b0c4a70de64d)
|
|
I think we should remove a view more,
but step by step:-)
metze
(This used to be commit 534ccc5332d16c395847885e3b793d10b67b9855)
|
|
and exclude some files from Makefile.in
metze
(This used to be commit f77990cf2496f72d02566f09477349436be3dfcd)
|
|
- fix mem leak in process.c
metze
(This used to be commit d82ada11377e7613fc7c48afa9ef5f8a2e54233c)
|
|
(which were already removed in revision 1.37 and
readded by mistake in revision 1.39)
- change the SMB_MODULE() macro a bit
Now we have:
dnl Specify the default build method of this module
dnl SMB_MODULE_DEFAULT(name,default_build)
AC_DEFUN(SMB_MODULE_DEFAULT,...
dnl Mark specified module as shared
dnl SMB_MODULE(name,default_build,static_files,shared_files,subsystem,whatif-static,whatif-shared,whatif-not)
this let us specify the default build method inside of the included config.m4
files
metze
(This used to be commit 92a3eb83d4bb07a7f1f87232e26831d05ab42915)
|
|
metze
(This used to be commit e7694095d3c3f2e18ec2c05f74541dbb7954d79d)
|
|
metze
(This used to be commit 24dc237e109f6dce69814b22e0fb7878a7f6bfa8)
|
|
(This used to be commit dee59bec8413799aa66b37d5baace7dd2e782801)
|
|
Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where
the failure of our LFS test on ia64 caused the _GNU_SOURCE define not to be
added, causeing strndup() not to be defined...
This was due to strdup() bein implicitly declared, and casting
pointer->int->pointer.
I'll into when we really should define _GNU_SOURCE shortly, but the
fix is correct anyway.
Andrew Bartlett
(This used to be commit f1cf5b8aa9897b79dfd00b963bc3803b6ff00dcb)
|
|
- handle SIBABRT with a backtrace
metze
(This used to be commit e9f584143d5bbcbbdaaac2c231efd85c7bd5a922)
|
|
('cvs ci filename' should be my friend:-)
get rid of some more global unconst vars.
I didn't find a referenz of this vars:
SIG_ATOMIC_T reload_after_sighup = 0;
SIG_ATOMIC_T got_sig_term = 0;
tridge: is it ok to remove them?
it compiles for me
metze
(This used to be commit b34a3104c63b36cec47acdedef36caaf571eb383)
|
|
- implement the interface_by_name() and interface_by_uuid() hooks
for the autogenerated dcerpc server boilerplates.
metze
(This used to be commit 0b6a291eb4b353259ad5b72f8731a5504d9dc8c7)
|
|
metze
(This used to be commit 61ec710518469876ccc48d57b5fee5d6ead3d482)
|
|
- fix the case when we have no fd_events left on the event_context
we now exit after doing the timed events and not block in select()
waiting for no fd's to become ready...
metze
(This used to be commit 857e76ef6b891c199534db6ce229410340286461)
|
|
so it now apears in the text section of
'size librpc/gen_ndr/tables.o'
metze
(This used to be commit f3b917402aeb9d749abf2df34413e61b71fd5fff)
|
|
(This used to be commit 866ef2edab91996964c8b43dbdd417f5908a00e1)
|
|
structure
and NULL on allacation error.
metze
(This used to be commit fffc6cfb6b9946155d209dd14faa79c5b9d43d1d)
|
|
(This used to be commit eb6fc29caf5be8446c31668748a5cce387c71627)
|
|
incorrect policy handle
(This used to be commit 8cd6e90eb8716ba43f5940245d7be580aab4ba83)
|
|
handles are not shared between open dcerpc connections, even when
those connections are on the same SMB socket. I have tested this with
w2k3, w2k and NT4. It seems that policy handles have a strict scope of
the dcerpc connection on which they were opened.
I realise that this goes against existing folk-law in the team, but it
seems that the previous testing (I'm not sure who did this?) was
wrong. Perhaps clients do send us policy handles from other
connections, but if they do then the correct thing to do is to fail
the operation with a dcerpc fault. I suspect that failing it with
exactly the right dcerpc fault code is important.
(This used to be commit 2ed24d29bafd9055d5782acdd595cd0f378a651a)
|
|
through a read. This happens to also avoid a memcpy on output for
dcerpc over tcp.
(This used to be commit e7c53ad1856e299d82d84b5837189ae3191c32de)
|
|
common case of there being no pending partial data and a full dcerpc
packet being received.
We should use this same model for the smb server. It gives us
efficient memory usage while allowing for completely async socket
operations.
(This used to be commit 9aab321fb6e2f3499efd8ca5bc88ce2cb8e68219)
|
|
and let this be called by make [un]install
we can later change this and the make all
to not do the torture stuff, but for know only developers will
use samba4...
metze
(This used to be commit cb5f1e581fcb9eaf36926c3f341b0ab784031282)
|
|
and some stuff from configure.in and dynconfig.[ch]
make all
makes
bin/gentest bin/masktest bin/smbd
bin/locktest bin/smbclient bin/smbtorture
bin/ndrdump
now
metze
(This used to be commit e0043693a66a319ab7fef0e4202239c0b5d4bff8)
|
|
(This used to be commit 2372321eedb6d446c1555ed318bd98743cabaaa0)
|
|
(This used to be commit 6319166420ba7cd7bb3a69d88510d8e6216c7c89)
|