summaryrefslogtreecommitdiff
path: root/source4/scripting/python
AgeCommit message (Collapse)AuthorFilesLines
2008-04-14Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4Jelmer Vernooij8-15/+105
(This used to be commit 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)
2008-04-14Fix unresolved symbols.Jelmer Vernooij1-3/+5
(This used to be commit 8573e828d1b68c47b3c1754e9be230b2e78d9d52)
2008-04-14Make sure credentials are specified when running the Python winreg RPC tests.Jelmer Vernooij1-2/+2
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
2008-04-14Allow command line options in the subunitrun script.Jelmer Vernooij1-7/+5
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
2008-04-14Also look in the environment for smb.conf path.Jelmer Vernooij1-4/+6
(This used to be commit 8be7d93735a357a3b73a1c4413d6fd9ec09b7555)
2008-04-14Add convenience TestCase class for testing RPC interfaces.Jelmer Vernooij2-5/+11
(This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij1-3/+6
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett1-16/+1
(This used to be commit 79854f0aa6a9899bb72d302cbca695b8b3a3b0dc)
2008-04-14Move standard make compilation rules to build/make.Jelmer Vernooij1-16/+1
(This used to be commit ceda3312a98b069d0711f3cb33de3ae71e91ebaa)
2008-04-14Re-run SWIGAndrew Bartlett2-0/+46
(This used to be commit 2f8010582607ad7389cac3de4945ea0ee46941b3)
2008-04-14Fix newuser and setpassword scripts, and port to idmap.Andrew Bartlett2-1/+34
The new idmap world does not use the unixUser any more, so we need to set up the entry (if wanted) in the idmap database. Users without a backing unix user will get an allocated uid by idmap later. Andrew Bartlett (This used to be commit 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)
2008-04-14Add in a way to get at the private_path() function from pythonAndrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit 416d2e3a5233f0c243e45857cfda5126c34ac265)
2008-04-11Don't reopen the sam.ldb againAndrew Bartlett1-2/+0
Andrew Bartlett (This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)
2008-04-11Far less cryptic traceback when you have an existing smb.confAndrew Bartlett1-6/+21
When the user has an existing smb.conf, but no [netlogon] or [sysvol] share, the provision script would trigger a traceback. While we still need to abort in this situation, we do so now with a useful error. Andrew Bartlett (This used to be commit 10a8b7ea487f9725f69b02c4dd9cf5e1f67a23ab)
2008-04-11Fix merge errors on C provision interface after jelmer's good work.Andrew Bartlett1-1/+1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet Conflicts: source/torture/local/torture.c (This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
2008-04-10Add infrastructure for returning ProvisionResult in C provision code.Jelmer Vernooij1-1/+1
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
2008-04-09Fix up provision to specify SERVERDN in more places.Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit d01d542502f25d6c731204ecb3d33720a1706581)
2008-04-09Don't fill in the secrets DB unless we make the entries.Andrew Bartlett1-7/+8
Leave filling in (we still initialise it) the secrets DB for the join or vampire code. Andrew Bartlett (This used to be commit c93208c13ce91b334eadf0ea02fa41354e761e97)
2008-04-09Add docstring, PEP8.Jelmer Vernooij1-5/+15
(This used to be commit f8cac3735c9a19baa313c4b61abee144da303ce1)
2008-04-08Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.Jelmer Vernooij2-3/+9
(This used to be commit cae61e32e5b61a02c2986b74bd1d7e58460b1e80)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocsJelmer Vernooij1-34/+50
(This used to be commit c8dbf00b4490d804e1aac96a3fb66ff726bf9ef6)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett3-1/+34
(This used to be commit c0416a0b73f06ef57db1b83a75433e36b93a9981)
2008-04-08Re-add support for the --ldap-backend-port option to provision-backendAndrew Bartlett1-13/+29
This option allows Fedora DS multi-master replication to work. I've tried to update the wiki and scripts to the largely consistant with each other. Andrew Bartlett (This used to be commit 42393c830733b2cc99ebccdafe944fcf3d82734f)
2008-04-08Add manually written Python binding for libnet_Join.Jelmer Vernooij1-0/+1
(This used to be commit 374654b43d9f9e8381991cedc433ce410a914f7a)
2008-04-08Add trivial test for unixinfo interface.Jelmer Vernooij1-0/+30
(This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)
2008-04-08Add python bindings for drsuapi.Jelmer Vernooij2-1/+2
(This used to be commit ba3f0312f0dda47fb16ed9b8eee3750b209e0dad)
2008-04-08Add python bindings for unixinfo.Jelmer Vernooij1-0/+1
(This used to be commit 068c2f858a0c7e325cb8a1f2ca36e32b31fe1f77)
2008-04-08Add Python bindings for DFS.Jelmer Vernooij1-0/+1
(This used to be commit 4319971ccb42618a3298a5f26f63fa4c9b255849)
2008-04-04Clean up provision and rootdse module to hard-code less stuff.Andrew Bartlett1-21/+21
In particular, allow for the server DN to be in a different site (possible outcome of a DRS replication). Andrew Bartlett (This used to be commit 9ee4e39fe178317f42fd9a0adceea24b55dfe0f1)
2008-04-03provision: Remove backup group mappingKai Blin1-10/+3
Some distros seem to neither have a backup nor a staff group. (This used to be commit 21fcf7c419658b3ae296428ca7a4ccf2288c17fe)
2008-04-02provision: Set up id mappings in the idmap db, only map Administrator.Kai Blin3-70/+120
(This used to be commit 206b7d387c6d17e5cc40fd45b489abac9235a7a4)
2008-04-02Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchangeJelmer Vernooij1-21/+30
(This used to be commit 8c3591d98f42a75d68d698f7b4be8f2e0284522f)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij2-0/+2
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02Fix merge of my host GUID removal and the IPv6 addition to provisionAndrew Bartlett1-10/+26
Merge branch 'v4-0-ipv6' of git://git.id10ts.net/samba into 4-0-abartlet Andrew Bartlett (This used to be commit d3336684f084f984500dd0893dd01bcfc5be0ab1)
2008-04-01provision: Add support for IPv6 (bz #4593).Andrew Kroeger1-9/+25
(This used to be commit 8585a3c77d5dfe97bca3f08716fc06ac2819f578)
2008-04-02Remove references to setting the host GUID, as the repl_meta_dataAndrew Bartlett1-12/+5
module prohibits it anyway. Andrew Bartlett (This used to be commit c5b287c056855892f30fbbf32efe7d65da31ce91)
2008-03-29Rework 'compleated' message in provision to be more useful.Andrew Bartlett1-7/+9
In particular, this should draw attention to accidential 'standalone' server provisions and therefore cause less frustration. Andrew Bartlett (This used to be commit e906ae041a2b589ffceff97b74f7c4b01386382a)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett2-3/+13
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-03-28Convert some more files to GPLv3.Andrew Kroeger1-1/+1
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2008-03-28Make the setup/newuser and setup/setpassword scripts actually work...Andrew Bartlett1-16/+42
These need a testsuite, but this will come soon. Andrew Bartlett (This used to be commit fbcaa622bd1929399e32326349e96b6676a49b96)
2008-03-28Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-testJelmer Vernooij1-1/+1
(This used to be commit b6c61bee649734f6000fbf3fe3736d8c82155ac9)
2008-03-28Don't specify what should be a default option in the generated smb.confAndrew Bartlett1-2/+2
Instead, sub in "", so that the default continued to come from the code. Andrew Bartlett (This used to be commit b1829da8f75175fcc569a3a9195f2358731055a9)
2008-03-27provision: Increase max NetBIOS name length from 13 to 15.Andrew Kroeger1-1/+1
Issue originally reported by user Julsa-FR on IRC. (This used to be commit ee9ad77009ef5e36655a49c41730a4a963ba9d43)
2008-03-27Remove define that appears to cause configure test breakage on Julien's machine.Jelmer Vernooij1-2/+0
(This used to be commit f47df5761571dd5c36789fb2e225a1125ca0e8f7)
2008-03-27provision: Initialize uninitialized variables if "targetdir" is notKai Blin1-1/+4
defined and there is no smb.conf file (This used to be commit 19c29f473883be0a17fa740de9feb226f347df4a)
2008-03-15Rework memberof handling in slapd.conf (used for OpenLDAP backend)Andrew Bartlett1-22/+19
Instead of using an include file, put the generated configurationd directly into slapd.conf. Andrew Bartlett (This used to be commit 95ac786136aebfe5ededeb3fb81cbd4e296e3988)
2008-03-14swig: regenerate _wrap.c filesStefan Metzmacher1-1/+1
metze (This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
2008-03-13build: we don't rely on bash yet:-) '==' should be just '='Stefan Metzmacher1-1/+1
metze (This used to be commit 17997dd9bcd385fcf27646d832ad824cc2a0800a)
2008-03-13configure: when detecting python we should disable pyconfig.hStefan Metzmacher1-0/+2
This fixes the detection on HP-UX where the pyconfig.h contains bogus defines. metze (This used to be commit 9391f6f80461be2b214a881782aecf7df8a4aba3)
2008-03-13Rework to have member server 'domains' be CN=NETBIOSNAMEAndrew Bartlett1-0/+6
This reworks quite a few parts of our provision system to use CN=NETBIOSNAME as the domain for member servers. This makes it clear that these domains are not in the DNS structure, while complying with our own schema (found by OpenLDAP's schema validation). Andrew Bartlett (This used to be commit bda6a38b055fed2394e65cdc0b308a1442116402)