1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

1186 Commits

Author SHA1 Message Date
Simo Sorce
370f95acfc Try to get a bit further with provisioning
(This used to be commit 649f6c0c10)
2008-06-16 17:52:50 -04:00
Jelmer Vernooij
4c144bbc9e Clarify error when SWIG can't be found - it's not required unless you
intend to do development.
(This used to be commit 0f57fcaa2e)
2008-06-11 00:11:11 +02:00
Jelmer Vernooij
230503ad84 Add working Python bindings for NBT.
(This used to be commit 9c88f5e1de)
2008-06-11 00:05:58 +02:00
Andrew Bartlett
be14efbdf9 Revert Jelmer's CFLAGS commit e2b71a0ecb
This commit broke the build, because not all files (libreplace, popt)
were updated.

Andrew Bartlett
(This used to be commit 3faacf4351)
2008-05-31 08:35:55 +10:00
Jelmer Vernooij
2772871146 Fix samdb python test.
(This used to be commit 0e3d488cc1)
2008-05-30 14:15:40 +02:00
Jelmer Vernooij
5107f093c2 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-defs
Conflicts:

	source/samba4-skip
(This used to be commit 7b0e0eb346)
2008-05-30 12:18:07 +02:00
Andrew Bartlett
21377a7ea9 Fix the samba4.dcerpc.bare.python test.
The loadparm context isn't really optional, as otherwise we can't find
the right server to connect to.

Andrew Bartlett
(This used to be commit 2b5acb5e95)
2008-05-30 15:26:10 +10:00
Andrew Bartlett
d579540085 Fix rpcecho test.
(This used to be commit df8399ba9d)
2008-05-30 15:09:59 +10:00
Andrew Bartlett
b9babfe4cc Fix up provision and samdb tests.
This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.

Andrew Bartlett
(This used to be commit 89fc39f7ed)
2008-05-30 14:26:47 +10:00
Jelmer Vernooij
39f50afc57 Move CFLAGS handling out of smb_build.
(This used to be commit e2b71a0ecb)
2008-05-30 02:07:28 +02:00
Jelmer Vernooij
6f7b2b6933 Fix samdb test and enable it.
(This used to be commit 6b202d3780)
2008-05-29 17:38:12 +02:00
Jelmer Vernooij
e16f0e15b4 Update after changes to the provision API, make sure temp dir gets cleaned
up.
(This used to be commit 064e9ddb37)
2008-05-29 17:31:16 +02:00
Jelmer Vernooij
90aeca8ebd Check test directory is cleaned up by Python tests.
(This used to be commit c338269b4b)
2008-05-29 17:29:56 +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
Andrew Kroeger
815c0ef2ed provision: Add missing string parameter token when assigning ldap_backend.
(This used to be commit 7d26145a7f)
2008-05-28 22:43:25 -05:00
Jelmer Vernooij
936b973acb Use new dynconfig.h location.
(This used to be commit c3f556915f)
2008-05-27 14:36:28 +02:00
Jelmer Vernooij
8f25f40a2e Remove unused literal EJS bindings.
(This used to be commit da3094d1ba)
2008-05-26 14:10:34 +02:00
Jelmer Vernooij
3a76da248d Remove unused libjs functions.
(This used to be commit 657a87fecc)
2008-05-26 14:08:17 +02:00
Jelmer Vernooij
1b6396f114 Remove unused param ejs bindings.
(This used to be commit 4dd0d46e27)
2008-05-26 14:03:55 +02:00
Jelmer Vernooij
75e2e1061e Remove unused rand EJS bindings.
(This used to be commit 4016427b77)
2008-05-26 14:02:37 +02:00
Jelmer Vernooij
4e9ca6caf9 Remove unused EJS net bindings.
(This used to be commit 3923414849)
2008-05-26 14:00:28 +02:00
Jelmer Vernooij
335688f640 Revert "remove unused credentials ejs module."
This reverts commit 9861cae1ae.
(This used to be commit a429dc730f)
2008-05-26 13:43:54 +02:00
Jelmer Vernooij
ec362bdbc0 Remove unused datablob and nbt ejs bindings.
(This used to be commit f758553ac5)
2008-05-26 13:40:17 +02:00
Jelmer Vernooij
cbe439383a remove unused credentials ejs module.
(This used to be commit 9861cae1ae)
2008-05-26 13:36:05 +02:00
Jelmer Vernooij
40a90e6a55 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpc
(This used to be commit e1af9708c9)
2008-05-26 12:19:09 +02:00
Jelmer Vernooij
58b1ab92a1 Fix import.
(This used to be commit 17231443a0)
2008-05-26 05:15:19 +02:00
Jelmer Vernooij
57f6663f3a Remove obsolete ejs winreg example.
(This used to be commit f1a2d2bc00)
2008-05-26 05:15:11 +02:00
Jelmer Vernooij
976eca077d Move some scripts to examples directory since they're not really generically useful.
(This used to be commit 4026493e91)
2008-05-26 05:15:07 +02:00
Jelmer Vernooij
575f124385 Cope with no server being active.
(This used to be commit 893119bb4c)
2008-05-26 05:12:31 +02:00
Jelmer Vernooij
4b3641695b Finish smbstatus in Python.
(This used to be commit 988508c2d3)
2008-05-26 05:00:45 +02:00
Jelmer Vernooij
d5434f0b4b Allow using IRPC functions on the messaging bus from Python.
(This used to be commit 6ecf81ae13)
2008-05-26 04:14:28 +02:00
Jelmer Vernooij
fd712bb878 Remove unused cli ejs module.
(This used to be commit 170d5aef80)
2008-05-26 02:11:32 +02:00
Jelmer Vernooij
5c89184c42 Remove unused nss module.
(This used to be commit 5f75a4f0c0)
2008-05-26 02:07:47 +02:00
Jelmer Vernooij
1aeb4cc04f Remove unused EJS code.
(This used to be commit 3b70a3de4a)
2008-05-26 02:05:11 +02:00
Jelmer Vernooij
c17166fb3d Convert smbstatus to Python.
(This used to be commit f14ad6cd92)
2008-05-26 02:04:00 +02:00
Jelmer Vernooij
5df9e0576e Fix missing colon.
(This used to be commit 6b1576f544)
2008-05-25 14:41:54 +02:00
Jelmer Vernooij
521354e4b3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpc
(This used to be commit 0a9330ee2a)
2008-05-25 06:38:05 +02:00
Jelmer Vernooij
74126bc6d0 Expose transfer and abstract syntax.
(This used to be commit a875e07a37)
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
928ecbaebb Add support for secondary contexts from Python.
(This used to be commit 16d1ad0505)
2008-05-25 04:23:03 +02:00
Jelmer Vernooij
a2446e5f85 Add initial work for script that uses probing to figure out IDL.
(This used to be commit 4e5687e813)
2008-05-25 02:32:21 +02:00
Jelmer Vernooij
21ce0ff006 Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
(This used to be commit e3178d522c)
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
75e7962d2e Add convenience functions for setting Python objects from errors.
(This used to be commit f1de723b89)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
f9c36fae75 Export functions for setting NTSTATUS and WERRORs in python.
(This used to be commit 4bcb92d2d4)
2008-05-24 21:38:33 +02:00
Jelmer Vernooij
515b6ed586 Share struct used for interfaces in Python code.
(This used to be commit 8501a3fc31)
2008-05-24 20:00:37 +02:00
Jelmer Vernooij
05194ccdf8 Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
(This used to be commit 468d35827f)
2008-05-24 19:50:09 +02:00
Jelmer Vernooij
f76697ce89 Add convenience functions for packing/unpacking structs in python.
(This used to be commit c5d7d48b32)
2008-05-24 18:57:15 +02:00
Jelmer Vernooij
6f6234c79f Remove remaining EJS RPC code, was unused.
(This used to be commit c994fa427f)
2008-05-24 18:19:41 +02:00
Jelmer Vernooij
73b789b6d2 Add docstrings to a couple more python modules.
(This used to be commit b4560c90e5)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
a203ee1ab1 Fix indentation, add docstring in provisioning script.
(This used to be commit 86a8a08549)
2008-05-23 16:43:26 +02:00
Jelmer Vernooij
e3d000f3bf Some more PEP improvements.
(This used to be commit 015ca850df)
2008-05-23 16:29:08 +02:00
Jelmer Vernooij
cceac63aaa Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-wsgi
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit d27de63365)
2008-05-23 16:24:07 +02:00
Jelmer Vernooij
5eed56d0ad Fix bugs in samr python tests.
(This used to be commit 09c6b106ac)
2008-05-23 15:10:35 +02:00
Jelmer Vernooij
dff31b1dc0 Create new context in pytalloc to avoid problems with talloc_free() freeing the wrong parent of a pointer.
(This used to be commit 3f628f4dc9)
2008-05-23 15:09:51 +02:00
Jelmer Vernooij
9adcd8c25e UFollow conventions for __repr__ contents for talloc python wrapper.
(This used to be commit f2d437d646)
2008-05-23 13:13:36 +02:00
Jelmer Vernooij
6ccb9785e7 Add another test toe the python samr testsuite.
(This used to be commit 480884c696)
2008-05-23 04:21:29 +02:00
Jelmer Vernooij
5a5605afcd Remove unused ejs library functions.
(This used to be commit 57eec87b19)
2008-05-23 04:21:19 +02:00
Jelmer Vernooij
27005cb7a2 Convert samr test to python.
(This used to be commit 88d473b202)
2008-05-23 04:20:45 +02:00
Jelmer Vernooij
166105b0b6 Fix bug after reprocessing swig files with newer version of SWIG.
(This used to be commit 2155d76646)
2008-05-23 03:20:37 +02:00
Jelmer Vernooij
7cfcec2e9d Fix imports for minschema.
(This used to be commit bda223a49e)
2008-05-23 02:44:42 +02:00
Jelmer Vernooij
1a42178166 dcerpc is now samba.dcerpc, avoid including source code in API documentation.
(This used to be commit a28a8ed535)
2008-05-23 00:45:50 +02:00
Jelmer Vernooij
c159d1221b Add docstrings to samba3 and getopt modules.
(This used to be commit bdf1c039db)
2008-05-23 00:38:11 +02:00
Jelmer Vernooij
c401aa9357 Use restructuredText formatting for docstrings.
(This used to be commit 0cc58decd7)
2008-05-23 00:37:22 +02:00
Jelmer Vernooij
73e2fc9590 Add docstrings in misc python module.
(This used to be commit 5bf15122e6)
2008-05-23 00:37:12 +02:00
Andrew Kroeger
bf3f3af926 provision: Generate krb5.conf template separate from named.conf template.
(This used to be commit ebf130e9e5)
2008-05-21 20:46:15 -05:00
Jelmer Vernooij
d8459e3e1c Fix import in provision test.
(This used to be commit 96501be38d)
2008-05-22 03:09:40 +02:00
Jelmer Vernooij
d77745e692 Move DCE/RPC python bindings into samba package.
(This used to be commit 8dafd4ce40)
2008-05-22 02:21:25 +02:00
Jelmer Vernooij
5ce59419a0 Fix CFLAGS for SWIG files.
(This used to be commit 8ee4f07504)
2008-05-22 02:13:26 +02:00
Jelmer Vernooij
6e14d44d27 Make sure the default ldb modules dir gets initialized.
(This used to be commit 937456c69d)
2008-05-22 01:50:38 +02:00
Jelmer Vernooij
059c012656 Fix dependencies and imports.
(This used to be commit 37ef86f8de)
2008-05-22 00:56:36 +02:00
Jelmer Vernooij
49706ab19b Move more modules inside of the samba package.
(This used to be commit 9b39e99f48)
2008-05-21 23:59:34 +02:00
Jelmer Vernooij
82bcf967b7 Move CFLAGS overrides for SWIG modules to Makefile.
(This used to be commit 58665a8a8e)
2008-05-21 21:32:53 +02:00
Andrew Bartlett
40ff67e454 Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
(This used to be commit 0e429dd1fb)
2008-05-21 14:34:43 +10:00
Jelmer Vernooij
4c70cda986 Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b5211994)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147 Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
6a31928869 Use variables for source directory in a couple more places.
(This used to be commit 28f4a8bc2c)
2008-05-18 19:56:17 +02:00
Jelmer Vernooij
100d3967d3 Use src dir.
(This used to be commit 63f2b66f0e)
2008-05-18 19:10:37 +02:00
Jelmer Vernooij
4d2f44163e Use variables for source path in libnet/ and scripting/python.
(This used to be commit fb10a81b94)
2008-05-18 19:07:07 +02:00
Andrew Kroeger
25ea110c38 provision: Create instructions for enabling DNS GSS-TSIG updates.
Added code to the python provisioning to create the named.conf file that was
previously generated by the EJS provisioning.

Updated the named.conf template to provide the additional details necessary
to get things working.
(This used to be commit 0b7a6bfcba)
2008-05-18 01:54:57 -05:00
Jelmer Vernooij
d648c5849f Install python modules by default.
(This used to be commit 4c098e4c9f)
2008-05-16 16:30:22 +02:00
Jelmer Vernooij
4accab35c6 Merge branch 'nosmbpython' into v4-0-test
(This used to be commit 9683f7434c)
2008-05-12 03:54:53 +02:00
Jelmer Vernooij
af683666d6 Remove obsolete provisioning library.
(This used to be commit f123190fb4)
2008-05-11 15:15:27 +02:00
Jelmer Vernooij
826dadf4f2 Remove smbpython.
(This used to be commit e83f7b1196)
2008-05-11 05:46:40 +02:00
Jelmer Vernooij
47d2218922 Set sys.path for running inside source tree.
(This used to be commit b507109bb6)
2008-05-11 05:45:49 +02:00
Jelmer Vernooij
babdcc6135 Use system python rather than smbpython.
(This used to be commit d3df51cd01)
2008-05-11 05:29:20 +02:00
Jelmer Vernooij
251f6bd991 make sure to always use string version of uuid rather than object.
(This used to be commit bcd5fc7dc9)
2008-05-11 04:36:37 +02:00
Jelmer Vernooij
8c926a34c8 Complete dependencies for python modules (actually matters when built standalone).
(This used to be commit a89b6d8ad7)
2008-05-11 04:36:05 +02:00
Jelmer Vernooij
5319d9620b Use consistent function names with the standard Python uuid module that is available in >= 2.4.
(This used to be commit 60d458e319)
2008-05-11 03:31:26 +02:00
Jelmer Vernooij
97fbad6480 Install standalone python modules (so we can use stock python rather than smbpython).
(This used to be commit bb5c9fc64b)
2008-05-10 23:25:50 +02:00
Jelmer Vernooij
6267dd7853 Clean up some git merges gone wrong.
(This used to be commit 42eb6b3346)
2008-05-10 20:59:17 +02:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd42068)
2008-04-25 10:04:20 +01:00
Kai Blin
240d959005 libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
(This used to be commit 5f3a70f285)
2008-04-24 11:17:23 +02:00
Jelmer Vernooij
dd0da89e84 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit ece878c1f9)
2008-04-17 13:05:25 +02:00
Jelmer Vernooij
21fc767378 Specify event_context to ldb_wrap_connect explicitly.
(This used to be commit b4e1ae07a2)
2008-04-17 12:23:44 +02:00
Andrew Bartlett
4d8f3f1902 Fix the expectations on the unixinfo test.
Andrew Bartlett
(This used to be commit 0df2b3e0b5)
2008-04-17 12:03:49 +02:00
Jelmer Vernooij
bbb826bdac Add convenience function for getting at event context from ejs code.
(This used to be commit b659e83cd6)
2008-04-17 01:37:42 +02:00
Jelmer Vernooij
7c4a45de26 make sure header can be included more than once.
(This used to be commit 38ed501ac8)
2008-04-16 11:43:37 +02:00
Andrew Bartlett
2ddd23a875 Re-add 'db' subdirectory for LDAP backend provision
Andrew Bartlett
(This used to be commit 19890c0d15)
2008-04-15 17:10:47 +02:00
Andrew Bartlett
dfedfae1cd Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 66327b8bd8)
2008-04-15 16:56:15 +02:00
Andrew Bartlett
f8f4856ab7 Fix provision-backend script
Andrew Bartlett
(This used to be commit ee6e4f8da2)
2008-04-15 15:52:52 +02:00
Jelmer Vernooij
fd52fe8616 Fix pointers when pushing strings to python during pidl generation.
(This used to be commit ca72187b3e)
2008-04-15 14:32:13 +02:00