import/samba-svnimport.git
16 years agor25542: Remove json library. 4.0-python
Jelmer Vernooij [Fri, 5 Oct 2007 23:07:41 +0000 (23:07 +0000)]
r25542: Remove json library.

16 years agor25523: Merge upstream.
Jelmer Vernooij [Fri, 5 Oct 2007 18:49:30 +0000 (18:49 +0000)]
r25523: Merge upstream.

16 years agor25521: Convert more code to python, move closer to related code.
Jelmer Vernooij [Fri, 5 Oct 2007 17:47:17 +0000 (17:47 +0000)]
r25521: Convert more code to python, move closer to related code.

16 years agor25520: Remove more references to EJS generated code.
Jelmer Vernooij [Fri, 5 Oct 2007 17:41:44 +0000 (17:41 +0000)]
r25520: Remove more references to EJS generated code.

16 years agor25519: Remove EJS support from pidl.
Jelmer Vernooij [Fri, 5 Oct 2007 17:33:22 +0000 (17:33 +0000)]
r25519: Remove EJS support from pidl.

16 years agor25517: Move ldb-specific python code to lib/ldb.
Jelmer Vernooij [Fri, 5 Oct 2007 16:18:06 +0000 (16:18 +0000)]
r25517: Move ldb-specific python code to lib/ldb.

16 years agor25501: Remove ejs library in preparation of replacement by python.
Jelmer Vernooij [Thu, 4 Oct 2007 00:29:29 +0000 (00:29 +0000)]
r25501: Remove ejs library in preparation of replacement by python.

16 years agor25497: Fix swig build, handle NTSTATUS errors correctly in generated swig code for...
Jelmer Vernooij [Wed, 3 Oct 2007 22:07:46 +0000 (22:07 +0000)]
r25497: Fix swig build, handle NTSTATUS errors correctly in generated swig code for DCE/RPC interfaces.

16 years agor25496: Remove obsolete .js files.
Jelmer Vernooij [Wed, 3 Oct 2007 22:05:41 +0000 (22:05 +0000)]
r25496: Remove obsolete .js files.

16 years agor25491: Some more minor tweaks, let the build system build python mods by default.
Jelmer Vernooij [Wed, 3 Oct 2007 20:15:01 +0000 (20:15 +0000)]
r25491: Some more minor tweaks, let the build system build python mods by default.

16 years agor25490: Convert winreg to python.
Jelmer Vernooij [Wed, 3 Oct 2007 19:57:32 +0000 (19:57 +0000)]
r25490: Convert winreg to python.

16 years agor25489: Convert samba3dump to python.
Jelmer Vernooij [Wed, 3 Oct 2007 19:48:00 +0000 (19:48 +0000)]
r25489: Convert samba3dump to python.

16 years agor25488: Convert smbstatus as far as I can atm.
Jelmer Vernooij [Wed, 3 Oct 2007 19:22:02 +0000 (19:22 +0000)]
r25488: Convert smbstatus as far as I can atm.

16 years agor25486: Fix make rule for swig files.
Jelmer Vernooij [Wed, 3 Oct 2007 19:08:53 +0000 (19:08 +0000)]
r25486: Fix make rule for swig files.

16 years agor25485: More incremental work on converting to Python.
Jelmer Vernooij [Wed, 3 Oct 2007 18:57:27 +0000 (18:57 +0000)]
r25485: More incremental work on converting to Python.

16 years agor25483: More work converting provision to python.
Jelmer Vernooij [Wed, 3 Oct 2007 13:34:44 +0000 (13:34 +0000)]
r25483: More work converting provision to python.

16 years agor25479: Merge upstream.
Jelmer Vernooij [Wed, 3 Oct 2007 10:23:29 +0000 (10:23 +0000)]
r25479: Merge upstream.

16 years agor25478: Fix options groups in python code.
Jelmer Vernooij [Wed, 3 Oct 2007 10:13:58 +0000 (10:13 +0000)]
r25478: Fix options groups in python code.

16 years agor25371: Add uuid module.
Jelmer Vernooij [Thu, 27 Sep 2007 01:31:43 +0000 (01:31 +0000)]
r25371: Add uuid module.

16 years agor25369: Remove own copy of python.
Jelmer Vernooij [Thu, 27 Sep 2007 00:42:15 +0000 (00:42 +0000)]
r25369: Remove own copy of python.

16 years agor25347: Fix param module.
Jelmer Vernooij [Wed, 26 Sep 2007 02:06:36 +0000 (02:06 +0000)]
r25347: Fix param module.

16 years agor25346: Some more work on python bindings.
Jelmer Vernooij [Wed, 26 Sep 2007 02:06:32 +0000 (02:06 +0000)]
r25346: Some more work on python bindings.

16 years agor25345: More work converting the provisioning code to python.
Jelmer Vernooij [Wed, 26 Sep 2007 02:06:29 +0000 (02:06 +0000)]
r25345: More work converting the provisioning code to python.

16 years agor25344: Add some simple tests that define the interface of the tdb python bindings.
Jelmer Vernooij [Wed, 26 Sep 2007 02:06:26 +0000 (02:06 +0000)]
r25344: Add some simple tests that define the interface of the tdb python bindings.

16 years agor25343: Add initial work on wrapper for loadparm.
Jelmer Vernooij [Wed, 26 Sep 2007 02:06:23 +0000 (02:06 +0000)]
r25343: Add initial work on wrapper for loadparm.

16 years agor25342: Some more work getting the ldb and tdb python bindings to work again.
Jelmer Vernooij [Wed, 26 Sep 2007 02:06:20 +0000 (02:06 +0000)]
r25342: Some more work getting the ldb and tdb python bindings to work again.

16 years agor25341: Revive tim's swig code.
Jelmer Vernooij [Wed, 26 Sep 2007 02:06:12 +0000 (02:06 +0000)]
r25341: Revive tim's swig code.

16 years agor25340: Fix some more of the python code.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:45 +0000 (01:34 +0000)]
r25340: Fix some more of the python code.

16 years agor25339: Start converting provision to python.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:42 +0000 (01:34 +0000)]
r25339: Start converting provision to python.

16 years agor25338: Allow using system python.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:35 +0000 (01:34 +0000)]
r25338: Allow using system python.

16 years agor25337: Remove more cruft.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:32 +0000 (01:34 +0000)]
r25337: Remove more cruft.

16 years agor25336: Remove some more cruft.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:29 +0000 (01:34 +0000)]
r25336: Remove some more cruft.

16 years agor25335: Fix paths.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:26 +0000 (01:34 +0000)]
r25335:  Fix paths.

16 years agor25334: Clean up some more files, fix the build.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:23 +0000 (01:34 +0000)]
r25334: Clean up some more files, fix the build.

16 years agor25333: Some more changes to the python build, add bzrignore.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:20 +0000 (01:34 +0000)]
r25333:  Some more changes to the python build, add bzrignore.

16 years agor25332: Fix python build.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:16 +0000 (01:34 +0000)]
r25332: Fix python build.

16 years agor25331: Integrate pythons' configure.
Jelmer Vernooij [Wed, 26 Sep 2007 01:34:11 +0000 (01:34 +0000)]
r25331: Integrate pythons' configure.

16 years agor25330: Import Python.
Jelmer Vernooij [Wed, 26 Sep 2007 01:32:44 +0000 (01:32 +0000)]
r25330: Import Python.

16 years agor25329: A solution to SWIG not being able to handle a structure and a function
Tim Potter [Wed, 26 Sep 2007 01:26:36 +0000 (01:26 +0000)]
r25329: A solution to SWIG not being able to handle a structure and a function
having the same name.  Hey we can now query nbt names from Python.

16 years agor25316: Remove last few instances of old BOOL type in librpc/.
Jelmer Vernooij [Tue, 25 Sep 2007 16:05:08 +0000 (16:05 +0000)]
r25316: Remove last few instances of old BOOL type in librpc/.

16 years agor25315: Revert my last change until I find out what's causing the
Rafal Szczesniak [Tue, 25 Sep 2007 05:59:57 +0000 (05:59 +0000)]
r25315: Revert my last change until I find out what's causing the
problem spotted by the builfarm.

rafal

16 years agor25312: Replace the old-style composite calls.
Rafal Szczesniak [Tue, 25 Sep 2007 04:24:39 +0000 (04:24 +0000)]
r25312: Replace the old-style composite calls.

rafal

16 years agor25310: Make sure we do not regress on r25309
Volker Lendecke [Mon, 24 Sep 2007 19:48:10 +0000 (19:48 +0000)]
r25310: Make sure we do not regress on r25309

16 years agor25308: Remove use of pstring.
Jelmer Vernooij [Mon, 24 Sep 2007 18:47:50 +0000 (18:47 +0000)]
r25308: Remove use of pstring.

16 years agor25307: add string_sub_talloc.
Jelmer Vernooij [Mon, 24 Sep 2007 16:43:16 +0000 (16:43 +0000)]
r25307: add string_sub_talloc.

16 years agor25306: Add tests for string_sub().
Jelmer Vernooij [Mon, 24 Sep 2007 15:55:26 +0000 (15:55 +0000)]
r25306: Add tests for string_sub().

16 years agor25305: Fix installation of missing headers.
Jelmer Vernooij [Mon, 24 Sep 2007 13:22:30 +0000 (13:22 +0000)]
r25305: Fix installation of missing headers.

16 years agor25304: Thankyou to Amin Azez <azez@ufomechanic.net> for pointing out that I
Andrew Bartlett [Mon, 24 Sep 2007 11:34:26 +0000 (11:34 +0000)]
r25304: Thankyou to Amin Azez <azez@ufomechanic.net> for pointing out that I
used subobj.ROLE and not subobj.SERVERROLE as the rest of the code
does.

Andrew Bartlett

16 years agor25303: Print out the options the provision script generated. This should
Andrew Bartlett [Mon, 24 Sep 2007 09:34:54 +0000 (09:34 +0000)]
r25303: Print out the options the provision script generated.  This should
help users produce predictable setups.

Andrew Bartlett

16 years agor25302: try to fix the build
Stefan Metzmacher [Mon, 24 Sep 2007 05:11:03 +0000 (05:11 +0000)]
r25302: try to fix the build

metze

16 years agor25301: Merge my includes.h cleanups.
Jelmer Vernooij [Sun, 23 Sep 2007 21:35:03 +0000 (21:35 +0000)]
r25301: Merge my includes.h cleanups.

16 years agor25300: Update howto.txt with modified provision syntax.
Andrew Bartlett [Sat, 22 Sep 2007 12:57:50 +0000 (12:57 +0000)]
r25300: Update howto.txt with modified provision syntax.

Andrew Bartlett

16 years agor25299: Modify the provision script to take an additional argument: --server-role
Andrew Bartlett [Sat, 22 Sep 2007 12:57:17 +0000 (12:57 +0000)]
r25299: Modify the provision script to take an additional argument:  --server-role

This must be set to either 'domain controller', 'domain member' or 'standalone'.

The default for the provision now changes to 'standalone'.

This is not because Samba4 is particularlly useful in that mode, but
because we still want a positive sign from the administrator that we
should advertise as a DC.

We now do more to ensure the 'standalone' and 'member server'
provision output is reasonable, and try not to set odd things into the
database that only belong for the DC.

Andrew Bartlett

16 years agor25298: regenerate lex.c files with config.h as first include
Stefan Metzmacher [Sat, 22 Sep 2007 09:44:29 +0000 (09:44 +0000)]
r25298: regenerate lex.c files with config.h as first include
this should help on aix 5.3.

metze

16 years agor25297: - fix sed arguments to make the replacement work
Stefan Metzmacher [Sat, 22 Sep 2007 09:42:38 +0000 (09:42 +0000)]
r25297: - fix sed arguments to make the replacement work
- always add #include "config.h" in the first line

metze

16 years agor25296: Apply patch by Elrond <elrond+sambaclassic@samba-tng.org>: Put
Volker Lendecke [Sat, 22 Sep 2007 09:22:58 +0000 (09:22 +0000)]
r25296: Apply patch by Elrond <elrond+sambaclassic@samba-tng.org>: Put
__location__ into a few printfs.

Thanks,

Volker

16 years agor25293: add WINBIND-STRUCT-CHECK_MACHACC test
Stefan Metzmacher [Fri, 21 Sep 2007 14:22:23 +0000 (14:22 +0000)]
r25293: add WINBIND-STRUCT-CHECK_MACHACC test

metze

16 years agor25292: minor cleanup
Stefan Metzmacher [Fri, 21 Sep 2007 13:55:21 +0000 (13:55 +0000)]
r25292: minor cleanup

metze

16 years agor25291: add WINBIND-STRUCT-PRIV_PIPE_DIR test
Stefan Metzmacher [Fri, 21 Sep 2007 13:23:43 +0000 (13:23 +0000)]
r25291: add WINBIND-STRUCT-PRIV_PIPE_DIR test

this may needs
--option="torture:winbindd private pipe dir=/var/lib/samba/winbindd_privileged"

metze

16 years agor25290: remove wrong comment
Stefan Metzmacher [Fri, 21 Sep 2007 12:55:16 +0000 (12:55 +0000)]
r25290: remove wrong comment

metze

16 years agor25289: add WINBIND-STRUCT-INFO test
Stefan Metzmacher [Fri, 21 Sep 2007 12:49:32 +0000 (12:49 +0000)]
r25289: add WINBIND-STRUCT-INFO test

this may needs --option="torture:winbindd separator=+"

metze

16 years agor25288: add WINBIND-STRUCT-DOMAIN_INFO test
Stefan Metzmacher [Fri, 21 Sep 2007 12:35:44 +0000 (12:35 +0000)]
r25288: add WINBIND-STRUCT-DOMAIN_INFO test

metze

16 years agor25284: add WINBIND-STRUCT-DOMAIN_NAME test
Stefan Metzmacher [Fri, 21 Sep 2007 11:51:04 +0000 (11:51 +0000)]
r25284: add WINBIND-STRUCT-DOMAIN_NAME test

this may needs --option="torture:winbindd netbios domain=BAR"

metze

16 years agor25283: add WINBIND-STRUCT-NETBIOS_NAME test.
Stefan Metzmacher [Fri, 21 Sep 2007 11:43:06 +0000 (11:43 +0000)]
r25283: add WINBIND-STRUCT-NETBIOS_NAME test.

this may needs --option="torture:winbindd netbios name=FOO"

metze

16 years agor25282: add WINBIND-STRUCT-INTERFACE_VERSION test
Stefan Metzmacher [Fri, 21 Sep 2007 11:30:44 +0000 (11:30 +0000)]
r25282: add WINBIND-STRUCT-INTERFACE_VERSION test

metze

16 years agor25280: call WINBINDD_GETDCNAME for each domain returned from WINBINDD_LIST_TRUSTDOMS
Stefan Metzmacher [Fri, 21 Sep 2007 10:43:21 +0000 (10:43 +0000)]
r25280: call WINBINDD_GETDCNAME for each domain returned from WINBINDD_LIST_TRUSTDOMS

metze

16 years agor25279: - test in the generic get_trusted_domains() function that we got
Stefan Metzmacher [Fri, 21 Sep 2007 10:40:10 +0000 (10:40 +0000)]
r25279: - test in the generic get_trusted_domains() function that we got
  at least 2 domains.
- change the ordering of the tests

metze

16 years agor25278: add a more extented macro for doing struct based winbind requests
Stefan Metzmacher [Fri, 21 Sep 2007 10:36:51 +0000 (10:36 +0000)]
r25278: add a more extented macro for doing struct based winbind requests

metze

16 years agor25269: this doesn't fix the problems with BSD make completely...
Stefan Metzmacher [Fri, 21 Sep 2007 09:00:25 +0000 (09:00 +0000)]
r25269: this doesn't fix the problems with BSD make completely...

metze

16 years agor25268: Thanks to Andrew Kroeger for pointing out on IRC that this is
Andrew Bartlett [Fri, 21 Sep 2007 05:49:48 +0000 (05:49 +0000)]
r25268: Thanks to Andrew Kroeger for pointing out on IRC that this is
compleatly dead code.

Andrew Bartlett

16 years agor25267: Move PRINTF_ATTRIBUTE to lib/util as well.
Jelmer Vernooij [Fri, 21 Sep 2007 02:00:50 +0000 (02:00 +0000)]
r25267: Move PRINTF_ATTRIBUTE to lib/util as well.

16 years agor25266: Fix case.
Jelmer Vernooij [Fri, 21 Sep 2007 00:42:51 +0000 (00:42 +0000)]
r25266: Fix case.

16 years agor25265: Move attribute definitions to lib/util.
Jelmer Vernooij [Fri, 21 Sep 2007 00:09:13 +0000 (00:09 +0000)]
r25265: Move attribute definitions to lib/util.

16 years agor25264: add a test to verify that the ACLs are checked when a normal user connects...
Ronnie Sahlberg [Thu, 20 Sep 2007 23:27:28 +0000 (23:27 +0000)]
r25264: add a test to verify that the ACLs are checked when a normal user connects to SAMR

16 years agor25263: add a test to check the accessmasks and ACLs on policy handles returned on the
Ronnie Sahlberg [Thu, 20 Sep 2007 22:57:57 +0000 (22:57 +0000)]
r25263: add a test to check the accessmasks and ACLs on policy handles returned on the
SAMR pipe.

also test which bits in the accessmasks grant which right to perform operations on the returned policy handle

16 years agor25262: add WINBIND-STRUCT-LIST_TRUSTDOM torture test
Stefan Metzmacher [Thu, 20 Sep 2007 18:44:59 +0000 (18:44 +0000)]
r25262: add WINBIND-STRUCT-LIST_TRUSTDOM torture test

metze

16 years agor25259: try to work arround the build failures on OpenBSD 3.7
Stefan Metzmacher [Thu, 20 Sep 2007 14:36:11 +0000 (14:36 +0000)]
r25259: try to work arround the build failures on OpenBSD 3.7

metze

16 years agor25256: Fix missing field set in libnet_ModifyUser routine.
Rafal Szczesniak [Thu, 20 Sep 2007 10:23:02 +0000 (10:23 +0000)]
r25256: Fix missing field set in libnet_ModifyUser routine.

Submitted by Matthias Dieter Wallnoefer <mwallnoefer@yahoo.de>

rafal

16 years agor25251: move macro defines to the end of replace.h
Stefan Metzmacher [Thu, 20 Sep 2007 09:11:58 +0000 (09:11 +0000)]
r25251: move macro defines to the end of replace.h
and move the include location sys/param.h
before we redefine missing macros

metze

16 years agor25249: Thanks to Andrew Kroeger for pointing out this silly typo (calling
Andrew Bartlett [Thu, 20 Sep 2007 07:51:08 +0000 (07:51 +0000)]
r25249: Thanks to Andrew Kroeger for pointing out this silly typo (calling
end_transaction in delete_tranaction would be very much the wrong
thing to do) in the update_keytab module.

Andrew Bartlett

16 years agor25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
Stefan Metzmacher [Wed, 19 Sep 2007 19:09:02 +0000 (19:09 +0000)]
r25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
as this is always answered by the winbindd parent and will
most times return old sequence number values.

metze

16 years agor25235: add simple WINBIND-STRUCT-GETDCNAME test
Stefan Metzmacher [Wed, 19 Sep 2007 16:24:12 +0000 (16:24 +0000)]
r25235: add simple WINBIND-STRUCT-GETDCNAME test

metze

16 years agor25234: make WINBIND-STRUCT-PING a benchmark test
Stefan Metzmacher [Wed, 19 Sep 2007 16:22:19 +0000 (16:22 +0000)]
r25234: make WINBIND-STRUCT-PING a benchmark test

which runs WINBIND_PING for 5 seconds

metze

16 years agor25231: revert hunk that was commited together with the change to gplv3
Stefan Metzmacher [Wed, 19 Sep 2007 14:55:10 +0000 (14:55 +0000)]
r25231: revert hunk that was commited together with the change to gplv3
was revision 23801

metze

16 years agor25221: Experiment with Jelmer's new generic loadparm code.
Tim Potter [Wed, 19 Sep 2007 01:59:06 +0000 (01:59 +0000)]
r25221: Experiment with Jelmer's new generic loadparm code.

16 years agor25220: Comment out obsolete functions.
Tim Potter [Wed, 19 Sep 2007 01:57:26 +0000 (01:57 +0000)]
r25220: Comment out obsolete functions.

16 years agor25219: remove unused check for precompiled headers.
Jelmer Vernooij [Tue, 18 Sep 2007 23:19:04 +0000 (23:19 +0000)]
r25219: remove unused check for precompiled headers.

16 years agor25218: After discussion with Simo, remove the subclass support from LDB.
Andrew Bartlett [Tue, 18 Sep 2007 22:43:06 +0000 (22:43 +0000)]
r25218: After discussion with Simo, remove the subclass support from LDB.

Subclass support was designed to avoid needing to spell out the full
list of objectClasses that an entry was in.  However, Samba4 now
enforces this restriction in the objectClass module, and the way
subclass matching was handled was complex and counter-intuitive in my
opinion (and did not match LDAP).

Andrew Bartlett

16 years agor25217: #define TALLOC_DEPRECATED 1 to get talloc_append_string() macro
Stefan Metzmacher [Tue, 18 Sep 2007 13:47:10 +0000 (13:47 +0000)]
r25217: #define TALLOC_DEPRECATED 1 to get talloc_append_string() macro

I'm not updating any code here, as in a few places the
existing code seems totaly broken to me...

metze

16 years agor25216: make talloc_append_string() a deprecated macro instead of
Stefan Metzmacher [Tue, 18 Sep 2007 13:45:43 +0000 (13:45 +0000)]
r25216: make talloc_append_string() a deprecated macro instead of
having it as a real function.

metze

16 years agor25215: replace talloc_append_string() with talloc_strdup_append_buffer()
Stefan Metzmacher [Tue, 18 Sep 2007 13:41:50 +0000 (13:41 +0000)]
r25215: replace talloc_append_string() with talloc_strdup_append_buffer()

metze

16 years agor25214: use talloc_strndup_append() instead of talloc_append_string()
Stefan Metzmacher [Tue, 18 Sep 2007 13:33:44 +0000 (13:33 +0000)]
r25214: use talloc_strndup_append() instead of talloc_append_string()
and ugly hacks to handle the string termination.

metze

16 years agor25213: use talloc_strdup_append_buffer() instead of talloc_append_string()
Stefan Metzmacher [Tue, 18 Sep 2007 13:31:55 +0000 (13:31 +0000)]
r25213: use talloc_strdup_append_buffer() instead of talloc_append_string()

metze

16 years agor25212: merge some stuff from samba3
Stefan Metzmacher [Tue, 18 Sep 2007 13:31:05 +0000 (13:31 +0000)]
r25212: merge some stuff from samba3

metze

16 years agor25211: fix compiler warning
Stefan Metzmacher [Tue, 18 Sep 2007 13:25:48 +0000 (13:25 +0000)]
r25211: fix compiler warning

metze

16 years agor25210: fix typo
Stefan Metzmacher [Tue, 18 Sep 2007 12:00:29 +0000 (12:00 +0000)]
r25210: fix typo

metze

16 years agor25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()
Stefan Metzmacher [Tue, 18 Sep 2007 11:56:24 +0000 (11:56 +0000)]
r25209: unify logic of talloc_vasprintf_append() and talloc_vasprintf_append_buffer()

metze

16 years agor25208: add talloc_str[n]dup_append[_buffer]() functions
Stefan Metzmacher [Tue, 18 Sep 2007 11:54:10 +0000 (11:54 +0000)]
r25208: add talloc_str[n]dup_append[_buffer]() functions

metze

16 years agor25207: remove one nesting level and use unlikely()
Stefan Metzmacher [Tue, 18 Sep 2007 11:52:35 +0000 (11:52 +0000)]
r25207: remove one nesting level and use unlikely()

metze

16 years agor25206: unify logic of talloc_strdup() and talloc_strndup(),
Stefan Metzmacher [Tue, 18 Sep 2007 11:51:41 +0000 (11:51 +0000)]
r25206: unify logic of talloc_strdup() and talloc_strndup(),
only strlen() vs. strnlen() is the difference now.

metze