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

769 Commits

Author SHA1 Message Date
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 7939f847bfdda6977e7d04dc5a55e1333ade7b14)
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 5522ee146151603e64e0fc26fc8c900b0403c883)
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 1b13c91375682011e1951c008b83a0780ec20d38)
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 cda965e908055d45b1c05bc29cc791f7238d2fae)
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
9fd1b1c130 r25039: Rename service -> loadparm_service, use context more.
(This used to be commit ab417cb32bd348c05b20707e73297df05c920079)
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 df9cebcb97e20564359097148665bd519f31bc6f)
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 5f9ca54b5cc76cedcb56d805d5f9ea9167adc94b)
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 6245da195b76e233f83354797818f608c5458d63)
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 9553c20ced3945c5ab8392f7239ecdc852a0e81b)
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 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
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 1be11bd0a5092ad9102587ea206388234983c479)
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 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10 15:02:34 -05:00
Jelmer Vernooij
7ce6a75f4b r24338: Add callbacks for starting and finishing tests.
(This used to be commit 824833b59a1c9c829cea4e5c4bfd2387b1bc7a2f)
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 7bb81c1fc335697b5136fd1f705c5dca8eebcd7a)
2007-10-10 14:59:01 -05:00
Stefan Metzmacher
91e68b1d90 r23681: merge 23670 from SAMBA_3_0:
metze
(This used to be commit 446312df745160a6ee1bca93143e10927dfb05ce)
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 03be540ee396379fa230a915f39dda734f93ea55)
2007-10-10 14:53:28 -05:00
Jelmer Vernooij
576b1c84fb r23542: Include function documentation in prototype headers.
(This used to be commit 03eef5f337446f04239e0b2f840213f0aa7d6ea1)
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 44248f662f0b609dad6a7b437948f12d661a28f7)
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 db8d78f187339acefc0ba03b3c33d1128208b084)
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 0f457b1d2e20c36ab220b4a6711ce7930c4c7d21)
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 01d54d13dc66ef2127ac52c64ede53d0790738ec)
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 222acbe33b427a6ccae3b9e27b545f22e4564d5c)
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 34968bef6dc673374c6d017df87a99a60905d3b7)
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 e9fe3c40e10accb63d7a2124d3a7e77e499c4209)
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 9e882cbde232e5945c77eb162645328146023bee)
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 307cee21e4fd56150bdee9f1bbc2a1f2c2440afc)
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 8336e85aad03deb6fffe89c0a770fb05c2319c8e)
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 b06a9a00cf8414b13c16550a8156dba65c5dd7ea)
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 69a6f655aac57db1cfb15c61900a411c07da3d7a)
2007-10-10 14:51:45 -05:00
Andrew Bartlett
b006d86e65 r22556: Make the slapd command valid.
Andrew Bartlett
(This used to be commit dfb2fd2b2a45f5f96627c4beef6aa9174978688e)
2007-10-10 14:51:43 -05:00
Stefan Metzmacher
b8fdea2172 r22552: this doesn't need a dc
metze
(This used to be commit 56a86c7cc7263f1415c2d75bb9ab921de66842bc)
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 eaf4b9c0ee88ef32e984e10e76d57ea5daa0e7e7)
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 5533fc50636fcbba643f25c02bf6f4cae431de47)
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 0c8c1c55f4047e98848028927b7870d5972e7513)
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 b6b57dd9c9aa066127f26c49f2af6c055be0422e)
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 dc3df1ca433036683f5432635d6e3251ad5f971e)
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 2597152126251da78b605f1d20c8b00e0e51396b)
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 43deee4f938444349ad2d398670537f4537a6072)
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 65327a0e4d61e2c9813720f04fe24ffc5c49278b)
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 860dfa4ea1ab2b62d4d4fe0644e0a9b882fdafa1)
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 113544876f419dda185f3dff1c3c3a8833b2551f)
2007-10-10 14:51:19 -05:00
Stefan Metzmacher
66a9f1e276 r22420: fix smbd timeout
metze
(This used to be commit 3ac671bd5cd9455de72e2497a6ce100609697885)
2007-10-10 14:51:17 -05:00
Stefan Metzmacher
86d376e484 r22414: use more portable perl
hopefully fix solaris 8...

metze
(This used to be commit 103df4465e464f8aef3ec8ff91fa2b11c7771492)
2007-10-10 14:51:16 -05:00
Stefan Metzmacher
3c070cb7c4 r22409: try to fix selftest.pl on systems with old perl versions
metze
(This used to be commit 81a2a144df651bb37995c718fc9f7d7bffa9bac9)
2007-10-10 14:51:16 -05:00
Stefan Metzmacher
b9ed2cc4ba r22398: try to let all tests pass 5400 seconds is not enough
with the amount of tests we run now.

metze
(This used to be commit b0a1f730f9d83546064b7438b8dac350eeb32a3b)
2007-10-10 14:51:13 -05:00
Stefan Metzmacher
3e6c45455f r22384: print out the total selftest runtime
and the time for each test

we hit the max runtime of smbd on some hosts

metze
(This used to be commit 7b173c3421c30d6b5ce67f87ee81f011734e8c1a)
2007-10-10 14:51:12 -05:00
Stefan Metzmacher
8b3830fbbf r22383: maybe this fixes the mkdir not enough args failure
on sun1

metze
(This used to be commit 8b8152b49010a078ac9219265227e8ea7c8a3909)
2007-10-10 14:51:11 -05:00
Stefan Metzmacher
fdae545292 r22380: get the output of the exited smbd...
this shows all the memory leaks now...

metze
(This used to be commit 29c0b5644953ba6772f44b42cd49901127b250cd)
2007-10-10 14:51:11 -05:00
Stefan Metzmacher
fefc459b8f r22378: none needs to be checked first
metze
(This used to be commit 7688919ab879706450a745b59fe5ef2506c25943)
2007-10-10 14:51:10 -05:00
Stefan Metzmacher
e4fb7098cd r22377: implement check_env() for samba4
metze
(This used to be commit 4fe8e724efaced6c04388c70712413dfc1bb9f00)
2007-10-10 14:51:10 -05:00