| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
metze
|
|
|
|
|
|
| |
and add server_auth, server_smb, server_rpc as server modules
metze
|
|
|
|
|
|
|
| |
allowing us to use a more standard debug format.
If you want it even smaller than I recommend the
-feliminate-dwarf2-dups option, if your version of gcc supports it.
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
| |
|
|
|
|
|
|
|
| |
use Data::Dumper for config.smb_build.dump
when --enable-debug
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit kills passdb, which was only hosting the auth subsystem.
With the work tridge has done on Samba4's SAM backend, this can (and
now is) all hosted on ldb. The auth_sam.c file now references this
backend.
You will need to assign your users passwords in ldb - adding a new line:
unicodePwd: myPass
to a record, using ldbedit, should be sufficient. Naturally, this
assumes you have had your personal SAMR provisioning tutorial from
tridge. Everybody else can still use the anonymous logins.
Andrew Bartlett
|
|
|
|
|
|
| |
this will help in the build farm
metze
|
|
|
|
|
|
|
|
| |
to the main SAMBA_4_0 tree.
NOTE: that it's not completely ready, but it's functional:-)
metze
|
|
|
|
|
|
|
| |
python interface to tdb and a rudimentary build system.
Configure with --with-python and make swig to build and append
$(builddir)/scripting/swig/python to PYTHONPATH.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libads/config.m4 :-)
- Move sendfile check to ntvfs/config.m4
- Move comparison_fn_t check to build/m4/rewrite.m4
Please do not new tests to configure.in directly,
please add them to the subsystems config.m4 file where they belong to or
to build/m4/rewrite.m4 if you don't know where to put it for now
Thanks
I know samba4's build system is not completly rewritten.
I have a lot of updatest in my local tree, but it's not complete yet
when it's complete I'll write documentation for it:-)
metze
|
|
|
|
|
|
| |
sendfile
in the SMBread etc calls. This looks easy to do ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
breakage
caused by someone recently ...
1. Add configure check HAVE_COMPARISON_FN_T to see if this is defined. I
have not checked this on Linux yet, but will do so soon.
2. Add the definitions of malloc_p, realloc_p etc.
3. Check for LDAP and don't build stuff that depends on LDAP if we don't\
have it.
It currently builds on FreeBSD but there is one warning printed out at the end.
|
|
|
|
| |
- fixed build of the ldb registry backend
|
|
|
|
| |
see source/lib/registry/TODO for details.
|
|
|
|
|
|
|
|
|
| |
including readline and popt
- creat the CONFIG subsystem
including param/* dynconfig.* and passdb/secrets.*
metze
|
|
|
|
|
|
| |
from tests/*.c to build/tests/*.c
metze
|
|
|
|
|
|
|
|
|
|
|
| |
we should get rid of this file in the end:-)
the tests should go into subsystems config.m4 files
the goal is to know which tests belong to what code
and remove unused tests to make configure a bit faster
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
LIBBASIC, LIBSMB are the new global subsystems
metze
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
SMB_SUBSYSTEM() scheme
- some const fixes in ntvfs
metze
|
|
|
|
|
|
|
|
| |
and create the SMB server subsystem
- remove unused XML and MYSQL configure tests
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
ldap and krb5 configure tests
libads/*.c and libcli/raw/clikrb5.c from 3.0
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--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
|
|
|
|
|
|
| |
- fix mem leak in process.c
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.) We now register endpoint servers add startup via register_backend()
and later use the smb.conf 'dcerpc endpoint servers' parameter to setup the dcesrv_context
2.) each endpoint server can register at context creation time as much interfaces as it wants
(multiple interfaces on one endpoint are supported!)
(NOTE: there's a difference between 'endpoint server' and 'endpoint'!
for details look at rpc_server/dcesrv_server.h)
3.) one endpoint can have a security descriptor registered to it self
this will be checked in the future when a client wants to connect
to an smb pipe endpoint.
4.) we now have a 'remote' endpoint server, which works like the ntvfs_cifs module
it takes this options in the [globals] section:
dcerpc remote:interfaces = srvsvc, winreg, w32time, epmapper
dcerpc remote:binding = ...
dcerpc remote:user = ...
dcerpc remote:password = ...
5.) we currently have tree endpoint servers: epmapper, rpcecho and remote
the default for the 'dcerpc endpiont servers = epmapper, rpcecho'
for testing you can also do
dcerpc endpoint servers = rpcecho, remote, epmapper
dcerpc remote:interfaces = srvsvc, samr, netlogon
6,) please notice the the epmapper now only returns NO_ENTRIES
(but I think we'll find a solution for this too:-)
7.) also there're some other stuff left, but step by step :-)
This patch also includes updates for the
register_subsystem() , ntvfs_init(), and some other funtions
to check for duplicate subsystem registration
metze
(hmmm, my first large commit...I hope it works as supposed :-)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Makefile.in configure.in include/includes.h include/ntvfs.h
CVS: include/smb.h lib/iconv.c lib/module.c ntvfs/ntvfs_base.c
CVS: ntvfs/cifs/vfs_cifs.c ntvfs/ipc/vfs_ipc.c
CVS: ntvfs/posix/vfs_posix.c ntvfs/print/vfs_print.c
CVS: ntvfs/reference/vfs_ref.c ntvfs/simple/vfs_simple.c
CVS: passdb/pdb_interface.c
CVS: Added Files:
CVS: include/module.h
CVS: ----------------------------------------------------------------------
Update to the modules system. Fixed:
- get rid of smb_probe_module
- merge older updates from 3.0
- introduced register_subsystem() and register_backend() functions
- adapt ntvfs and charset to use new register functions
- made smb_load_modules() work recursively (e.g. 'preload modules = /usr/lib/samba')
- got rid of some old remains
Things that still need work:
- Did I break tankFS? I don't think so, but I can't test it here :-(
- Add 'postload modules = ' (for modules that need to be loaded after fork() in smbd, if applicable)
- Convert RPC, auth, passdb, etc to use new register_{subsystem,backend}() functions
- Accept wildcards in 'preload modules' option, instead of loading recursively
|
| |
|
| |
|
| |
|
|
|
|
|
| |
needed - for example I have tested autoconf 2.52 on suse 7.3 and it
works fine
|
|
|