summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2011-06-19s4-upgradeprovision: fix inverted logic and wrong flags on sd_flags controlMatthieu Patou1-3/+4
2011-06-19s4-upgradeprovision: remove useless codeMatthieu Patou1-3/+0
2011-06-19s4-upgradeprovision: don't print dn in the list of modified attributesMatthieu Patou1-1/+2
2011-06-19s4-upgradeprovision: clean up, reformating and update docsMatthieu Patou1-9/+8
2011-06-19s4-upgradeprovision: introduce invocation id in lastprovisionUSNsMatthieu Patou2-29/+73
2011-06-19s4-upgradeprovision: add function to know if attribute is replicated or notMatthieu Patou1-0/+20
2011-06-19s4-upgradeprovision: split update_present in two functions depending on the ↵Matthieu Patou1-130/+171
method used In order to make the function a bit more clearer and with less depth, the selection of attribute that are not updated is split in two functions depending on the fact that we are using mainly replPropertyMetadata to make our choice or if we are using the list of attributes that should, could or shouldn't be updated/created/deleted.
2011-06-19s4-upgradeprovision: handle_special_attributes don't really need ranges of ↵Matthieu Patou1-5/+6
USNs, just the information if we are using replPropertyMetadata for attribute selection
2011-06-19s4-python: fix wrong discovery of the site name in find_key_provision_parametersMatthieu Patou1-1/+1
2011-06-19s4-upgradeprovisision: fix bug 8063, old SD can miss some componenent ↵Matthieu Patou1-16/+20
(group, owner, ...) Don't make the assumption that SD are correct, they can be wrong and misformed. Fix this bug: https://bugzilla.samba.org/show_bug.cgi?id=8063
2011-06-19s4-upgradeprovision: Fix an error, so that cursddl and refsddl are not the sameMatthieu Patou1-1/+1
Thanks to Dirk Paulli for pointing it with his bug report.
2011-06-17samba-tool: exit with non-zero status on dbcheck failureAndrew Tridgell1-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-17samba-tool: show success message on group operationsAndrew Tridgell1-0/+4
2011-06-17s4-pysamdb: fixed the normalisation of grouptype in group addAndrew Tridgell1-1/+7
ldap integers are signed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 05:43:18 CEST 2011 on sn-devel-104
2011-06-17samba-tool: report total error count and suggest --fix if neededAndrew Tridgell1-3/+10
2011-06-17samba-tool: added attribute normalisation checksAndrew Tridgell1-3/+53
this checks that all attributes have the right normalisation, and offers to fix the ones that don't
2011-06-17s4-pydsdb: added dsdb_normalise_attributes() callAndrew Tridgell1-0/+5
this call converts a set of attributes to DRSUAPI format and back to ldb format. This has the effect of normalising the attributes using the schema syntax rules
2011-06-14samba-tool: disable validation on removing an empty attribute in dbcheckAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 14 10:49:34 CEST 2011 on sn-devel-104
2011-06-10s4-samba-tool: added dbcheck commmandAndrew Tridgell2-0/+125
this will be used as a consistency checker and repair tool for sam.ldb. This initial checkin just checks for empty attributes and offers to fix them Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 10 10:31:56 CEST 2011 on sn-devel-104
2011-06-09samba-tool: added --local option to drs replicate commandAndrew Tridgell1-1/+39
this allows replication directly to the local SAM, which means it can run without the samba daemon running. It also bypasses all usnChanged checks, which is useful for forcing replication of a set of objects which are not marked as replication being needed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jun 9 08:15:10 CEST 2011 on sn-devel-104
2011-06-09s4-ipv6: don't default to 127.0.0.1 in provisionAndrew Tridgell1-5/+8
it is better to just leave the IPv4 address out of the zone file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-07s4-dns: fixed samba_tool -> samba-toolAndrew Tridgell1-1/+1
2011-06-07s4-provision: fixed detection of V4/V6 addressesAndrew Tridgell1-2/+29
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 06:07:24 CEST 2011 on sn-devel-104
2011-06-06s4-param Remove 'modules dir'Andrew Bartlett1-2/+3
The Samba waf build ensures that dyn_MODULESDIR is always correct (even for in-tree binaries), so we don't need to allow the user to configure this at run time. Andrew Bartlett
2011-06-06s4-param Remove 'sid generator'Andrew Bartlett2-7/+5
This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
2011-06-06s4-param Remove 'idmap database'Andrew Bartlett2-3/+2
This is now just idmap.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'secrets database' parameterAndrew Bartlett2-3/+2
This is now just secrets.ldb in the private dir, which remains.
2011-06-06s4-param Remove 'sam database' parameterAndrew Bartlett5-8/+7
This now just relies on the private dir parameter, which remains. Andrew Bartlett
2011-06-06s4-script: install some of the samba scripts in bin/ during buildAndrew Tridgell2-0/+7
2011-06-06s4-testparm: testparm is now part of samba_toolAndrew Tridgell3-222/+1
2011-06-06s4-ipv6: don't add link local addresses to DNSAndrew Tridgell1-1/+3
these make no sense as DNS addresses
2011-06-06s4-ipv6: added IPv6 support to samba_dnsupdateAndrew Tridgell1-7/+31
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell1-1/+1
2011-06-06s4-gpo: fixed display of GPO version numbersAndrew Tridgell1-1/+1
2011-06-02samba3sam.py: don't assume order of ldb results.Rusty Russell1-142/+164
Switching to tdb2 breaks this test horribly, because it relied on the order of TDB1 traversal. Fix it to sort te results (by db), then check them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-01samba-tool: improved error handling in user setexpiryAndrew Tridgell2-1/+9
2011-06-01samba-tool: improved user enable error handlingAndrew Tridgell2-1/+8
2011-06-01s4:samba-tool: Move samba-tool setexpiry to samba-tool user setexpiry <user>Theresa Halloran3-70/+37
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-01s4/samba-tool: Move samba-tool enableaccount to samba-tool user enable command.Theresa Halloran3-62/+43
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-25s4-provision Use correct tkey-gssapi-credentialAndrew Bartlett1-1/+3
We changed to ${DNSNAME} (the fully qualified domain name) a while back, and while it's usually functionally idential to the previous setting, this breaks down if there is more than one DNS server. Andrew Bartlett
2011-05-21add a demo script for dirsyncMatthieu Patou1-0/+156
Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat May 21 15:40:26 CEST 2011 on sn-devel-104
2011-05-21Add a script for renaming a DCMatthieu Patou1-0/+200
2011-05-21s4-python: Remove not used importsMatthieu Patou2-7/+4
2011-05-21s4-python: move function find_provision_key_parameters to provision ↵Matthieu Patou5-113/+112
namespace as it can be used not only for upgradeprovision
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett4-0/+169
2011-05-18s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett1-8/+7
libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett
2011-05-17s4-python: add an option for just fixing gpo foldersMatthieu Patou1-189/+196
2011-05-17s4-python: keep wheel_gid as an integerMatthieu Patou1-1/+1
2011-05-17s4-python: raise an error if unable to bind remote ldap while joiningMatthieu Patou1-0/+11
2011-05-08selftest: Polish selftest-vars.sh a little so it can be used againKamen Mazdrashki1-10/+14
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun May 8 22:50:01 CEST 2011 on sn-devel-104