1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

889 Commits

Author SHA1 Message Date
Andrew Bartlett
0e4a4c8b19 s4-param finish services hooks for s4->s3 loadparm context 2011-07-14 15:06:45 +10:00
Andrew Bartlett
cda8686940 lib/param: Merge struct loadparm_service into common
This is handled by a common header and a .c file that is included into
both loadparm.c files.

In the process, _lp functions were renamed to lp__ to allow the common
function definition declarations to be used by source3 and source4
(which have different macro definitions).

The only parameter to change type is 'strict_locking' which was a
bool, and is now an int, to accommodate the 'Auto' value from source3.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Jul  8 12:35:56 CEST 2011 on sn-devel-104
2011-07-08 12:35:56 +02:00
Andrew Bartlett
6b2749f8a9 param: Add hooks to s3 parm_struct and the parameters void * pointer
This is to that the pyparam hooks can use the hooks to connect with
the s3 loadparm system.  This now also includes per-service
parameters.

Andrew Bartlett
2011-07-08 11:23:23 +02:00
Andrew Bartlett
4f3a155fb5 s3-param Generate parameter tables 2011-07-02 12:31:34 +10:00
Andrew Bartlett
233a6223b2 s4-param Autogenerate the loadparm_globals and loadparm_service tables
This makes it much easier and less error prone to add new parameters
as we merge the s3 and s4 loadparm systems.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jun 21 04:41:54 CEST 2011 on sn-devel-104
2011-06-21 04:41:54 +02:00
Andrew Bartlett
5db2041511 s4-param Add my authorship to this script 2011-06-21 09:35:34 +10:00
Andrew Bartlett
b9108cac52 s3-s4-param: Add hooks for parametric options in the s3/s4 glue layer
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Jun  6 10:48:53 CEST 2011 on sn-devel-104
2011-06-06 10:48:53 +02:00
Andrew Bartlett
1dfc6fa558 s4-param Add hook between Samba3 and Samba4 loadparm systems.
In the top level build, this allows calls to code that requires a
lpcfg_ style loadparm_context, while using the global parameters
loaded from the source3 loadparm code.

Andrew Bartlett
2011-06-06 17:37:51 +10:00
Jelmer Vernooij
febc4a730a Fix release script to cope with moved Samba 4 build tools. 2011-04-24 02:14:17 +02:00
Andrew Tridgell
e196e52640 s4-build: remove a bunch of unused build scripts
these were leftover from the autoconf build

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Feb  7 04:09:40 CET 2011 on sn-devel-104
2011-02-07 04:09:40 +01:00
Andrew Bartlett
eab493b7ea Remove unused installmisc.sh script, from old build system 2011-02-02 15:19:03 +11:00
Jelmer Vernooij
1a20d597f2 mkrelease: Simplify further.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Dec 24 02:01:10 CET 2010 on sn-devel-104
2010-12-24 02:01:09 +01:00
Jelmer Vernooij
9ebb55d1cb s4: Remove obsolete mkversion.sh 2010-11-12 17:42:13 +00:00
Jelmer Vernooij
0866e2dad2 autobuild-remote: Support autobuild.py rather than land.py.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Oct  1 09:46:37 UTC 2010 on sn-devel-104
2010-10-01 09:46:37 +00:00
Jelmer Vernooij
1adece8c8d Remove land.py - it's been obsoleted by autobuild.py. 2010-10-01 11:05:10 +02:00
Jelmer Vernooij
94f84da1f6 s4-land: Print commands that are being run. 2010-09-21 22:54:32 -07:00
Jelmer Vernooij
93c95824c7 s4: Add script for landing a branch through a remote server, such as sn. 2010-09-21 15:54:34 -07:00
Jelmer Vernooij
fd25d67d0d s4: Add convenience script for building and landing a tree in the
background, sending results by email.
2010-09-21 14:18:21 -07:00
Jelmer Vernooij
db67f43aef s4-mkrelease: Update for waf. 2010-09-20 14:41:29 -07:00
Jelmer Vernooij
cd7335abd3 s4-mkrelease: Update to use waf build. 2010-09-20 13:07:27 -07:00
Andrew Tridgell
2a93814592 s4-param: move back to auto-generation of loadparm prototypes 2010-09-11 22:32:43 +10:00
Andrew Tridgell
4cb423f527 s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
Andrew Bartlett
e5fca6aebf s4:build Don't automatically mark as 'not a git snapshot'.
If we generate a tarball, it may well be a git snapshot - we will
change the VERSION file if it really is a release.

Andrew Bartlett
2010-05-28 21:59:14 +10:00
Andrew Bartlett
b088a27551 s4:build use autotools for mkrelease.sh
The mkrelease.sh script only works with the autotools build.  However,
it isn't recommended.

Andrew Bartlett
2010-05-28 21:59:12 +10:00
Andrew Tridgell
6eb839cd16 s4-script: added a --waf option to minimal_includes.pl
This takes advantage of the new waf target syntax
2010-05-04 11:45:43 +02:00
Stefan Metzmacher
1765732f82 s4: remove unused references to swat
metze
2010-04-29 12:36:47 +02:00
Marcel Ritter
e6f59613fe Install spn_update_list to setup/ dir
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-04-27 21:05:00 +02:00
Andrew Tridgell
b5b8e6b6ad s4-dns: install samba_spnupdate 2010-04-27 19:27:19 +10:00
Stefan Metzmacher
d19033e1e9 Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder""
This reverts commit a34eafc693.

This commit was correct.

metze
2010-04-15 18:37:40 +02:00
Stefan Metzmacher
d8c3541ca8 Revert "s4:"dns_update_list" file: install it properly into the private directory"
This reverts commit fde707aa0c.

This is wrong, we need to install it into the setup directory,
so that provision will find it and copy it to private dir.

metze
2010-04-15 18:37:39 +02:00
Jelmer Vernooij
472860c9a7 Move configure_check_unused script to root scriptdir, as it is useful
for both s3 and s4.
2010-04-07 22:53:39 +02:00
Jelmer Vernooij
36474e5867 s4: Remove unused pkg-config replacement in perl. 2010-04-07 22:53:39 +02:00
Jelmer Vernooij
c63440e040 s4-python: Ensure __init__ exists in samba.external, or importing will fail. 2010-04-01 15:33:08 +02:00
Jelmer Vernooij
84891b048d s4-python: Install external packages to a different directory but import into
the normal namespace when the system doesn't have it available.
2010-04-01 15:33:07 +02:00
Jelmer Vernooij
5f3fcf7a77 s4-python: Install external included packages only if they're not present on the system. 2010-03-31 03:56:24 +02:00
Jelmer Vernooij
0e77bea165 installmisc: Support DESTDIR for Python directories. 2010-03-31 03:47:10 +02:00
Matthias Dieter Wallnöfer
c8fe49b2d3 s4:installmisc.sh - fix location of "dnspython" library 2010-03-29 22:35:16 +02:00
Matthias Dieter Wallnöfer
fde707aa0c s4:"dns_update_list" file: install it properly into the private directory
This is what the "samba_dnsupdate" script requests (line 220).
2010-03-08 20:37:36 +01:00
Matthias Dieter Wallnöfer
a34eafc693 Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder"
This reverts commit b49276e291.
2010-03-08 20:30:06 +01:00
Andrew Tridgell
25a0750b81 s4-python: only install external python libs that are missing 2010-03-05 11:54:37 +11:00
Andrew Tridgell
8c7cf499ab s4-python: allow us to have samba copies of python libraries we depend on
For python libraries like dns.resolver it is useful to be able to install 
a copy of the library with Samba. This set of functions allows us to do that
while using the locally installed version if it is available

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-05 11:54:36 +11:00
Matthias Dieter Wallnöfer
b49276e291 s4:script/installmisc.sh - install "dns_update_list" to target setup folder 2010-02-26 20:41:38 +01:00
Andrew Tridgell
ad7223b9bd dns: install samba_dnsupdate 2010-02-26 13:59:16 +11:00
Andrew Bartlett
8d03b5e224 s4:install Fix bug #7149 reported by JHT.
We need to install named.conf.update for provision to succeed from the
installed setup file.

Andrew Bartlett
2010-02-25 09:50:03 +11:00
Jelmer Vernooij
9e5ef916d4 net: Move 'newuser' to 'net newuser'
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:27 +11:00
Jelmer Vernooij
345b25d059 net: Move setexpiry to 'net setexpiry'
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:24 +11:00
Jelmer Vernooij
433f58f5a7 s4/net: Pass all arguments through to the Python commands. 2009-12-29 16:26:20 +01:00
Jelmer Vernooij
e60a40e287 s4/net: Add domainlevel subcommand. 2009-12-29 16:26:20 +01:00
Jelmer Vernooij
72d93599d9 python: Remove sys.path line rather than updating it when installing to python system path. 2009-12-27 17:30:59 +01:00
Andrew Bartlett
ca2c645156 Fix build of Samba4 from tarball generated by mkrelease.sh
Revert "Remove RFC's from the release tarballs to make the lives of the Debian"

This reverts commit eda7f35bc8.

These files are essential to the Samba4 build.

Andrew Bartlett
2009-12-01 14:43:55 +11:00