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

14899 Commits

Author SHA1 Message Date
Stefan Metzmacher
d1ed962897 torture: the libnet torture test depend on python
metze
(This used to be commit d64a2288a2cb3a8f74a18b740b265a460773635d)
2008-01-25 15:46:57 +01:00
Stefan Metzmacher
e41a632902 configure: define HAVE_WORKING_PYTHON
metze
(This used to be commit 351c2e99ab8b6a91f7355077b2d2944fd820839c)
2008-01-25 15:46:54 +01:00
Andrew Tridgell
98d2b00dbe Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 1e042908992cdf3149ffc24472c7f0b1c3f9edef)
2008-01-25 23:16:34 +11:00
Jelmer Vernooij
21f5f4d440 python: Give precedence to Samba's syspath over the already set system one.
(This used to be commit f3ebaf0a0c0b881da28063c69bb6306f6aa1c774)
2008-01-25 12:16:13 +01:00
Jelmer Vernooij
1c5e713cce 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 64babbec22f165e34799d36ff4b76806d9fead50)
2008-01-25 11:50:00 +01:00
Jelmer Vernooij
6c2d4f2806 python/provision: Reload secrets when necessary, fix unix names in mappings.
Pair programmed with Andrew.
(This used to be commit 04fe8c8aefae8da8966954d0654c37adf2d0361d)
2008-01-25 11:47:44 +01:00
Stefan Metzmacher
5d55aa99e6 pidl/Samba4::Header: fix typedefs of unions and structs without elements
metze
(This used to be commit 3131847cb67dadd8ee6fcbca5055927b8ba8a219)
2008-01-25 10:07:43 +01:00
Stefan Metzmacher
876fdde645 configure.ac: we should use AC_CONFIG_FILES() in order to use AC_OUTPUT only once
metze
(This used to be commit bcaba3cb725e1cbbe164132179a0849c7b546a73)
2008-01-25 08:42:30 +01:00
Stefan Metzmacher
125311d929 configure.ac: we should only create ldb.pc when use the internal ldb
metze
(This used to be commit 2c75bd5009020171e31b56ab3d8d6a86f19f3b49)
2008-01-25 08:40:03 +01:00
Stefan Metzmacher
b0e286a5be repl_meta_data: add some TODOs to replmd_modify_originating()
metze
(This used to be commit ba495f9d19e7c7cfc9135a5d40e1050dd8f9ebc6)
2008-01-25 08:08:50 +01:00
Andrew Tridgell
8ef7ddbf89 added latency reporting
(This used to be commit f0ffbb8e19c1085bf54d226f62c667868e14f62e)
2008-01-25 17:27:36 +11:00
Andrew Tridgell
01a0aa4fd1 this is in seconds
(This used to be commit 019dd9a3d7d9af8ab71a10802c728f5ab5cf781d)
2008-01-25 17:27:17 +11:00
Andrew Bartlett
1b18de131c Tidy up the last regresesions on the python smbscript, from my work
with Jelmer today.

The only remaining issue is that for the build farm, we will need to
manually specify the users and groups from the NSS_WRAPPPER, as python
isn't compiled with this.

Andrew Bartlett
(This used to be commit 5370484d25b8c7a5bde730d9be36ecbbb0aaf315)
2008-01-25 17:11:20 +11:00
Andrew Tridgell
3249f4f84e more useful output
(This used to be commit 033cab6546d943089eefc298b335db03c1d0ebb6)
2008-01-25 15:00:45 +11:00
Andrew Tridgell
4e4e7dbff8 added a offline file torture test BASE-OFFLINE
(This used to be commit d4b26fb2a38aa5b0ed2b6083641b9d8306af8c58)
2008-01-25 15:00:11 +11:00
Jelmer Vernooij
dcb04065cd python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
(This used to be commit dff54ff043563f93b86361039c46e662045f62cc)
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
c28c683208 ldb/python: Add bindings for schema functions.
(This used to be commit 9f6ea4692ca79c607538871c597698b98abf13d0)
2008-01-25 03:46:47 +01:00
Jelmer Vernooij
dbf400c3da python/provision: Create private dir if it didn't exist yet.
(This used to be commit 66df250ff355d3c1b7f0252fc1f95a8c79a28c6d)
2008-01-25 01:41:06 +01:00
Jelmer Vernooij
c91791bbc4 python: Add test for secretsdb_become_dc
(This used to be commit 9173c678efb6f74dbec64298bcb00952feff2ed7)
2008-01-25 01:37:47 +01:00
Jelmer Vernooij
76eb7ddd75 python: fix tests for check_all_substituted.
(This used to be commit 859cffed9d3a62f9f7610d74472aa3c0d1979a35)
2008-01-25 01:30:43 +01:00
Jelmer Vernooij
a4600a5ed0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit d35d4f983d1eb7450cd9f92a5217c14ec073396f)
2008-01-25 01:03:13 +01:00
Jelmer Vernooij
37f35d2a03 python/provision: Reconcile code partitions-only provisioning and generic provisioning, some other minor refactoring of the provisioning.
Pair-programmed by Andrew and me using obby :-)
(This used to be commit 688adcbb635af87fcfedb869b7f1857a947fd2f9)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
8afcbdcfe7 python: Make SamDB.set_ntds_invocation_id take a string.
(This used to be commit 59bb26772f089cf4d8727c12230cfef8126762b1)
2008-01-25 00:51:09 +01:00
Günther Deschner
de50115c38 Fix netlogon rpc-server build.
Guenther
(This used to be commit 31980e03faedaa44317f64d940c458d38a103627)
2008-01-25 00:04:24 +01:00
Günther Deschner
593c211a5f Add IDL for netr_LogonGetTrustRid.
Guenther
(This used to be commit d0893014ab02f4a628bc05135e7afedd11427116)
2008-01-24 23:56:37 +01:00
Günther Deschner
f139adc657 Rename samr_*AccessMask bitfields to start with SAMR_.
Guenther
(This used to be commit 70773be51a568dfc793111044cef93baa343d715)
2008-01-24 23:56:29 +01:00
Günther Deschner
90cd8c28cd Revert "Add pidl --samba3-libnetapi option."
This reverts commit fe299e0336fcff780ef69a6b4f56cd1e0d0c50a8.
(This used to be commit e22f042c6f3d535644e5a21f4175a10e5d74359f)
2008-01-24 23:55:40 +01:00
Jelmer Vernooij
d958f4b391 python: Add function to look for unsubsituted variables.
(This used to be commit e726ce5bc515ae8d10b472396e228cfd35737476)
2008-01-24 22:18:27 +01:00
Jelmer Vernooij
859b847a68 python: Add bindings for SamDB.set_invocation_id().
(This used to be commit c09efa7b778f9cb29032a6abfd914fcaae8df163)
2008-01-24 22:08:39 +01:00
Jelmer Vernooij
52bc292f58 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit d4d4120b715dc37b708b1c6074eab4f5c23d6b8f)
2008-01-24 22:00:07 +01:00
Günther Deschner
c495c4eda9 Add pidl --samba3-libnetapi option.
Guenther
(This used to be commit fe299e0336fcff780ef69a6b4f56cd1e0d0c50a8)
2008-01-24 17:43:44 +01:00
Stefan Metzmacher
43040be5b9 pidl: get rid of stupid ';' char to terminate bitmap defines
metze
(This used to be commit dd77fc45eee2dde7bdd31a2e39387e94cec158aa)
2008-01-24 15:04:58 +01:00
Stefan Metzmacher
4d656cb5a5 pidl/Samba4::Header: we don't need to check if (defined($enum->{ELEMENTS})) twice
metze
(This used to be commit c1ac13ee12d6d7e41b3700f207c9a8811bb05cd4)
2008-01-24 14:57:30 +01:00
Stefan Metzmacher
39fcf7ccdf netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32
metze
(This used to be commit 7222edb9cde5cdeb9d065e890775a7254b26648f)
2008-01-24 13:52:47 +01:00
Stefan Metzmacher
a1c7b35bba netlogon.idl: make use of bitmap samr_GroupAttrs
metze
(This used to be commit 6d68161e676d381600c77c3f862bd7e013968724)
2008-01-24 10:24:41 +01:00
Stefan Metzmacher
d408be05d6 netlogon.idl: remove unused netr_GroupsMembership structure
We have samr_RidWithAttribute and use that in all cases.

metze
(This used to be commit 3c5bae2249d01213ff4bd7df2b4e3ac04da4a52d)
2008-01-24 10:22:45 +01:00
Andrew Bartlett
6e5c528f87 Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.
Andrew Bartlett
(This used to be commit be5eb2da241452ccc0526f4f115aa44c0793c351)
2008-01-24 16:25:35 +11:00
Andrew Bartlett
48e79659d1 Make the repl_meta_data module the default for domain controllers.
Andrew Bartlett
(This used to be commit ae2ea1bd0cd2b326b09b372428969f2cf52ce519)
2008-01-24 16:17:45 +11:00
Andrew Bartlett
a2d7a3b627 Use the repl_meta_data module by default.
This means that, except when we back onto LDAP, when it will be
replaced with the mapping backend, we will keep this codepath tested.

Andrew Bartlett
(This used to be commit e8fb5da5a18c1c3bd788b1ab3f814ffb847b00fd)
2008-01-24 14:28:25 +11:00
Andrew Bartlett
1557e7b930 Kill another sub that the modules will handle for us.
(This used to be commit e9bb130d63e86fafc4cbf379e2e237354b88bcf8)
2008-01-24 11:33:37 +11:00
Andrew Bartlett
08f94e2754 Remove useless subs from the ejs provision
The less things we manually place into the templates, the easier the
conversion to python will be.

Andrew Bartlett
(This used to be commit f65e5c164476b80468aa19452b108db17c642f8b)
2008-01-24 11:26:21 +11:00
Jelmer Vernooij
a2dcf7bd22 Python: add some docstrings.
(This used to be commit 1de69a772e1cc007220add1f51bffe83784c3344)
2008-01-24 01:06:19 +01:00
Jelmer Vernooij
4277181453 python: Support --no-pass.
(This used to be commit a90f3e8c420bec7fd7a39e0d5e2df6b32aedcdd5)
2008-01-24 01:05:57 +01:00
Jelmer Vernooij
9a3cbd276b python: Add bindings for cli_credentials_set_cmdline_callbacks().
(This used to be commit 557207f86ba901262e76704df5c51888b2737ddf)
2008-01-24 01:05:19 +01:00
Jelmer Vernooij
7af1c83e45 Default to creating anonymous credentials.
(This used to be commit f93bd899f1402a9d89f55d5dca67318a60f5a72b)
2008-01-23 23:38:58 +01:00
Jelmer Vernooij
decdf5954d python: Add convenience function for getting command line loadparm context
and default to using system smb.conf.
(This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-23 23:38:57 +01:00
Jelmer Vernooij
00cb710fbc Add bindings for lp_load_default().
(This used to be commit ffd793bbde636366855462f980f1f7d0e25afaab)
2008-01-23 23:38:57 +01:00
Andrew Bartlett
dc08079d81 Get more information from ldb when reporting a failed replication.
Andrew Bartlett
(This used to be commit 948ee9b7acd90b994bb9d9f7c1813a8eca430e4f)
2008-01-23 15:44:02 +11:00
Andrew Bartlett
4172e09c53 Fix DRSUAPI replication test - NET-API-BECOME-DC.
The main change here is to work with the current module stack,
replacing only the objectGUID module, rather than a number of modules.

However, two changes were key:
 - Fixing a typo search_req->handle -> change_req->handle
 - Allowing an error of NO_SUCH_OBJECT - it is quite valid
   for the object not to exist when being replicated in.

Other small changes were required to the ejs provision to match
changes in that code.

Andrew Bartlett
(This used to be commit 7b87a58502a052de391f4e1c56ac78a8d35b4e34)
2008-01-23 15:43:14 +11:00
Andrew Bartlett
8bceed449d Fix segfaults in codepaths only tested by the NET-API-BECOME-DC test.
(I presume this has resulted from the global variable elimination)

Perhaps the iconv handle argument to ndr_push_struct needs to be
marked as 'not NULL' or similar?

Andrew Bartlett
(This used to be commit e8081333b8d43d96974c9e06a26aaa25dd34da56)
2008-01-23 15:34:44 +11:00