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

877 Commits

Author SHA1 Message Date
Jelmer Vernooij
eda7f35bc8 Remove RFC's from the release tarballs to make the lives of the Debian
maintainers of Samba4 a bit easier.
2009-07-30 12:29:21 +02:00
Timur I. Bakeyev
d6c44a704e Add ad-schema/*.txt and utils to the installmisc.sh
Install other useful scripts from the setup/ directory, not only
provisioning ones.

Also install setup/ad-schema/*.txt files to the SETUPDIR. These are
necessary for 'provision' to work properly.
2009-07-16 09:23:35 +10:00
Jelmer Vernooij
e285bb2da5 Move findstatic.pl script to top-level. 2009-06-03 15:06:15 +02:00
Andrew Kroeger
05be1cc717 s4:mkproto: Add NET_API_STATUS return type.
The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type
for some functions.  The torture/libnetapi/proto.h private header that was being
generated by mkproto.pl did not include a prototype for the test_netuseradd()
function, as it did not know how to handle the NET_API_STATUS return type.
2009-06-01 19:55:34 +10:00
Praveen Arimbrathodiyil
c52be9f6a0 Fix missing backtick. 2009-05-07 14:16:19 +02:00
Matthias Dieter Wallnoefer
2de464a765 Fix uninstallman.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 16:22:02 +01:00
Björn Jacke
212756646e make man page (un)install more portable 2009-03-02 14:17:06 +01:00
Jelmer Vernooij
0118b2301b Don't use TMPDIR as variable, it's already used for other purposes.
Don't include GIT revision in release version strings.
2009-01-19 22:52:26 +01:00
Andrew Bartlett
b4551bba07 Delete more Samba3-specific files 2009-01-19 12:16:30 +11:00
Andrew Bartlett
96b1b8b94a Fix error message in mkrelease to refer to source4, not source 2009-01-14 15:06:39 +11:00
Jelmer Vernooij
edb7ac69cf Fix header installation. 2008-11-01 16:22:35 +01:00
Jelmer Vernooij
cf721521b6 Remove need to define _SAMBA_BUILD_ == 4 when using installed headers. 2008-11-01 15:10:56 +01:00
Stefan Metzmacher
6bc9fb887f selftest: move gdb_* and valgrind_* scripts to selftest/
metze
2008-10-28 12:20:59 +01:00
Jelmer Vernooij
5b5e36085a Share codepages. 2008-10-23 16:58:11 +02:00
Andrew Bartlett
a55afef6d3 Rework mkrelease.sh to exclude Samba3 files
This matches my proposal to samba-technical, and should allow a Samba4
release to be made shortly.

Andrew Bartlett
2008-10-20 20:07:09 +11:00
Jelmer Vernooij
8da78b7325 Move subunit helper utility to specific subunit directory. 2008-10-08 02:19:59 +02:00
Jelmer Vernooij
21df9532f5 Remove unused uninstallheader script. 2008-09-30 00:48:13 +02:00
Jelmer Vernooij
f379f67dd2 Fix installation of misc files. 2008-09-30 00:29:03 +02:00
Matthias Dieter Wallnöfer
f22f04f76b Stop creating symlinks to libraries without sonames. (caused recursive
symlinks overwriting the original file).
2008-09-29 22:47:07 +02:00
Jelmer Vernooij
13c44dec54 Stop installing JS libraries. 2008-09-21 15:08:16 +02:00
Jelmer Vernooij
53be14a19b Remove unused scripts. 2008-09-19 11:05:19 +02:00
Jelmer Vernooij
87afa77eac find_unused_makefilevars: Support parsing simple includes. 2008-09-19 11:04:18 +02:00
Jelmer Vernooij
fc7050e54c Add header. 2008-09-18 19:58:47 +02:00
Jelmer Vernooij
9007680678 Remove obsolete script. 2008-09-18 19:56:25 +02:00
Jelmer Vernooij
d7dbb530b5 Remove unused scripts for installing binaries.
(This used to be commit 677179234e)
2008-09-09 21:56:57 +02:00
Stefan Metzmacher
06d38e58e8 mkversion.sh: printf %s is more portable than echo -e
metze
(This used to be commit 274ae4b06a)
2008-06-27 09:22:21 +02:00
Jelmer Vernooij
d4172dac2c Use make magic for installing/uninstalling binaries.
(This used to be commit 97b724417f)
2008-06-26 11:51:22 +02:00
Andrew Bartlett
b7c8e020a6 Print prefixMap in a human-readable format.
This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.

Andrew Bartlett
(This used to be commit 24ae9a55ec)
2008-05-29 18:38:17 +10:00
Jelmer Vernooij
4a8212c955 Refuse to install autogenerated proto header files.
(This used to be commit c0a84c2b46)
2008-05-21 20:46:16 +02:00
Jelmer Vernooij
32dfdae009 Move IDL build script to rpc directory, make various bits and pieces easier to use externally.
(This used to be commit 8328ff7641)
2008-05-19 02:03:00 +02:00
Andrew Bartlett
ff1ad04300 When a test harness program fails, make the testsuite fail.
The problem fixed here is that pidl tests were not causing the 'number
of tests failing' count to increase, due to the way return codes are
processed on pipelines, in the shell.

By setting an exit code if we print 'failure', we ensure we fail
appropriately.

Andrew Bartlett
(This used to be commit 687e81883d)
2008-04-25 15:05:07 +01:00
Jelmer Vernooij
f800cf250f Move standard make compilation rules to build/make.
(This used to be commit ceda3312a9)
2008-04-14 14:51:57 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Andrew Kroeger
0ea02e8126 mkrelease: Add checks to ensure run from top-level directory of repository.
(This used to be commit 7d4c02fdfc)
2008-03-28 22:53:01 -05:00
Andrew Bartlett
bf0db7eb03 Add a few more safety catches to the mkrelease.sh script.
Andrew Bartlett
(This used to be commit 96eb3f1691)
2008-03-29 14:37:09 +11:00
Andrew Bartlett
1d29ab2536 Don't leave release trees hanging around
Andrew Bartlett
(This used to be commit e06911de33)
2008-03-29 14:23:43 +11:00
Andrew Kroeger
7ddcb20d15 mkrelease: Update to work with Git instead of SVN.
(This used to be commit 66efff41a7)
2008-03-28 21:55:09 -05:00
Kai Blin
3dddbb5e26 make: Fix make valgrindtest-env
(This used to be commit f56912e3b5)
2008-03-18 10:54:28 +01:00
Jelmer Vernooij
21b54de82f Allow absolute paths to be specified to mkproto.pl.
(This used to be commit 46d8d02028)
2008-02-29 15:39:32 +01:00
Jelmer Vernooij
0a5647c0e7 Remove the now unused cflags script.
(This used to be commit f97cce2522)
2008-02-29 15:02:30 +01:00
Jelmer Vernooij
2ba62662f8 Remove sDefault as static variable.
(This used to be commit 16f36ce499)
2008-02-28 20:04:58 +01:00
Jelmer Vernooij
a3052e79f4 Use make variables in cflags file (now supported by cflags.pl)
(This used to be commit d746fcde10)
2008-02-11 19:28:59 +01:00
Jelmer Vernooij
6c7a400945 Support including files in the cflags.pl script.
(This used to be commit 742e50aeb5)
2008-02-11 19:10:21 +01:00
Stefan Metzmacher
ef4e560174 prepare the mkversion.sh infrastructure for git branches in the build-farm
metze
(cherry-picked from 1bf4c7fb20)
(This used to be commit 464668b07a)
2008-01-10 19:34:24 +01:00
Jelmer Vernooij
e644673c09 r26675: mkproto: Add --all argument, fix some perl warnings.
(This used to be commit a175ee6594)
2008-01-05 15:36:01 -06:00
Jelmer Vernooij
0dbdfc2218 r26657: pidl: Add basics for generating Python modules.
(This used to be commit f1960ca7c4)
2008-01-03 15:27:02 -06:00
Andrew Bartlett
bcdc491058 r26647: Mark 'valgrind_run' as executable
(This used to be commit d00b87caff)
2008-01-03 12:33:35 -06:00
Jelmer Vernooij
7d270f73bc r26603: Don't install no longer available upgrade script.
(This used to be commit 69e469d9e1)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
af7e3dadf9 r26561: Fix make gdbtest, valgrindtest and testenv for shared libs.
(This used to be commit d2b9055bc0)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
6915cad127 r26560: Add script for running in valgrind.
(This used to be commit cb5d6a9ee2)
2007-12-24 01:51:00 -06:00
Andrew Bartlett
0819903703 r25923: Make sure to install phpldapadmin-config.php
Andrew Bartlett
(This used to be commit 472dd7b318)
2007-12-21 05:45:04 +01:00
Stefan Metzmacher
13d7fbb51a r25733: fix filename substitution and bail out if yacc output isn't generated
metze
(This used to be commit 43911e4017)
2007-12-21 05:43:33 +01:00
Stefan Metzmacher
e12a4cb2f3 [GLUE] fix some executable bits on shell scripts
metze
(This used to be commit 76f1f7d701)
2007-12-21 05:21:31 +01:00
Jelmer Vernooij
da6d24c459 r25555: Remove support for BOOL, True and False.
(This used to be commit 18a2bcfa9e)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
ce7bccef5f r25449: Add convenience function for opening the default smb.conf for openchange.
(This used to be commit 5f023ef7a4)
2007-10-10 15:07:36 -05:00
Stefan Metzmacher
34da75652d r25419: fix generation of git revision calculation
metze
(This used to be commit 7f70d5e7b9)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
Andrew Bartlett
2606996653 r25354: Thanks to Amin Azez <azez@ufomechanic.net> for finally getting me to
fix a provision without an smb.conf already setup.

Andrew Bartlett
(This used to be commit a00044d229)
2007-10-10 15:07:16 -05:00
Stefan Metzmacher
b15e7316a4 r25297: - fix sed arguments to make the replacement work
- always add #include "config.h" in the first line

metze
(This used to be commit 7939f847bf)
2007-10-10 15:07:08 -05:00
Stefan Metzmacher
95b8ab07f0 r25115: move normalizing of the define string into a function
and replace '-' with '_' as '-' isn't a string constant in C

jelmer: I assume the "..". for the public header was a bug...

metze
(This used to be commit 5522ee1461)
2007-10-10 15:06:42 -05:00
Jelmer Vernooij
a43dd8b956 r25056: Install some extra files. Patch from Stefan Gohmann
(This used to be commit 1b13c91375)
2007-10-10 15:06:23 -05:00
Andrew Bartlett
15c1801a5c r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
(This used to be commit cda965e908)
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
9fd1b1c130 r25039: Rename service -> loadparm_service, use context more.
(This used to be commit ab417cb32b)
2007-10-10 15:05:45 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Andrew Bartlett
6f9ea168a6 r24822: Merge from SAMBA_4_0_RELEASE:
Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.

Andrew Bartlett
(This used to be commit 5f9ca54b5c)
2007-10-10 15:03:16 -05:00
Andrew Bartlett
b7eae78794 r24819: We are preparing for alpha1, so update the mkversion script to cope with that.
Andrew Bartlett
(This used to be commit 6245da195b)
2007-10-10 15:03:16 -05:00
Jelmer Vernooij
1adedd108c r24724: Also install the .reg files for provisioning from an installed version.
(This used to be commit 9553c20ced)
2007-10-10 15:02:56 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d9)
2007-10-10 15:02:54 -05:00
Jelmer Vernooij
8a1d019f53 r24709: Convert perl test harness output to subunit for nicer display.
(This used to be commit 1be11bd0a5)
2007-10-10 15:02:53 -05:00
Jelmer Vernooij
b409d4120f r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
(This used to be commit 7a1eec6358)
2007-10-10 15:02:34 -05:00
Jelmer Vernooij
7ce6a75f4b r24338: Add callbacks for starting and finishing tests.
(This used to be commit 824833b59a)
2007-10-10 15:01:40 -05:00
Stefan Metzmacher
ee1ca9a410 r23684: Only use the bzr and git information when there's
a .bzr or .git in the top branch directory

I use bzr for my home directory and
bzr version-info in ~/devel/samba/4.0/samba4-git
gives the info about the ~/.bzr branch

metze
(This used to be commit 7bb81c1fc3)
2007-10-10 14:59:01 -05:00
Stefan Metzmacher
91e68b1d90 r23681: merge 23670 from SAMBA_3_0:
metze
(This used to be commit 446312df74)
2007-10-10 14:59:00 -05:00
Kai Blin
a1d45c6280 r23605: Update mkversion.sh to support git and git-svn checkouts.
Jerry, did I get you right that you'll merge this to 3_0 yourself?

Kai
(This used to be commit 03be540ee3)
2007-10-10 14:53:28 -05:00
Jelmer Vernooij
576b1c84fb r23542: Include function documentation in prototype headers.
(This used to be commit 03eef5f337)
2007-10-10 14:53:26 -05:00
Jelmer Vernooij
c2781df0d5 r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_.
(This used to be commit 44248f662f)
2007-10-10 14:53:08 -05:00
Andrew Bartlett
af1c3c64b0 r23262: Fix mkrelease.sh to work in the right directories
(This used to be commit db8d78f187)
2007-10-10 14:53:07 -05:00
Andrew Bartlett
86a4886e39 r23189: Work towards a totally scripted setup of LDAP backends, so others can
easily try this out.

I also intend to use this for the selftest, but I'm chasing issues
with the OpenlDAP (but not Fedora DS) backend.

Andrew Bartlett
(This used to be commit 0f457b1d2e)
2007-10-10 14:53:02 -05:00
Andrew Bartlett
5fb459e4fa r23177: Add in a new provision-backend script. This helps set up the OpenLDAP or Fedora DS backend.
This required a new mkdir() call in ejs.

We can now provision just the schema for ad2oLschema to operate on
(with provision_schema(), without performing the whole provision, just
to wipe it again (adjustments to 'make test' to come soon).

Andrew Bartlett
(This used to be commit 01d54d13dc)
2007-10-10 14:53:00 -05:00
Jelmer Vernooij
dc919c2534 r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl
(This used to be commit 222acbe33b)
2007-10-10 14:52:59 -05:00
Stefan Metzmacher
d3f30cab1e r22997: only if the output of which has a leading '/' the output is useful...
metze
(This used to be commit 34968bef6d)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
1e84e4026e r22575: move script/tests/ -> selftest/
as discussed with jelmer and abartlet

metze
(This used to be commit e9fe3c40e1)
2007-10-10 14:51:46 -05:00
Stefan Metzmacher
c36eedf35c r22571: - don't use "localhost" anymore in our tests
- use different passwords for dc and member

metze
(This used to be commit 9e882cbde2)
2007-10-10 14:51:46 -05:00
Stefan Metzmacher
498166904d r22570: run the NBT tests against DC and MEMBER
metze
(This used to be commit 307cee21e4)
2007-10-10 14:51:45 -05:00
Stefan Metzmacher
ba204fe350 r22569: use the $SERVER_IP for the LDAP-* tests because I'll later change
$SERVER from localhost to localdc.

we should find out why this is needed and add explicit name resolution
in related code...

metze
(This used to be commit 8336e85aad)
2007-10-10 14:51:45 -05:00
Stefan Metzmacher
d17ae2fe82 r22568: use the $SERVER_IP for the NET-* tests because I'll later change
$SERVER from localhost to localdc

mimir: please take a look why that's needed at all, as it shouldn't:-)

metze
(This used to be commit b06a9a00cf)
2007-10-10 14:51:45 -05:00
Rafal Szczesniak
2096de0b8d r22567: add NET-API-DOMLIST test to automatic testing.
rafal
(This used to be commit 69a6f655aa)
2007-10-10 14:51:45 -05:00
Andrew Bartlett
b006d86e65 r22556: Make the slapd command valid.
Andrew Bartlett
(This used to be commit dfb2fd2b2a)
2007-10-10 14:51:43 -05:00
Stefan Metzmacher
b8fdea2172 r22552: this doesn't need a dc
metze
(This used to be commit 56a86c7cc7)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
99b2851f46 r22551: use fixed passwords, to make it possible to reproduce stuff
and look into krb5 blobs when using wireshark on
--socket-wrapper-pcap created files

metze
(This used to be commit eaf4b9c0ee)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
ecc37e1dac r22550: nmblookup -U needs an ip address otherwise we depend on gethostbyname()
metze
(This used to be commit 5533fc5063)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
c1195e0e60 r22549: export some more info ipaddress and in member env also the
details of the dc

metze
(This used to be commit 0c8c1c55f4)
2007-10-10 14:51:42 -05:00
Stefan Metzmacher
e5b0977897 r22548: - maintain a global array of exported envvars
- make it possible to specify the envname for make testenv:
  SELFTEST_TESTENV=member make testenv

metze
(This used to be commit b6b57dd9c9)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
5d78a487b8 r22547: fix some pathes and make sure we work with relative and abslute prefix pathes
metze
(This used to be commit dc3df1ca43)
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
18d141a3cf r22544: use the same syntax as in all other files
maybe that fixes make test on all sun hosts...

metze
(This used to be commit 2597152126)
2007-10-10 14:51:40 -05:00
Andrew Bartlett
6d69e67dfd r22498: The initial LDIF import into Fedora DS didn't work, so just push this
onto the end of dse.ldif.

This make Fedora DS work with multiple naming contexts.

Andrew Bartlett
(This used to be commit 43deee4f93)
2007-10-10 14:51:33 -05:00
Andrew Bartlett
f1851e7abc r22494: Skip subSchema again, but we will need to remap this objectClass.
Make the Fedora DS backend test again.

Andrew Bartlett
(This used to be commit 65327a0e4d)
2007-10-10 14:51:33 -05:00
Andrew Bartlett
3d4c4c5fa3 r22478: Update the LDAP backend code to handle initialisation of multiple
partitions onto the target LDAP server.

Make the LDAP provision run before smbd starts, then stop the LDAP
server.  This ensures this occurs synchronously, We then restart it
for the 'real run' (with slapd's stdin being the FIFO).

This required fixing a few things in the provision scripts, with more
containers being created via a add/modify pair.

Andrew Bartlett
(This used to be commit 860dfa4ea1)
2007-10-10 14:51:31 -05:00
Andrew Bartlett
c6343915bf r22427: Abort in a few more cases of failure to provision.
Andrew Bartlett
(This used to be commit 113544876f)
2007-10-10 14:51:19 -05:00
Stefan Metzmacher
66a9f1e276 r22420: fix smbd timeout
metze
(This used to be commit 3ac671bd5c)
2007-10-10 14:51:17 -05:00