1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

51 Commits

Author SHA1 Message Date
Jelmer Vernooij
b7779be06a r1799: List more uuids. From
http://www.hsc.fr/ressources/articles/win_net_srv
(This used to be commit 8d36dbed8c5bdc82176083b2c6f8d989ae903ba5)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
fa8d37adae r1756: merge volkers ldap client lib to samba4 for simo to start with the
ldap server code

it's not compiled in yet...

metze
(This used to be commit 48939adca1332ff90f9287311c0e9ff3e2e5917a)
2007-10-10 12:57:54 -05:00
Jelmer Vernooij
396a729686 r1449: Use the config system somewhat better in libcli/auth
(This used to be commit 69de0d95c585c1a73072e921884cbd427c160176)
2007-10-10 12:56:57 -05:00
Jelmer Vernooij
e3fd2d0492 r1432: - Move the various Gtk-specific parts from the registry code into a directory gtk/
- Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc)
- Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later.

Some screenshots available at:
 http://samba.org/~jelmer/gwcrontab/
(This used to be commit d321cf20f1f0ff33603b013c26d370669f255868)
2007-10-10 12:56:55 -05:00
Stefan Metzmacher
c6dfa0cc3d r968: use sinlcude() and no function, that's more portable between
autoconf versions

metze
(This used to be commit 9fa83ca022f2ca2e9e5d3d738beefcf9f90cfcff)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
9318fdbb33 r967: move some configure checks to seperate files
metze
(This used to be commit 2d109074e8be712a6eb0cfc76439176e3dcdee3a)
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
6ac53d211d r866: convert the rest of the binaries to config.mk files
metze
(This used to be commit 0f8c193ac35572862b0d653dc02a71ebc71e88a8)
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
9425495e30 r864: convert the smbd/* code to a config.mk file
and add server_auth, server_smb, server_rpc as server modules

metze
(This used to be commit ecdeedb2ac81a3c816f7d72b6f39f16dd6e6267f)
2007-10-10 12:56:13 -05:00
Andrew Tridgell
39696f7804 r813: gcc has fixed its huge debug sizes with -g now, so drop the -gstabs,
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.
(This used to be commit a11340a971af24d9dcab720f92483b0dafa01142)
2007-10-10 12:53:52 -05:00
Stefan Metzmacher
a25fdd97ee r771: don't know why but the SMB_INCLUDE_M4() didn't work correct
metze
(This used to be commit 2bb9f4adc049c82f390facc78bf32824ea1b88d9)
2007-10-10 12:53:50 -05:00
Stefan Metzmacher
25b69856ec r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()
metze
(This used to be commit afbe692b47f4aa6ebe2155927be00197fafe13f3)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
e00158710e r729: fix the build : inlcude lib/tdb/config.m4
metze
(This used to be commit c563b3bf8389e4cc3ae0185efcfa9291f9a61de6)
2007-10-10 12:53:45 -05:00
Stefan Metzmacher
c731e565da r726: fix the build: libcli/raw/clirewrite.o is gone:-)
metze
(This used to be commit 17c95831485d966058d9d2b8d6c129b0057622f9)
2007-10-10 12:53:45 -05:00
Andrew Tridgell
5767c10773 r718: removed some more unused code, and two source files
(This used to be commit a9768c25fd32e76514c837f343f2b52bf0f0824d)
2007-10-10 12:53:44 -05:00
Stefan Metzmacher
3f564db67d r688: add --enable-experimental
use Data::Dumper for config.smb_build.dump
when --enable-debug

metze
(This used to be commit 0fd558de796e5798279e8252a7f0d4efdd3a86e6)
2007-10-10 12:53:42 -05:00
Andrew Bartlett
d12e825042 r685: The SAM is dead! Long live the new SAM! ;-)
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 used to be commit 2aa0b55fb86648731d5f2201fa5a6aa993b7ca48)
2007-10-10 12:53:42 -05:00
Stefan Metzmacher
6e70a689a3 r669: display the version on top of configure
this will help in the build farm

metze
(This used to be commit 05c53de97ee98ae27b064d15085606b041307bc2)
2007-10-10 12:53:40 -05:00
Stefan Metzmacher
f236700ef6 r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree.

NOTE: that it's not completely ready, but it's functional:-)

metze
(This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
2007-10-10 12:53:36 -05:00
Tim Potter
75eef34a23 r383: Scripting extensions using swig. This commit includes only a (LGPL)
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.
(This used to be commit bbc15d6f84b6a247ae87b253752a86a38f1d6798)
2007-10-10 12:51:36 -05:00
Stefan Metzmacher
91b30df39b r147: - Remove dublicate ldap tests (richard the current test is in 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
(This used to be commit 31c23f14d60a4aa41e0500e369f25ed6dc7ddae7)
2007-10-10 12:51:11 -05:00
Richard Sharpe
b65824f3f6 r142: Add detection of sendfile to configure.in so I can add support for sendfile
in the SMBread etc calls. This looks easy to do ...
(This used to be commit bd3cdbb0f50f0a3c7a24cdaf0d8921a962b88dbe)
2007-10-10 12:51:11 -05:00
Richard Sharpe
177777b055 r141: A number of changes to get things working on FreeBSD and reduce the 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.
(This used to be commit 7b34fbe0f2ef175e5504e34e4f3cdf9a0563970f)
2007-10-10 12:51:11 -05:00
Andrew Tridgell
42889e5e1e r134: - added ldb to the build of smbd
- fixed build of the ldb registry backend
(This used to be commit 0b66590330603efaa816fd2348c05a994a1580ef)
2007-10-10 12:51:10 -05:00
Jelmer Vernooij
c424c2b857 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)
2007-10-10 12:50:33 -05:00
Stefan Metzmacher
42887e406a - creat the LIBCMDLINE subsystem
including readline and popt

- creat the CONFIG subsystem
  including param/* dynconfig.* and passdb/secrets.*

metze
(This used to be commit bfd7fd21c8e38c0065fc41dde10e863a169878c2)
2004-02-22 13:09:51 +00:00
Stefan Metzmacher
7653fc6835 move external configure test programs
from tests/*.c to build/tests/*.c

metze
(This used to be commit dea3a3acbfe2341f9276ceaec2a42f0931e2c336)
2004-02-13 15:20:52 +00:00
Stefan Metzmacher
f08565bd3a move all old configure checks to build/m4/rewrite.m4
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
(This used to be commit 3abb0fd19b27261e2b9fa46f287162be8f096913)
2004-02-13 15:03:46 +00:00
Stefan Metzmacher
6647ff7430 move -lpopt replacement code from source/popt/* to source/lib/popt/*
metze
(This used to be commit 9d1018557fdc51cada1ad082d85c0dc48e1b3072)
2004-02-12 14:21:44 +00:00
Stefan Metzmacher
45e446248d move more code to the config.m4 scheme
LIBBASIC, LIBSMB are the new global subsystems

metze
(This used to be commit a25c167b3f13031ba992b2d3f74387bdfffbf5b0)
2004-02-12 06:02:32 +00:00
Stefan Metzmacher
f0c9a54b30 add the TORTURE SUBSYSTEM to the config.m4 scheme
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)
2004-02-05 12:16:29 +00:00
Stefan Metzmacher
1c798aba40 - port AUTH and PASSDB subsystems to new
SMB_SUBSYSTEM() scheme

- some const fixes in ntvfs

metze
(This used to be commit af89a78123068767b1d134969c5651a0fd978b0d)
2004-02-03 11:10:56 +00:00
Stefan Metzmacher
26ecaa3226 - move all SMB server stuff to smb_server/*
and create the SMB server subsystem

- remove unused XML and MYSQL configure tests

metze
(This used to be commit 956d212c83d8ebd8e31ec109f17dc2105ca72c30)
2004-02-03 05:47:36 +00:00
Stefan Metzmacher
b2f097ad38 remove some unused stuff
metze
(This used to be commit d634a78faef8f59266f253bac76585ec79ff1b54)
2004-02-02 14:48:40 +00:00
Stefan Metzmacher
c61089219b - we now specify the object files in the subsystems config.m4 file
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)
2004-02-02 13:43:03 +00:00
Stefan Metzmacher
670ccc7d64 merge:
ldap and krb5 configure tests
libads/*.c and libcli/raw/clikrb5.c from 3.0

metze
(This used to be commit 64b5bfcd73d7626d6f687a641b11e64821144df7)
2004-02-01 11:26:25 +00:00
Stefan Metzmacher
0d90f4b47b remove unused configure checks and options
--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)
2004-01-29 16:08:19 +00:00
Stefan Metzmacher
607d6948f2 - cosmetic fix in configure.in
- fix mem leak in process.c

metze
(This used to be commit d82ada11377e7613fc7c48afa9ef5f8a2e54233c)
2004-01-28 15:47:20 +00:00
Stefan Metzmacher
7de61be924 - remove all STFS related stuff
(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)
2004-01-28 15:43:18 +00:00
Andrew Bartlett
0ea253d728 (merge from 3.0)
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)
2004-01-22 10:22:03 +00:00
Stefan Metzmacher
8a102d1aae remove all unused stuff from Makefile.in
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)
2004-01-19 14:22:32 +00:00
Stefan Metzmacher
7e6cf43756 This patch adds a better dcerpc server infastructure.
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 :-)
(This used to be commit 917e45dafd5be4c2cd90ff425b8d6f8403122349)
2004-01-08 22:55:27 +00:00
Andrew Tridgell
807a701f7c disable pam in samba4 until someone fixes it (hi andrew!)
(This used to be commit 1012c6e3f763962955a21e4c91285656b4e89ccf)
2003-12-15 04:35:56 +00:00
Andrew Tridgell
eaa02c7e0d some OSes already have a uint_t
(This used to be commit d7b6aa1e2ec1dc475e1bd5dce1c537720bc65eac)
2003-12-04 01:17:59 +00:00
Jelmer Vernooij
47702c8552 Initial step at cleaning and splitting up configure.in.
(This used to be commit 369a9c1ac1ff94a1d3f51eac20a39577f9cf2155)
2003-12-02 11:10:56 +00:00
Tim Potter
64b7cdfc81 Hide gcc error message if using a compiler that can't precompile headers.
(This used to be commit 13d073d805b3a5b9f6fbfff5dccf0bf37124d4c3)
2003-12-02 05:38:27 +00:00
Jelmer Vernooij
a846e59205 CVS: ----------------------------------------------------------------------
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
(This used to be commit 7512b9ab1a8b3103f7a6c13f736353c46a26b668)
2003-11-25 03:15:26 +00:00
Andrew Tridgell
7ab05c2ffa we don't need awk now
(This used to be commit db6d7daaef4d51e3c463fe76eefa2b22ff71a546)
2003-11-23 01:31:40 +00:00
Jelmer Vernooij
47d3fe181b Remove check for SAM, which has already been removed
(This used to be commit db68d642d67125b2d7f8355d6c913719f8821a92)
2003-11-09 16:08:14 +00:00
Jelmer Vernooij
070f8d2070 Add check for precompiled headers
(This used to be commit e92e04b889d4d52fc4d6a7f484188ee2557aa708)
2003-11-09 13:16:52 +00:00
Andrew Tridgell
424ecf038c disabled autoconf 2.53 requirement until we know exactly why it is
needed - for example I have tested autoconf 2.52 on suse 7.3 and it
works fine
(This used to be commit cdaf99139d148f3a8cd004216525e36a7c3922b2)
2003-08-13 16:53:37 +00:00