samba.git
12 years agoMove pidl bits to a separate file.
Jelmer Vernooij [Mon, 11 Feb 2008 13:48:39 +0000 (14:48 +0100)]
Move pidl bits to a separate file.
(This used to be commit de7af6913487b51e44463bf1908e765477d28e5d)

12 years agoFix typo.
Jelmer Vernooij [Mon, 11 Feb 2008 11:39:47 +0000 (12:39 +0100)]
Fix typo.
(This used to be commit a5db115dc6827896c66fe08554b3fe7185eea52f)

12 years agoAvoid autogenerating the Makefile but rather include a data.mk file
Jelmer Vernooij [Mon, 11 Feb 2008 00:42:29 +0000 (01:42 +0100)]
Avoid autogenerating the Makefile but rather include a data.mk file
that is autogenerated.
(This used to be commit ebf6e59dfef30e1f679ea6692385a09abcb220dd)

12 years agoMake versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
Michael Adam [Mon, 11 Feb 2008 11:50:03 +0000 (12:50 +0100)]
Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.

Not sure if we can produce one from the other, so I manually made
them equal for now.

Michael
(This used to be commit 1c14c457bea75fb3055712547cca501e8ef3fc20)

12 years agoFix a c++ warning
Volker Lendecke [Thu, 10 Jan 2008 10:35:40 +0000 (11:35 +0100)]
Fix a c++ warning
(This used to be commit 9f402c607f44663cab91cc7d2139f62b84c99cc0)

12 years agotalloc_free_children can only reset pool if it's empty
Volker Lendecke [Thu, 10 Jan 2008 10:35:17 +0000 (11:35 +0100)]
talloc_free_children can only reset pool if it's empty
(This used to be commit 5cc7a638e93e5f3540755b441a99d4fd3c9c7134)

12 years agoMark talloc_pool memory for valgrind
Volker Lendecke [Thu, 10 Jan 2008 10:34:07 +0000 (11:34 +0100)]
Mark talloc_pool memory for valgrind
(This used to be commit 6deca23b6c66616fbf5ba004e9b778aa68790df6)

12 years agoImplement talloc_pool()
Volker Lendecke [Sat, 5 Jan 2008 17:26:54 +0000 (18:26 +0100)]
Implement talloc_pool()

A talloc pool is a chunk of memory that can be used as a context for further
talloc calls. Allocations with the pool as the parent just chew from that
memory by incrementing a pointer. If the talloc pool is full, then we fall back
to the normal system-level malloc(3) to get memory.

The use case for talloc pools is the transient memory that is used for handling
a single SMB request. Incrementing a pointer will be way faster than any malloc
implementation.

There is a downside of this: If you use talloc_steal() to move something out of
the pool, the whole pool memory is kept around until the last object inside the
pool is freed. So if you talloc_free() the pool, it might happen that the
memory is freed later. So don't hang anything off a talloc pool that should
live long.

Volker
(This used to be commit 60ef9a84f0bd18d48e453c08aa420d17275e0881)

12 years agoAdd a comment.
Michael Adam [Wed, 9 Jan 2008 00:35:43 +0000 (01:35 +0100)]
Add a comment.

Michael
(This used to be commit 2a2c28584cdb65fcea8563eb3bf21fea497fdff3)

12 years agoFix talloctort: move size check after referenced ptr check.
Michael Adam [Wed, 9 Jan 2008 00:34:21 +0000 (01:34 +0100)]
Fix talloctort: move size check after referenced ptr check.

Michael
(This used to be commit a0caedb94f6f7c62ae706e35a4c0b2876f74978d)

12 years agoDon't shrink a talloc area if we have less than 1k to gain
Volker Lendecke [Tue, 8 Jan 2008 21:42:27 +0000 (22:42 +0100)]
Don't shrink a talloc area if we have less than 1k to gain
(This used to be commit 0c829e6ee6f43299cc5889c2af3d0402256da0d0)

12 years agoMake data about what subsystems/libraries are enabled available in the mkconfig.mk...
Jelmer Vernooij [Mon, 11 Feb 2008 13:39:21 +0000 (14:39 +0100)]
Make data about what subsystems/libraries are enabled available in the mkconfig.mk file.
(This used to be commit 4cc93a98f984d322e41f403169cfa4945b469935)

12 years agoFix the build: remove reference to inexistent header samba3_proto.h
Michael Adam [Mon, 11 Feb 2008 13:27:10 +0000 (14:27 +0100)]
Fix the build: remove reference to inexistent header samba3_proto.h

Michael
(This used to be commit 3b9b396292077b2d3ff1fb1712462b767cc2bf81)

12 years agoFix accidently introduced typo.
Jelmer Vernooij [Mon, 11 Feb 2008 12:58:04 +0000 (13:58 +0100)]
Fix accidently introduced typo.
(This used to be commit 6c7aa271b1cb0f5604be54f1aa26e1e3531c8f36)

12 years agoIgnore mkconfig.mk file, which is autogenerated.
Jelmer Vernooij [Mon, 11 Feb 2008 12:54:12 +0000 (13:54 +0100)]
Ignore mkconfig.mk file, which is autogenerated.
(This used to be commit 71dc1d5d1db7e5e3cb4245c20df739926c1e8514)

12 years agoRemove Samba 3 backwards compatibility code in C.
Jelmer Vernooij [Mon, 11 Feb 2008 12:51:09 +0000 (13:51 +0100)]
Remove Samba 3 backwards compatibility code in C.

This code is no longer used, and equivalent code already exists in Python
(scripting/python/samba/samba3.py)
(This used to be commit c16212e8bf5343496ea4b3afc30a8b4d3a0afe2d)

12 years agoRemove tests for Samba 3 EJS code.
Jelmer Vernooij [Mon, 11 Feb 2008 12:38:07 +0000 (13:38 +0100)]
Remove tests for Samba 3 EJS code.
(This used to be commit 7aff2ddd8ca1ff68fc704fdb139d81d6daa51115)

12 years agoUse SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
Jelmer Vernooij [Mon, 11 Feb 2008 12:20:24 +0000 (13:20 +0100)]
Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
(This used to be commit eb04de69c0e319e18b148191946808f81e1cc8c4)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
Jelmer Vernooij [Mon, 11 Feb 2008 12:10:11 +0000 (13:10 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
(This used to be commit 35f5c8294e9f3b304987597d4bcfc75fdda05982)

12 years agoautoconf: We build Samba from git now, not from SVN.
Kai Blin [Mon, 11 Feb 2008 10:57:17 +0000 (11:57 +0100)]
autoconf: We build Samba from git now, not from SVN.
(This used to be commit 4557b34d82e16038db903278ea64313a9d731d61)

12 years agoFix switching of hives in regshell (#5254)
Jelmer Vernooij [Mon, 11 Feb 2008 10:47:31 +0000 (11:47 +0100)]
Fix switching of hives in regshell (#5254)
(This used to be commit 5f33545c78e13871d622c0a5a0ded789bf624869)

12 years agoprovision: Fix new user creation.
Kai Blin [Mon, 11 Feb 2008 09:37:26 +0000 (10:37 +0100)]
provision: Fix new user creation.

Spotted by nobody88 in IRC.
(This used to be commit 38d4e2407afb942de21379dc886f9e4c5532a2b9)

12 years agopidl/Samba3::ServerNDR: use talloc_tos() instead of NULL
Stefan Metzmacher [Mon, 11 Feb 2008 07:44:56 +0000 (08:44 +0100)]
pidl/Samba3::ServerNDR: use talloc_tos() instead of NULL

metze
(This used to be commit 99d6f49340d6f190ac318af939eeec17c29f1bbd)

12 years agoFix case.
Jelmer Vernooij [Mon, 11 Feb 2008 00:15:54 +0000 (01:15 +0100)]
Fix case.
(This used to be commit 67074ff4aa06d56fb84752d39132d33d5599ca7f)

12 years agoMove some more variables to static .mk file.
Jelmer Vernooij [Mon, 11 Feb 2008 00:02:16 +0000 (01:02 +0100)]
Move some more variables to static .mk file.
(This used to be commit a72d3ffaded5624732972708c305b8f84f47fed7)

12 years agoAutomatically write AC_SUBST() vars to mkconfig.mk and use them.
Jelmer Vernooij [Sun, 10 Feb 2008 23:21:20 +0000 (00:21 +0100)]
Automatically write AC_SUBST() vars to mkconfig.mk and use them.
(This used to be commit a22bb7725b0b825a90e955f883a34341e9f0f69e)

12 years agoMove some variables to a separate .mk file that could also be included by a non-smb_b...
Jelmer Vernooij [Sun, 10 Feb 2008 22:32:31 +0000 (23:32 +0100)]
Move some variables to a separate .mk file that could also be included by a non-smb_build build system.
(This used to be commit f44b838b682760e54aa981fe2e991495395d2394)

12 years agoStart working on generating .mk file from configure for inclusion in Makefile.
Jelmer Vernooij [Sun, 10 Feb 2008 21:58:03 +0000 (22:58 +0100)]
Start working on generating .mk file from configure for inclusion in Makefile.
(This used to be commit 091f1e7314f05253ae1c10b3d04557be584ed19f)

12 years agoMake formatting a bit more ReST-valid.
Jelmer Vernooij [Sun, 10 Feb 2008 21:24:09 +0000 (22:24 +0100)]
Make formatting a bit more ReST-valid.
(This used to be commit ea718a0c0b1efd73020da6d5a362b371afd8e371)

12 years agoChange README to be ReST-compatible.
Jelmer Vernooij [Sun, 10 Feb 2008 21:14:08 +0000 (22:14 +0100)]
Change README to be ReST-compatible.
(This used to be commit 20c15884c84151d01f50cdba571b3ba4be1a9fd8)

12 years agoMore syntax fixes, use more standard python functions.
Jelmer Vernooij [Sat, 9 Feb 2008 23:56:55 +0000 (00:56 +0100)]
More syntax fixes, use more standard python functions.
(This used to be commit ea07509b4a9335a3b3fe6f6da1124fd1aab33c96)

12 years agoStart working on python conversion of minschema.
Jelmer Vernooij [Sat, 9 Feb 2008 23:21:41 +0000 (00:21 +0100)]
Start working on python conversion of minschema.
(This used to be commit 239a1616644321e2d1e64985ea3f3c4971997228)

12 years agoAdd tests for upgrade of WINS database.
Jelmer Vernooij [Sat, 9 Feb 2008 21:29:42 +0000 (22:29 +0100)]
Add tests for upgrade of WINS database.
(This used to be commit 7777611c0f32a693f0fa057c130e4ea491658f6b)

12 years agoRemove unused define.
Jelmer Vernooij [Sat, 9 Feb 2008 19:47:12 +0000 (20:47 +0100)]
Remove unused define.
(This used to be commit 64d6d729135e1b3b19c9bdbbe973fcdaca15e8b3)

12 years agoMerge branch 'v4-0-trivial' into v4-0-python
Jelmer Vernooij [Sat, 9 Feb 2008 19:38:07 +0000 (20:38 +0100)]
Merge branch 'v4-0-trivial' into v4-0-python

Conflicts:

source/scripting/python/config.m4
(This used to be commit 6a43b5e895444235c869b008de98e4b21bcdcfd9)

12 years agoFix typo.
Jelmer Vernooij [Sat, 9 Feb 2008 19:09:58 +0000 (20:09 +0100)]
Fix typo.
(This used to be commit 80dbf04266d15833f7eb18704cfece1f95965e83)

12 years agoMerge branch 'v4-0-trivial' into v4-0-python
Jelmer Vernooij [Sat, 9 Feb 2008 19:06:54 +0000 (20:06 +0100)]
Merge branch 'v4-0-trivial' into v4-0-python
(This used to be commit b874f07175ae38a041f53f0e4ac6a4050dcefeae)

12 years agoFix tests.
Jelmer Vernooij [Sat, 9 Feb 2008 18:16:44 +0000 (19:16 +0100)]
Fix tests.
(This used to be commit e4d7cd8ba77aa05c11dad457c3f2c2c6252c5966)

12 years agoSplit up tests a bit, output subunit.
Jelmer Vernooij [Sat, 9 Feb 2008 18:04:14 +0000 (19:04 +0100)]
Split up tests a bit, output subunit.
(This used to be commit 501259ff31641bf52e337b597881d1fedc6b2a63)

12 years agoAdd docstring.
Jelmer Vernooij [Sat, 9 Feb 2008 16:42:31 +0000 (17:42 +0100)]
Add docstring.
(This used to be commit 073ed0dd1cc8fae9eb4a2f7ff6763124917c56e8)

12 years agoIgnore Python apidocs, vim swap files.
Jelmer Vernooij [Sat, 9 Feb 2008 16:41:50 +0000 (17:41 +0100)]
Ignore Python apidocs, vim swap files.
(This used to be commit 13a7dfb90066a52e0d90dbed5fe2c82c4af6092c)

12 years agoFix syntax of docstrings, set project name when generating Python API documentation.
Jelmer Vernooij [Sat, 9 Feb 2008 16:37:42 +0000 (17:37 +0100)]
Fix syntax of docstrings, set project name when generating Python API documentation.
(This used to be commit 68f13d87eb034fdbc712169f2d1b1a0475751ec5)

12 years agoregistry: Fix warning.
Jelmer Vernooij [Sat, 9 Feb 2008 16:18:51 +0000 (17:18 +0100)]
registry: Fix warning.
(This used to be commit dad809030478a85ac13a73bce9c07314792f01c2)

12 years agoMove nmblookup blackbox test closer to the code it tests.
Jelmer Vernooij [Sat, 9 Feb 2008 16:17:21 +0000 (17:17 +0100)]
Move nmblookup blackbox test closer to the code it tests.
(This used to be commit 3f24136b56d281580410bf69841c6dece5508d17)

12 years agoMove first_prereq test to m4 code.
Jelmer Vernooij [Sat, 9 Feb 2008 16:07:02 +0000 (17:07 +0100)]
Move first_prereq test to m4 code.
(This used to be commit c0fef09c5d88158b620f38b6f74498a8b6323bd9)

12 years agoMove some static makefile variables to rules.mk.
Jelmer Vernooij [Sat, 9 Feb 2008 15:41:44 +0000 (16:41 +0100)]
Move some static makefile variables to rules.mk.
(This used to be commit 3c64fc7dc631a79154957e45f8961e2ee519743f)

12 years agopidl: Allow fixed size arrays inside unions.
Julien Kerihuel [Sat, 9 Feb 2008 15:26:16 +0000 (16:26 +0100)]
pidl: Allow fixed size arrays inside unions.
(This used to be commit c9c115647893478e21134f8c703e0f52e2478882)

12 years agoFix test count after pointer_default_top() removal.
Jelmer Vernooij [Sat, 9 Feb 2008 15:25:34 +0000 (16:25 +0100)]
Fix test count after pointer_default_top() removal.
(This used to be commit 9a4b9facc869a8f7363932a591437251b44cd7bb)

12 years agoMove more make code to rules.mk
Jelmer Vernooij [Sat, 9 Feb 2008 15:23:02 +0000 (16:23 +0100)]
Move more make code to rules.mk
(This used to be commit 5ade1a951685665164037138cb92e5b2db2a8b52)

12 years agoUse mkinclude (makes the Makefile a bit shorter), use double-colon for phony makefile...
Jelmer Vernooij [Sat, 9 Feb 2008 15:05:55 +0000 (16:05 +0100)]
Use mkinclude (makes the Makefile a bit shorter), use double-colon for phony makefile targets.
(This used to be commit ea7d389bcc284d2e9eeff79bce5c285269099ad3)

12 years agoSupport 'mkinclude' command in .mk files.
Jelmer Vernooij [Sat, 9 Feb 2008 15:01:53 +0000 (16:01 +0100)]
Support 'mkinclude' command in .mk files.
(This used to be commit ee7f54c86d2b467869db8dea33f60e19ed3c742f)

12 years agoRemove unused path update.
Jelmer Vernooij [Sat, 9 Feb 2008 14:43:28 +0000 (15:43 +0100)]
Remove unused path update.
(This used to be commit 1868a42108012183aa78fe5d4f524d45f4505a3e)

12 years agoRe-enable python support in BECOME-DC test.
Jelmer Vernooij [Sat, 9 Feb 2008 14:42:19 +0000 (15:42 +0100)]
Re-enable python support in BECOME-DC test.
(This used to be commit ed44fd59bfa289bcef82e0650ccda381efb52268)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Sat, 9 Feb 2008 14:04:03 +0000 (15:04 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit f7521525e42d62e96cc6f55fb1b23644a60fc36d)

12 years agoIgnore kinit with pkinit test failures for now.
Jelmer Vernooij [Sat, 9 Feb 2008 13:42:55 +0000 (14:42 +0100)]
Ignore kinit with pkinit test failures for now.
(This used to be commit 94dedaf6ed55b146a0123407137f7ee4cfd41283)

12 years agotorture: Merge util.c into util_smb.c
Jelmer Vernooij [Sat, 9 Feb 2008 13:26:46 +0000 (14:26 +0100)]
torture: Merge util.c into util_smb.c
(This used to be commit d19d27f406c0377d98c9fe9da9284dcebd373bb7)

12 years agoMove nt_time_equal() to libutil.
Jelmer Vernooij [Sat, 9 Feb 2008 13:24:24 +0000 (14:24 +0100)]
Move nt_time_equal() to libutil.
(This used to be commit 9705263a6c58d4ade556d17db2009dbb85291b22)

12 years agoA couple more ipsec classes for the schema.
Andrew Bartlett [Sat, 9 Feb 2008 03:48:56 +0000 (14:48 +1100)]
A couple more ipsec classes for the schema.

Andrew Bartlett
(This used to be commit 41309dc8627e707cee226a76238b9a70d417a345)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Sat, 9 Feb 2008 03:13:58 +0000 (14:13 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 4aff02ecf18d52ae8e64e0c938ac5edf82a6dcef)

12 years agoRemove the forced 'krb5' from the NET-API-BECOME-DC test.
Andrew Bartlett [Sat, 9 Feb 2008 03:13:23 +0000 (14:13 +1100)]
Remove the forced 'krb5' from the NET-API-BECOME-DC test.

If we want to try this authenication mechanism, we can always manually
specify the binding string.

Andrew Bartlett
(This used to be commit 191d56d41e5af34e78e1ad711fb1c63c189f0b48)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Sat, 9 Feb 2008 03:03:25 +0000 (14:03 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 774b54141a3549448b7bbc5bc69a661ac525df48)

12 years agoGive a more useful error when the templates.ldb can't be found.
Andrew Bartlett [Sat, 9 Feb 2008 03:02:14 +0000 (14:02 +1100)]
Give a more useful error when the templates.ldb can't be found.

Andrew Bartlett
(This used to be commit 26108eb66b4b5d4b339dfc845e8a018190068e81)

12 years agoMake the provision test more real, use a foo.example.com for the realm.
Andrew Bartlett [Sat, 9 Feb 2008 03:01:37 +0000 (14:01 +1100)]
Make the provision test more real, use a foo.example.com for the realm.

Andrew Bartlett
(This used to be commit b7ea06850a91b0593178227f713803e9ce98cc47)

12 years agoFix upgrade after provision parameter rename.
Jelmer Vernooij [Sat, 9 Feb 2008 02:59:45 +0000 (03:59 +0100)]
Fix upgrade after provision parameter rename.
(This used to be commit 361b9f43fb2abb64f2cbae7740b89a616a3c2646)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Sat, 9 Feb 2008 02:11:04 +0000 (03:11 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit d4fb8b0d8644cddfa39655fac87a96edc71b2a73)

12 years agoFix provision python test.
Jelmer Vernooij [Sat, 9 Feb 2008 02:09:56 +0000 (03:09 +0100)]
Fix provision python test.
(This used to be commit b173fa6bd2b24b5a3e7b4fbcb926f6c9771c10ba)

12 years agoAdd tests for findnss(), add some docstrings.
Jelmer Vernooij [Sat, 9 Feb 2008 01:10:49 +0000 (02:10 +0100)]
Add tests for findnss(), add some docstrings.
(This used to be commit 4eec2bbc9a139e927ce21c615ebfbb3026b26384)

12 years agoRemove unused class members.
Jelmer Vernooij [Sat, 9 Feb 2008 00:42:38 +0000 (01:42 +0100)]
Remove unused class members.
(This used to be commit 373ef4287f998b79bf9ba6364d6a67e5c522833d)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Fri, 8 Feb 2008 23:00:14 +0000 (10:00 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 1bf9d0401012cd3c830d50844f5be35e53835322)

12 years agoFrom a request from Peter Huang, include IPsec sechema.
Andrew Bartlett [Fri, 8 Feb 2008 22:59:45 +0000 (09:59 +1100)]
From a request from Peter Huang, include IPsec sechema.

(We may need to include more defaults in the template, but I want to
start small for now).

Andrew Bartlett
(This used to be commit a466dda118f785bf784548106637577a5e25a30e)

12 years agoReformat SMB_EXT_LIB_FROM_PKGCONFIG: fix spacing and indentation.
Michael Adam [Fri, 8 Feb 2008 15:28:04 +0000 (16:28 +0100)]
Reformat SMB_EXT_LIB_FROM_PKGCONFIG: fix spacing and indentation.

Sorry, could not resist: While trying to understand this bit of magic,
I had to bring indentation into shape to see more clearly what is going on.
Also, mixed tabs/spaces are changed to tabs.

Michael
(This used to be commit cbed074f2841b79cc0f23ad52b1fa34515f706a9)

12 years agobuild: Remove unused functions Import() and GetInfo().
Jelmer Vernooij [Fri, 8 Feb 2008 13:12:46 +0000 (14:12 +0100)]
build: Remove unused functions Import() and GetInfo().
(This used to be commit 5c2be1e8a985332e1e81eeab1dc9b50d7f867f98)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Jelmer Vernooij [Fri, 8 Feb 2008 13:02:22 +0000 (14:02 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial

Conflicts:

source/scripting/python/samba/provision.py
(This used to be commit e367df5d994181f08ad1a20a0ce01991ca30bcc8)

12 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
Andrew Bartlett [Fri, 8 Feb 2008 06:20:03 +0000 (17:20 +1100)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit ae9d0343e0599ac62c3011a3d6c1948a9cb7a8f1)

12 years agoRemove unused parameter from provision()
Andrew Bartlett [Fri, 8 Feb 2008 06:12:54 +0000 (17:12 +1100)]
Remove unused parameter from provision()

Andrew Bartlett
(This used to be commit c8b0a8a196d8d187a86aef497953d0105436aff8)

12 years agoLDAP now works with the python provision!
Andrew Bartlett [Fri, 8 Feb 2008 06:12:25 +0000 (17:12 +1100)]
LDAP now works with the python provision!

Andrew Bartlett
(This used to be commit 8f0a89ca19d6a3986dacd981fab1ebbc8b1a4ad0)

12 years agoFix LDAP backend with python
Andrew Bartlett [Fri, 8 Feb 2008 06:11:26 +0000 (17:11 +1100)]
Fix LDAP backend with python

We were still setting the hard-coded users.ldb etc, rather than
switching to the ldapi:// URI

Andrew Bartlett
(This used to be commit 603e981250b26b533ec35dd607cb635226cf99df)

12 years agoReset error strings
Andrew Bartlett [Fri, 8 Feb 2008 06:09:49 +0000 (17:09 +1100)]
Reset error strings

Avoid leaking error strings up to the application, when we are ignoring them.
(This used to be commit 57b4b43b6548d1cd81cfaebc5ea8abc88aaca989)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Fri, 8 Feb 2008 03:13:48 +0000 (14:13 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit fd9cc4eb5afae8b255e753d480190b490cd3f7ab)

12 years agomerge tdb changes from ctdb
Andrew Tridgell [Fri, 8 Feb 2008 03:13:19 +0000 (14:13 +1100)]
merge tdb changes from ctdb
(This used to be commit b3e60a388d338ef90540007239e88563cb9ba27a)

12 years agoFix syntax in LDAP test
Andrew Bartlett [Fri, 8 Feb 2008 02:23:45 +0000 (13:23 +1100)]
Fix syntax in LDAP test

We don't get this far in the test at the moment however.

Andrew Bartlett
(This used to be commit c3098d5c52505e143a6ce498273a5ce6a66220b0)

12 years agoFix formatting.
Jelmer Vernooij [Fri, 8 Feb 2008 02:03:44 +0000 (03:03 +0100)]
Fix formatting.
(This used to be commit 73d1b0fcb64fdc7be1e1e1002f3f182fcbe476ae)

12 years agoRevert to ejs for 'provision'
Andrew Bartlett [Fri, 8 Feb 2008 01:54:09 +0000 (12:54 +1100)]
Revert to ejs for 'provision'

Andrew Bartlett
(This used to be commit fa1098959ad0016770ce1c327665df08ce3f69d2)

12 years agoRemove unused argument to provision().
Andrew Bartlett [Fri, 8 Feb 2008 01:52:54 +0000 (12:52 +1100)]
Remove unused argument to provision().

Andrew Bartlett
(This used to be commit 2f98ec1e6417c70a48370a62e7a54dfc4f6291c1)

12 years agoLDAP backend provision now works with python.
Andrew Bartlett [Fri, 8 Feb 2008 01:49:30 +0000 (12:49 +1100)]
LDAP backend provision now works with python.

Andrew Bartlett
(This used to be commit 3e6a6e6b210a4089cf9f9db80c1ab30da3872845)

12 years agoRemove unused ldap_backend argument from provision.py
Andrew Bartlett [Fri, 8 Feb 2008 01:48:58 +0000 (12:48 +1100)]
Remove unused ldap_backend argument from provision.py

Andrew Bartlett
(This used to be commit fbce84a87b086a0024379ab26f6f628e5d210251)

12 years agoFix LDAP backend with python provision
Andrew Bartlett [Fri, 8 Feb 2008 01:48:11 +0000 (12:48 +1100)]
Fix LDAP backend with python provision

The backend databases were still hard-coded as 'users.ldb' etc.

Andrew Bartlett
(This used to be commit 3c5f6cc739b4a8787ce4cc5dc16ffd3027cc4a57)

12 years agoEnsure expected errors do not leak up to the application.
Andrew Bartlett [Fri, 8 Feb 2008 01:45:51 +0000 (12:45 +1100)]
Ensure expected errors do not leak up to the application.

(reset the error string to be sure).

Andrew Bartlett
(This used to be commit 741d33bf8c9b2e2b1ba4762ca63e90885a702184)

12 years agoSkip offline tests.
Jelmer Vernooij [Fri, 8 Feb 2008 00:19:14 +0000 (01:19 +0100)]
Skip offline tests.
(This used to be commit 3c71aae2a3e3de0e2372410dd363a7d6015174e6)

12 years agoPut temporary test files in test directory.
Jelmer Vernooij [Thu, 7 Feb 2008 23:34:29 +0000 (00:34 +0100)]
Put temporary test files  in test directory.
(This used to be commit 16382999bebf158996e16219e7053ef4821550c1)

12 years agoPut ldb test output in prefix.
Jelmer Vernooij [Thu, 7 Feb 2008 23:19:50 +0000 (00:19 +0100)]
Put ldb test output in prefix.
(This used to be commit af283cd787ef4642fc4ba642ea37a1eede2d2f41)

12 years agoMark RAW-OFFLINE as known failing for Samba 4 (because it doesn't have offline suppor...
Jelmer Vernooij [Thu, 7 Feb 2008 23:03:02 +0000 (00:03 +0100)]
Mark RAW-OFFLINE as known failing for Samba 4 (because it doesn't have offline support yet).
(This used to be commit 36167dc85248ed31922cc5ff4a364559f562c51b)

12 years agoOverride KRB5CCNAME so existing Kerberos tickets in the users environment don't get...
Jelmer Vernooij [Thu, 7 Feb 2008 22:47:18 +0000 (23:47 +0100)]
Override KRB5CCNAME so existing Kerberos tickets in the users environment don't get overwritten.
(This used to be commit 5e740c0dfbda9a6b2f47d953eb27a1fbfcff78b3)

12 years agomerge growing tdb for tdb_wipe_all() fix from ctdb
Andrew Tridgell [Thu, 7 Feb 2008 12:06:44 +0000 (23:06 +1100)]
merge growing tdb for tdb_wipe_all() fix from ctdb
(This used to be commit df4efb902ec5053ae9d7c6e4fd1e21255ca66914)

12 years agomake the multiplier in the RAW-OFFLINE test settable
Andrew Tridgell [Thu, 7 Feb 2008 12:05:44 +0000 (23:05 +1100)]
make the multiplier in the RAW-OFFLINE test settable
(This used to be commit f4b363d7a65023c816264b58d6f3f07730b43c0c)

12 years agowkssvc.idl: fix idl for wkssvc_NetrGetJoinableOus[2]()
Stefan Metzmacher [Sun, 3 Feb 2008 01:54:23 +0000 (02:54 +0100)]
wkssvc.idl: fix idl for wkssvc_NetrGetJoinableOus[2]()

metze
(This used to be commit 3f2edcc341e5b0e4369e8f601ef0cb6ecf73b4c7)

12 years agopidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers
Stefan Metzmacher [Thu, 31 Jan 2008 14:04:22 +0000 (15:04 +0100)]
pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers

The memory allocation of embedded "ref" pointers needs to be the
same as for all other embedded pointers.

metze
(This used to be commit 6b3817c2250b94307ffcbd9f8eeb9a593eb7a82d)

12 years agopidl/NDR: fix handling of multilevel pointers in function elements
Stefan Metzmacher [Fri, 1 Feb 2008 22:09:37 +0000 (23:09 +0100)]
pidl/NDR: fix handling of multilevel pointers in function elements

The 2nd or higher level of wire pointers needs to be marked as deferred.

metze
(This used to be commit d7970d70329e0d4f9de30ccfcedd03e583817fa2)

12 years agopidl: get the pointer types correct when an element has multiple pointers
Stefan Metzmacher [Fri, 1 Feb 2008 09:30:47 +0000 (10:30 +0100)]
pidl: get the pointer types correct when an element has multiple pointers

Only the first level gets the pointer type from the
pointer property, the others get them from
the pointer_default() interface property

see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx
(Here they talk about the rightmost pointer, but testing shows
they mean the leftmost pointer.)

metze
(This used to be commit aa8518521b2a6a7110c84c4981c53acce7389ee9)

12 years agowin32-tests: add a very usefull w32 programm to explore midl features
Stefan Metzmacher [Wed, 6 Feb 2008 15:34:36 +0000 (16:34 +0100)]
win32-tests: add a very usefull w32 programm to explore midl features

You have to define idl, call the client function
and add a server implementation.

Then you need to compile midltests.exe
and run it, it will dump the generated NDR on the
screen.

metze
(This used to be commit dc15c8833599a1cb8f51c2b5390925410cbf4e12)