summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Collapse)AuthorAgeFilesLines
* s4-net: fixed pwsettings commandAndrew Tridgell2009-12-311-6/+6
| | | | Don't override user settings with current settings
* samba: Fix whitespace, remove pointless 'pass' statement.Jelmer Vernooij2009-12-311-27/+26
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().Jelmer Vernooij2009-12-312-32/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Support 'super' commands implemented in Python.Jelmer Vernooij2009-12-311-14/+15
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Move 'newuser' to 'net newuser'Jelmer Vernooij2009-12-312-5/+80
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Fix tests and documentation of setexpiry.Jelmer Vernooij2009-12-313-0/+68
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Move setexpiry to 'net setexpiry'Jelmer Vernooij2009-12-312-0/+73
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* net: Move 'setpassword' to 'net setpassword'.Jelmer Vernooij2009-12-313-2/+86
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* python: When updating sys.path to include the Samba python path, avoid ↵Jelmer Vernooij2009-12-292-4/+41
| | | | throwing away the changes made by site.py.
* s4/net: Allow options before arguments for Python commands.Jelmer Vernooij2009-12-291-1/+2
|
* s4/net: Pass all arguments through to the Python commands.Jelmer Vernooij2009-12-291-5/+6
|
* s4/net: Add domainlevel subcommand.Jelmer Vernooij2009-12-293-26/+275
|
* Use CommandError exception to deal with problems during net commands.Jelmer Vernooij2009-12-292-20/+34
|
* s4/net: Make pwsettings a net subcommand.Jelmer Vernooij2009-12-291-0/+187
|
* netcmd: Add some basic tests.Jelmer Vernooij2009-12-291-0/+34
|
* s4/net: Support parsing arguments in Python commands.Jelmer Vernooij2009-12-291-3/+61
|
* net: Support usage/help of subcommands implemented in Python.Jelmer Vernooij2009-12-291-0/+4
|
* net: Support implementing subcommands in python.Jelmer Vernooij2009-12-291-0/+33
|
* s4-provision: added a note about where invocationIDs come fromAndrew Tridgell2009-12-211-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:provision Give a more useful error message in guess_namesAndrew Bartlett2009-12-181-3/+11
| | | | | | | | | The problem here is that as we start to get 'real users' they still decide to do silly things, like load empty but existing smb.conf files. Let's give them a better chance to discover what they did wrong. Andrew Bartlett
* s4: load the domain level of the current provision and create a provision ↵Matthieu Patou2009-12-011-1/+1
| | | | | | with the same domain level Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:upgrade.py - remove my copyrightMatthias Dieter Wallnöfer2009-11-281-1/+0
| | | | | First I wanted to add also other changes but then I didn't introduce them. Therefore remove my copyright again.
* s4:upgrade.py - readd accidentally removed empty linesMatthias Dieter Wallnöfer2009-11-281-0/+4
| | | | Jelmer pointed out that this is against the PEP8 norm
* s4:samba3.py/upgrade.py: RevertMatthias Dieter Wallnöfer2009-11-283-10/+9
| | | | | | | | | | | | This reverts commit 2175c0ed0649d545ea833d50e8d33fbee9051c35. This reverts commit 6c3e2417a0639cd7c367de93615c422cf5217456. This reverts commit dbb8989e05ac3189a5eca11fa40d572388ea02fc. This reverts commit 82adfa39b75aa628c88f828278c6ac09335d1a49. This reverts commit f299efa8f05c6a5b739222bdf75690a4591d3650. After a small discussion with Jelmer we agreed that this isn't the right way to fix the problem. We should wait for a real patch rather to rely on temporal hacks.
* s4: fix SD update and password change in upgrade scriptMatthieu Patou2009-11-282-6/+6
| | | | | | | | | - reserve a new Samba OID for recalculate SD control - fix the update SD function - fix handling of kvno in the update_machine_account_password function - fix handling of handles in RPC winreg server Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:provision.py - remove hardcoded SIDs and RIDsMatthias Dieter Wallnöfer2009-11-271-3/+3
| | | | | After rework of the SDDL modules this is possible. In future: Never hardcode them anymore! Always use the abbreviations.
* s4:samba3.py - deactivate also the assertion on line 599Matthias Dieter Wallnöfer2009-11-271-1/+1
|
* s4:provision.py - cosmeticMatthias Dieter Wallnöfer2009-11-271-8/+7
|
* s4:samba3.py (and test) - deactivate the tests until those parameters are fixedMatthias Dieter Wallnöfer2009-11-272-4/+4
|
* s4:upgrade.py - Umlaut problemMatthias Dieter Wallnöfer2009-11-271-1/+1
|
* s4:upgrade.py - rework to make the upgrade s3 -> s4 possible againMatthias Dieter Wallnöfer2009-11-271-72/+72
| | | | | Able to read basic settings "workgroup", "realm", "netbios name" and the function mode from the s3 "smb.conf" and use them for the provision of s4.
* s4:upgrade.py - the import of WINS databases don't seem to work alwaysMatthias Dieter Wallnöfer2009-11-271-1/+1
| | | | Disable it for now until the cause has been found
* s4:samba3.py - ignore comments in "smb.conf" filesMatthias Dieter Wallnöfer2009-11-271-1/+1
|
* s4:samba3.py - don't read those informations out from the TDBMatthias Dieter Wallnöfer2009-11-271-3/+4
| | | | At the moment those three calls are broken
* s4:samba3.py - support the TDB version 3Matthias Dieter Wallnöfer2009-11-271-1/+1
|
* s4:provision - Fix up the provision of "standalone" and "member" modeMatthias Dieter Wallnöfer2009-11-271-9/+11
| | | | | | | Both modes weren't possible anymore since 1.) the secrets entry wasn't created, 2.) a lookup in winbindd was done using "lp_workgroup()" rather than "lp_sam_name()" (since on the mentioned two configurations we use the netbios name as domainname - and not the workgroup).
* s4:provision.py - cosmetic output correctionMatthias Dieter Wallnöfer2009-11-271-1/+1
|
* s4:provision Make setting the domain SID in the self join optionalAndrew Bartlett2009-11-271-3/+4
|
* s4: Fix missing TLS dir when targetdir is not the default oneMatthieu Patou2009-11-241-0/+2
|
* s4:provision Move exceptions into a new fileAndrew Bartlett2009-11-243-9/+36
| | | | This allows provisionbackend and provision to both raise ProvisionException
* s4:provision Don't bother with a template for the LDAP backend startup script.Andrew Bartlett2009-11-241-2/+1
|
* s4:dsdb Move module configuration from each ldb into samba_dsdb.cAndrew Bartlett2009-11-231-75/+4
| | | | | | | | | | | | This makes getting the module order correct, the obligation of Samba4 developers, and not system administrators. In particular, once an ldb is updated to use only the 'samba_dsdb' module, no further changes to the ldb should be required when upgrading to later Samba4 versions. (thanks to metze for the suggestion of samba_dsdb as a long-term stable name for the module) Andrew Bartlett
* s4:provision Simplify the module listAndrew Bartlett2009-11-231-19/+25
| | | | | | | | | | | This makes the member server much more like the DC, the objectGUID module replaces the repl_meta_data module. We also generally rework the construction of the list, building a full list in python, and then transforming it into a string, rather than playing string concatonation games Andrew Bartlett
* Some changes to allow processing of ldap controls on modify requests.Nadezhda Ivanova2009-11-202-3/+15
| | | | | ldap_backend used to filter out ldap controls on modify. Also, modified python binding for ldap_modify to allow writing tests for such controls.
* s4:provision Split up reference creation, load schema earlier in the stackAndrew Bartlett2009-11-171-6/+8
| | | | | | | | | | The schema needs to be loaded above the extended_dn_out modules as otherwise we don't get an extended DN in the search results. The reference split is to ensure we create references after the objects they reference exist. Andrew Bartlett
* s4:provision Generate a random objectGUID for each schema recordAndrew Bartlett2009-11-171-0/+2
| | | | | | | This is needed to then create extended DNs with GUID attributes in them, when importing from the LDIF Andrew Bartlett
* s4:provision - Removed dependency on full Samba 3 schema from FDSEndi S. Dewata2009-11-163-68/+99
|
* s4:provision - Added LDBBackend and ExistingBackend.Endi S. Dewata2009-11-122-32/+62
|
* s4:provision - Added constructors for FDSBackend and OpenLDAPBackend.Endi S. Dewata2009-11-122-43/+95
|
* s4:provision - Added setup() method in LDAPBackend.Endi S. Dewata2009-11-122-26/+32
|