summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba
Commit message (Collapse)AuthorAgeFilesLines
* provision: Generate krb5.conf template separate from named.conf template.Andrew Kroeger2008-05-211-22/+52
| | | | (This used to be commit ebf130e9e57b640129cf0d05dbd7d210b71ea371)
* Fix import in provision test.Jelmer Vernooij2008-05-221-1/+1
| | | | (This used to be commit 96501be38da947f02ad57217e0bc23f7a66d36f9)
* Move DCE/RPC python bindings into samba package.Jelmer Vernooij2008-05-224-4/+4
| | | | (This used to be commit 8dafd4ce40b7348fd5f2b1f2f5d2106ef4cc0dd1)
* Make sure the default ldb modules dir gets initialized.Jelmer Vernooij2008-05-221-0/+2
| | | | (This used to be commit 937456c69d23ece85bdb7415f52d722c2aa6b6b5)
* Fix dependencies and imports.Jelmer Vernooij2008-05-222-2/+2
| | | | (This used to be commit 37ef86f8de9039b8226b190254d842e92b5faad7)
* Move more modules inside of the samba package.Jelmer Vernooij2008-05-212-2/+2
| | | | (This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
* provision: Create instructions for enabling DNS GSS-TSIG updates.Andrew Kroeger2008-05-181-7/+25
| | | | | | | | | 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 0b7a6bfcba1b906dc4d461882b4c3fe3c91c44e0)
* make sure to always use string version of uuid rather than object.Jelmer Vernooij2008-05-112-6/+7
| | | | (This used to be commit bcd5fc7dc9899deb9fa84fdeeb21ed2ddb921308)
* Use consistent function names with the standard Python uuid module that is ↵Jelmer Vernooij2008-05-112-6/+6
| | | | | | available in >= 2.4. (This used to be commit 60d458e3195eef6baf655fee0da7c3f68517e8e6)
* Fix the expectations on the unixinfo test.Andrew Bartlett2008-04-171-2/+2
| | | | | Andrew Bartlett (This used to be commit 0df2b3e0b56007850cf83cfdcdb45ca29e162d34)
* Re-add 'db' subdirectory for LDAP backend provisionAndrew Bartlett2008-04-151-3/+3
| | | | | Andrew Bartlett (This used to be commit 19890c0d15adf4f099365f276a4bfdd3f4de52b6)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-04-151-0/+2
|\ | | | | | | (This used to be commit 66327b8bd8dbde140b93f000a81ba13e743f27b0)
| * Fix pointers when pushing strings to python during pidl generation.Jelmer Vernooij2008-04-151-0/+2
| | | | | | | | (This used to be commit ca72187b3e71a037780d42a57e46b60e75f724f6)
* | Fix provision-backend scriptAndrew Bartlett2008-04-151-3/+4
|/ | | | | Andrew Bartlett (This used to be commit ee6e4f8da229ddeca856a6db94236367aae06f63)
* Use RpcInterfaceTestCase everywhere.Jelmer Vernooij2008-04-146-17/+14
| | | | (This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)
* Make sure credentials are specified when running the Python winreg RPC tests.Jelmer Vernooij2008-04-141-2/+2
| | | | (This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
* Allow command line options in the subunitrun script.Jelmer Vernooij2008-04-141-7/+5
| | | | (This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)
* Also look in the environment for smb.conf path.Jelmer Vernooij2008-04-141-4/+6
| | | | (This used to be commit 8be7d93735a357a3b73a1c4413d6fd9ec09b7555)
* Add convenience TestCase class for testing RPC interfaces.Jelmer Vernooij2008-04-142-5/+11
| | | | (This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)
* Fix newuser and setpassword scripts, and port to idmap.Andrew Bartlett2008-04-142-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)
* Don't reopen the sam.ldb againAndrew Bartlett2008-04-111-2/+0
| | | | | Andrew Bartlett (This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)
* Far less cryptic traceback when you have an existing smb.confAndrew Bartlett2008-04-111-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)
* Fix merge errors on C provision interface after jelmer's good work.Andrew Bartlett2008-04-111-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)
| * Add infrastructure for returning ProvisionResult in C provision code.Jelmer Vernooij2008-04-101-1/+1
| | | | | | | | (This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
* | Fix up provision to specify SERVERDN in more places.Andrew Bartlett2008-04-091-0/+5
| | | | | | | | | | Andrew Bartlett (This used to be commit d01d542502f25d6c731204ecb3d33720a1706581)
* | Don't fill in the secrets DB unless we make the entries.Andrew Bartlett2008-04-091-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)
* Add docstring, PEP8.Jelmer Vernooij2008-04-091-5/+15
| | | | (This used to be commit f8cac3735c9a19baa313c4b61abee144da303ce1)
* Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.Jelmer Vernooij2008-04-082-3/+9
| | | | (This used to be commit cae61e32e5b61a02c2986b74bd1d7e58460b1e80)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2008-04-081-0/+30
|\ | | | | | | (This used to be commit c0416a0b73f06ef57db1b83a75433e36b93a9981)
| * Add trivial test for unixinfo interface.Jelmer Vernooij2008-04-081-0/+30
| | | | | | | | (This used to be commit b6b7171f70114bd27ca8db09964c65cacb9cea92)
* | Re-add support for the --ldap-backend-port option to provision-backendAndrew Bartlett2008-04-081-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)
* | Clean up provision and rootdse module to hard-code less stuff.Andrew Bartlett2008-04-041-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)
* provision: Remove backup group mappingKai Blin2008-04-031-10/+3
| | | | | Some distros seem to neither have a backup nor a staff group. (This used to be commit 21fcf7c419658b3ae296428ca7a4ccf2288c17fe)
* provision: Set up id mappings in the idmap db, only map Administrator.Kai Blin2008-04-023-70/+120
| | | | (This used to be commit 206b7d387c6d17e5cc40fd45b489abac9235a7a4)
* Fix merge of my host GUID removal and the IPv6 addition to provisionAndrew Bartlett2008-04-021-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)
| * provision: Add support for IPv6 (bz #4593).Andrew Kroeger2008-04-011-9/+25
| | | | | | | | (This used to be commit 8585a3c77d5dfe97bca3f08716fc06ac2819f578)
* | Remove references to setting the host GUID, as the repl_meta_dataAndrew Bartlett2008-04-021-12/+5
|/ | | | | | | module prohibits it anyway. Andrew Bartlett (This used to be commit c5b287c056855892f30fbbf32efe7d65da31ce91)
* Rework 'compleated' message in provision to be more useful.Andrew Bartlett2008-03-291-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)
* Fix and test python scripts and kerberosAndrew Bartlett2008-03-282-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)
* Make the setup/newuser and setup/setpassword scripts actually work...Andrew Bartlett2008-03-281-16/+42
| | | | | | | These need a testsuite, but this will come soon. Andrew Bartlett (This used to be commit fbcaa622bd1929399e32326349e96b6676a49b96)
* Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-testJelmer Vernooij2008-03-281-1/+1
|\ | | | | | | (This used to be commit b6c61bee649734f6000fbf3fe3736d8c82155ac9)
| * provision: Increase max NetBIOS name length from 13 to 15.Andrew Kroeger2008-03-271-1/+1
| | | | | | | | | | Issue originally reported by user Julsa-FR on IRC. (This used to be commit ee9ad77009ef5e36655a49c41730a4a963ba9d43)
* | Don't specify what should be a default option in the generated smb.confAndrew Bartlett2008-03-281-2/+2
|/ | | | | | | Instead, sub in "", so that the default continued to come from the code. Andrew Bartlett (This used to be commit b1829da8f75175fcc569a3a9195f2358731055a9)
* provision: Initialize uninitialized variables if "targetdir" is notKai Blin2008-03-271-1/+4
| | | | | defined and there is no smb.conf file (This used to be commit 19c29f473883be0a17fa740de9feb226f347df4a)
* Rework memberof handling in slapd.conf (used for OpenLDAP backend)Andrew Bartlett2008-03-151-22/+19
| | | | | | | | Instead of using an include file, put the generated configurationd directly into slapd.conf. Andrew Bartlett (This used to be commit 95ac786136aebfe5ededeb3fb81cbd4e296e3988)
* Rework to have member server 'domains' be CN=NETBIOSNAMEAndrew Bartlett2008-03-131-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)
* Update the provision scripts and selftest for LDAPAndrew Bartlett2008-03-131-5/+7
| | | | | | | | | | This should allow us to provision onto an OpenLDAP backend again. Also ensure we always have a sysvol and netlogon share in the selftest environment. Andrew Bartlett (This used to be commit b2d9b03ba3434e76d4d476233a198728523d17f9)
* Upgrade provision-backend to python.Andrew Bartlett2008-03-131-210/+411
| | | | | | | | | This required a large rework of the provision code, so as to move much of the 'guess' logic into subprocedures, rather than just inline in the provision code. Andrew Bartlett (This used to be commit a0754c2a857217ca831c2295b17255d8f38dfbc2)
* Fix provision script to work without smb.conf location specified.Andrew Bartlett2008-03-111-2/+3
| | | | | Andrew Bartlett (This used to be commit b4da374a998caac18c288a0a6e3fcd2c50cbffa7)
* Try to fix up part of the upgrade test.Andrew Bartlett2008-03-072-12/+21
| | | | | | | | There are still problems with the upgrade test, but these are not related to the provision system. Andrew Bartlett (This used to be commit d331bc400fb138bc43be88d0ca8ab3bcd590d2cd)