summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2011-07-21samba-tool: moved export to domain dumpkeysGiampaolo Lauria1-0/+23
This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: removed domainlevel as it has been moved to domain levelGiampaolo Lauria2-249/+0
The functionality of domainlevel has been moved the "domain level" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: moved domainlevel to domain levelGiampaolo Lauria1-0/+201
This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: removed machinepw as it has been moved to domain machinepasswordGiampaolo Lauria2-58/+0
The functionality of machinepwd has been moved to "domain machinepassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: moved machinepw to domain machinepasswordGiampaolo Lauria1-1/+37
This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: removed pwsettingsGiampaolo Lauria1-197/+0
pwsettings functionality has been moved to user passwordsettings to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: created domain object, moved pwsettings to user passwordsettingsGiampaolo Lauria2-2/+214
This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: update test suite for add setpasswordGiampaolo Lauria1-2/+0
The test suite needs to change from setpassword to "user setpassword" to reflect the new cmd syntax Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: removed setpassword.pyGiampaolo Lauria1-80/+0
The functionality in setppasword has now been moved to "user setpassword" to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: added setpassword to userGiampaolo Lauria1-2/+58
This is part of the samba-tool work to fit the object-action model Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: fix summary of the fsmo command to be clearerGiampaolo Lauria1-1/+1
fsmo command is for general FSMO management Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-13dbcheck: use samdb_schema for getting the backlinkAndrew Tridgell1-1/+1
this is not available on an ldap samdb Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13ldb: use base searches for @ special DNsAndrew Tridgell4-21/+20
subtree searches on these DNs don't work any more Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13dbcheck: only do the provision dbcheck if there are objects to checkAndrew Tridgell1-13/+14
when in FILL_DRS mode, there are no objects to check yet Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13s4-provision: fixed the GUIDs in the provision using dbcheckAndrew Tridgell1-0/+16
some DNs are are not setup with GUIDs during the provision because of circular dependencies between objects. This adds a dbcheck pass to the provision to fix those DNs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13dbcheck: only fix replPropertyMetaData if we included it in the searchAndrew Tridgell1-11/+14
if we didn't find a replPropertyMetaData attribute at all then don't try fixing it Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-13dbcheck: added checks for missing and orphansed backlinksAndrew Tridgell1-19/+18
this checks for missing backlinks or backlinks without a forward link and optionally fixes them Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13dbcheck: fixed ldap check with no database specifiedAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-13dbcheck: added --reindex optionAndrew Tridgell2-3/+20
this allows you to force a reindex of the database Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13samba-tool: fixed ldapcmp to run as non-root Andrew Tridgell1-2/+9
this avoids the need for access to the secrets database Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-13dbcheck: added checking of backlinksAndrew Tridgell1-54/+92
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13pydsdb: added get_backlink_from_lDAPDisplayName()Andrew Tridgell1-0/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-12s4:provision: place the sysvol share under "state dir" instead of "lock dir"Stefan Metzmacher1-1/+1
metze
2011-07-12s4:param: add "state dir" and "cache dir" optionsStefan Metzmacher1-1/+9
metze
2011-07-11dbcheck: use get_lDAPDisplayName_by_attid()Andrew Tridgell1-11/+3
this is better than doing a schema search inside the dbcheck code Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Jul 11 07:43:18 CEST 2011 on sn-devel-104
2011-07-11dsdb: added get_lDAPDisplayName_by_attidAndrew Tridgell1-0/+4
this allows conversion from a DRS attribute ID to a LDAP display name Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-11dbcheck: improved error checking in fixup of missing metdataAndrew Tridgell1-26/+24
when fixing missing attributes in replPropertyMetaData, allow user to confirm changes, and check for exceptions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-11s4-provision: use samba.unix2nttime() instead of hard coding NTTIME offsetsAndrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-11s4-samba-tool: dbcheck, check and fix broken metadataMatthieu Patou1-0/+77
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-11s4-python: Add functions to get linkid and systemflags of an attributeMatthieu Patou1-0/+8
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-11upgradeprovision: reduce the number of attribute that we skipMatthieu Patou1-2/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-11s4-provision: fix the value of creation timestamp to be a MS timestampMatthieu Patou1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-11dbcheck: check all objects, including deleted objectsAndrew Tridgell2-17/+18
this makes dbcheck search over all objects, deleted or not. This matters because when another DC replicates from this DC it replicates the deleted objects as well, so invalid attributes in deleted objects can cause problems on the new DC (for example, windows can get stuck or even crash during the replication) Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-11dbcheck: added confirm_all support for remaining checksAndrew Tridgell1-5/+10
this allows the user to choose all/none for all the remaining database checks Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-11dbcheck: use specified DB schema for non-LDAP URLsAndrew Tridgell1-2/+9
when connecting to a local database with -H we can use that databases schema Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-07s4 provision: Add some of the AD-specific DNS records to the directoryKai Blin2-8/+235
Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Jul 7 02:29:53 CEST 2011 on sn-devel-104
2011-07-07s4 provision: split up DNS provisioning into generic and samba-specific ldifsKai Blin1-2/+10
Signed-off-by: Kai Blin <kai@samba.org>
2011-07-05s4-dbcheck: support the 'none' option for promptsAndrew Tridgell1-2/+10
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jul 5 08:22:40 CEST 2011 on sn-devel-104
2011-07-05s4-pycommon: support 'none' as an option in confirmAndrew Tridgell1-7/+20
this allows the user to ask for none of the changes of this type Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-05dbcheck: only use a paged search when checking a ldap databaseAndrew Tridgell1-1/+1
paged searches don't work against a local database (they return only the first N objects)
2011-07-05dbcheck: check for unknown attributes and offer to remove themAndrew Tridgell1-3/+46
this asks the user if they want to remove an unknown attribute. You can also choose 'all' which will auto-confirm all questions about removing unknown attributes.
2011-07-05s4-pycommon: allow an optional 'all' choice for confirm dialogsAndrew Tridgell1-3/+9
when asking the user to confirm an action, allow for an 'all' choice, which will be used to allow the user to confirm all future requests of the same type
2011-06-30rebuildexetendeddn: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-66/+61
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jun 30 12:07:32 CEST 2011 on sn-devel-104
2011-06-30rpcclient: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-45/+45
2011-06-30smbstatus: PEP8: Use spaces rather than tabs.Jelmer Vernooij1-38/+38
2011-06-30mischema: Remove unused import.Jelmer Vernooij1-1/+0
2011-06-30enablerecyclebin: Remove unused imports, fix formatting.Jelmer Vernooij1-5/+3
2011-06-24s4:samba-tool: add "delegation" subcommands for S4U2Proxy and related stuffStefan Metzmacher2-0/+269
For now this only works on the local sam.ldb, but it shouldn't be hard to improve it to talk to remove servers. Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze
2011-06-24s4:python/samba/samdb: add toggle_userAccountFlags() helper functionStefan Metzmacher1-10/+35
And let enable_account() use it. Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze
2011-06-24param: Remove remaining references to announce as and announce versionAndrew Bartlett1-2/+0