summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-tests: register new unit testsMatthieu Patou2010-01-212-37/+106
| | | | make unit test emit a visible warning
* s4-python: add unit test for ntacls manipulation in pythonMatthieu Patou2010-01-211-0/+99
|
* s4-python: add more unit tests for xattr manipulation in pythonMatthieu Patou2010-01-211-11/+39
|
* s4: update setntacl and getntacl to select the adaquate backend (fs/tdb) for ↵Matthieu Patou2010-01-211-16/+54
| | | | storing xattr
* s4: Set acls correctly on all sysvol and scripts sharesMatthieu Patou2010-01-211-26/+45
|
* s4: Make unixid optionalMatthieu Patou2010-01-211-2/+26
| | | | | Make unixid optional, if value not supplied next id from id pool will be used. Create a function to get next id in id pool.
* s4: regroup gpo modification in one function, set acl on files accordingly ↵Matthieu Patou2010-01-212-19/+164
| | | | with ACL in LDAP
* s4: Create unit tests for python "samba.xattr" moduleMatthieu Patou2010-01-212-4/+53
|
* s4: add python bindings for wrap_(s|g)etxattrMatthieu Patou2010-01-214-2/+286
|
* Import testtools as well, required for subunit.Jelmer Vernooij2010-01-162-3/+2
|
* Fix permissions - net subcommand modules don't need to be executable.Jelmer Vernooij2010-01-162-0/+0
|
* s4-devel: added rebuild_zone.shAndrew Tridgell2010-01-161-0/+107
| | | | This rebuilds a DNS zone file, including all DCs from sam.ldb
* Fixed a problem with incorrect default SD owner/group.Nadezhda Ivanova2010-01-131-1/+1
|
* Comparison tool for LDAP servers (using Ldb)Zahari Zahariev2010-01-132-0/+501
| | | | | | | | This tool is integrated with Samba4 Ldb. It provides a useful output where you can find easy differences in objects or attributes within naming context (Domain, Configuration or Schema). Added functionality for two sets of credentials.
* s4:upgradeprovision - fix up the script regarding linked attributesMatthias Dieter Wallnöfer2010-01-101-12/+46
| | | | | | | | | | | | | | | | We have to try to add new objects until between two iterations we didn't make any progress. Either we are then done (no objects remaining) or we are incapable to do this fully automatically. The latter can happen if important system objects (builtin groups, users...) moved (e.g. consider one of my recent comments). Then the new object can't be added if it contains the same "sAMAccountName" attribute as the old one. We have to let the user delete the old one (also to give him a chance to backup personal changes - if needed) and only then the script is capable to add the new one onto the right place. Make this clear with an exhaustive error output. I personally don't see a good way how to do this better for now so I would leave this as a manual step.
* s4:upgradeprovision - Reformat commentsMatthias Dieter Wallnöfer2010-01-101-28/+44
| | | | Make them break at line 80 (better readability).
* s4-schema: fixed the SDDL for the schema root security descriptorAndrew Tridgell2010-01-091-10/+14
| | | | | This was preventing a DCPROMO client from allowing outgoing replication
* s4-schema: switch to W2K8-R2 schemaAndrew Tridgell2010-01-081-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-schema: added adminDisplayName and adminDescriptionAndrew Tridgell2010-01-081-0/+2
| | | | | | These are missing from the WSPP schemas Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-scripting: we need to use a base search for the NTDS GUIDAndrew Tridgell2010-01-081-1/+1
| | | | now we have nTDSConnections structures we can get more than 1 reply
* s4-provision: do a self join for all server typesAndrew Tridgell2010-01-081-22/+17
| | | | | | We need a machine account so the RID allocation code can work. It seems better to use the same code paths for a domain controller and standalone server to avoid testing headaches with little used code.
* s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystemsAndrew Tridgell2010-01-081-0/+13
| | | | | this makes building and testing s4 as a developer much faster, if you have enough memory!
* s4-provision: re-open sam.ldb after creating the schemaAndrew Tridgell2010-01-081-0/+9
| | | | | | This enables the full schema during the rest of the provision, which means indexing is enabled (along with index error checking, such as duplicate SIDs)
* s4-provision: don't hard wire the creation of the RID Set objectAndrew Tridgell2010-01-081-2/+2
| | | | | | | | | | We now create it automatically in the samldb module when the first user is created. The creation of the dns user also had to move to the _modify.ldif as it now relies on the fSMO role being setup for the RID Manager Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: allow provision modifies to add recordsAndrew Tridgell2010-01-081-1/+4
| | | | we need to recognise a changetype of 'add'
* s4-provision: the DC object itself needs a fixed objectSIDAndrew Tridgell2010-01-081-0/+1
| | | | | | | We can't allocate a objectSID until we have rIDSetReferences, but that is in the DC object, so we have to force the objectSID of the DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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-scripts: add a enablerecyclebin scriptAndrew Tridgell2009-12-181-0/+54
| | | | | | This can be used to enable the recyclebin on a windows box. Once we properly implement this feature in samba we will use this to enable the feature on ourselves as well.
* 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: rename res/res2 to something more explicitMatthieu Patou2009-12-151-71/+68
|
* s4: upgradeprovision handle renaming and knownobjectsMatthieu Patou2009-12-151-6/+18
|
* s4: upgradeprovision rename also when there is a mismatch on the case of ↵Matthieu Patou2009-12-151-2/+7
| | | | | | | | | name attribute Renaming not only helps when name attribute is not here it also helps when the case is not the good one. So in order to avoid problem and have as much as possible similar provision we should use the rename whenever a name difference appear.