summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2011-11-24s4 dns: Test QCLASS_NONE queryKai Blin1-0/+14
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 24 14:10:45 CET 2011 on sn-devel-104
2011-11-24s4 dns: Test QTYPE_ALL queryKai Blin1-0/+25
2011-11-24s4 dns: Check more of the returned values for the A queryKai Blin1-0/+3
2011-11-24s4 dns: Move dns_transaction_udp to other helper functionsKai Blin1-13/+14
2011-11-22s4-dns: added --no-credentials option to samba_dnsupdateAndrew Tridgell1-3/+10
this is for a user who is doing DNS updates via key files rather than GSSAPI. This allows the update to go through without a kerberos error Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 22 06:34:59 CET 2011 on sn-devel-104
2011-11-18s3-py-passdb: Fix handling of uninitialized gid valuesAmitay Isaacs2-2/+2
Uninitialized gid value is set to -1 and return as such from python passdb api. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
2011-11-18s3-passdb_test: Policy values are converted to signed integerAmitay Isaacs1-1/+1
No need to check value for 0xffffffff (4294967295).
2011-11-18s4-s3-upgrade: Add --verbose option to print extra detailsAmitay Isaacs2-3/+6
2011-11-18s4-s3-upgrade: Fix idmap types ID_TYPE_UID/ID_TYPE_GID instead of UID/GIDAmitay Isaacs1-3/+3
2011-11-18samba-tool: Fix the domain account policy max_pwd_age calculationAmitay Isaacs1-2/+8
Windows sets maxPwdAge to -0x8000000000000000 when maximum password age is set to 0 days.
2011-11-18s4-s3-upgrade: Fix the minimum and maximum password age calculationAmitay Isaacs1-4/+4
Windows sets maxPwdAge to -0x8000000000000000 when maximum password age is set to 0 days.
2011-11-18s4-s3-upgrade now look for -1 as the special 'not set' valueAndrew Bartlett1-1/+1
this is possible because we know the py_passdb will always set -1 here, not passing though 0xFFFFFFFF. Andrew Bartlett
2011-11-17s4 dns: Add a first test caseKai Blin1-0/+117
2011-11-17samba.tests.dsdb: Import TestCase from samba.tests.Jelmer Vernooij1-4/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Nov 17 08:36:17 CET 2011 on sn-devel-104
2011-11-17samba.tests: Make sure testtools is available before importing it.Jelmer Vernooij1-0/+2
2011-11-17s4-provision permit server role to be the ROLE_ strings from s3Andrew Bartlett2-12/+19
Also convert between the aliases in one single place. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-16provision: Set the security descriptor while creating partitionsAmitay Isaacs1-12/+2
With Matthieu's patch, the setting of security descriptor on partition dn at create time works correctly. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 16 08:54:25 CET 2011 on sn-devel-104
2011-11-16s3-s4-upgrade: do not add description if it is empty string or noneAmitay Isaacs1-6/+12
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 16 05:53:41 CET 2011 on sn-devel-104
2011-11-15s4:join.py - fix typoMatthias Dieter Wallnöfer1-1/+1
2011-11-15s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()Stefan Metzmacher2-4/+5
metze
2011-11-15s4:python/samba/schema: pass down the schema_dn to set_from_ldif()Stefan Metzmacher1-3/+3
metze
2011-11-15samba-tool: Don't set UF_PASSWD_NOTREQD flag on "user disable"Giampaolo Lauria1-1/+1
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 15 02:51:16 CET 2011 on sn-devel-104
2011-11-15samba-tool: Remove "domain machinepassword" commandGiampaolo Lauria1-28/+0
As per Andrew Bartlett's comment: "we should remove it. This was originally a script to support some interactions between samba3 and samba4, when they were in distinct build systems. We now can call between the two systems without difficulty at runtime, so this command has no value." Signed-off-by: Amitay Isaacs <amitay@gmail.com>
2011-11-14Fix default value for subunitrun --list.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104
2011-11-14subunitrun: Don't load smb.conf when just listing tests.Jelmer Vernooij1-4/+5
2011-11-13waf: Don't link python modules against libpython2.x, consistent with other ↵Jelmer Vernooij1-1/+1
Python modules. Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
2011-11-13upgrade: use logger.warning.Jelmer Vernooij1-4/+4
2011-11-13samba-tool: allow dbcheck to correct the originating_change_time of the ↵Matthieu Patou1-0/+34
deleted object container Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 13 15:47:53 CET 2011 on sn-devel-104
2011-11-13samba-tool: dbcheck avoid problems with deleted objectsMatthieu Patou1-1/+1
We have to search for deleted objects as well as the previous search might have been done with the show_deleted control. If not samba-tool fails with no such DN error while fetching the object.
2011-11-11s4: Simple test script to create lots of contacts to stress the LDBMatthieu Patou1-0/+96
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 11 22:02:53 CET 2011 on sn-devel-104
2011-11-10subunitrun: Add notes about subunitrun being deprecated.Jelmer Vernooij1-0/+12
2011-11-10Revert "test: added -D option to subunitrun"Jelmer Vernooij1-5/+0
This reverts commit ac0bba2ea18e2e9ac578a333a3b260951e4c976e. "python -m subunit.run" is the preferred way of running tests to generate subunit. I also don't want to move too far away from the standard test running infrastructure for python so that other test runners (nosetests, trial, tribunal, ...) can be used with Samba code.
2011-11-10s4: samba-tool time --help documentation improvementsTheresa Halloran1-1/+14
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 10 06:04:22 CET 2011 on sn-devel-104
2011-11-10s4: samba-tool group --help documentation improvementsTheresa Halloran1-4/+75
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10samba-tool: print samaccountname in samba-tool user listAndrew Tridgell1-6/+3
this is the attribute the admin needs for other commands Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10test: added -D option to subunitrunAndrew Tridgell1-0/+5
this allows for: subunitrun -D lib/ldb/tests/python api which makes this easier for developers
2011-11-10samba-tool: Added new "user disable" commandGiampaolo Lauria2-0/+43
2011-11-10samba-tool: Added "user list" commandGiampaolo Lauria1-0/+34
2011-11-10samba-tool: Change internal argument name in domain machinepasswordGiampaolo Lauria1-5/+5
2011-11-10samba-tool: Fix domain machinepassword secret db searchGiampaolo Lauria1-4/+2
pair programmed with Jelmer Vernooij Add search to include secrets.ldb
2011-11-10samba-tool: Fix domain machinepassword name searchGiampaolo Lauria1-0/+2
Append '$' to name provided by user to search for a machine account when necessary
2011-11-10s4-test: improved error checking in samba-tool time testAndrew Tridgell1-0/+2
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10test: add samba-tool user testsSean Dague1-0/+215
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10test: Add samba-tool time testsSean Dague1-0/+43
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10test: add directory and base class for samba-tool testsSean Dague2-0/+124
this allows for more sophisticated testing of samba-tool Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-09s4:join.py - fix up "DsAddEntry" against Windows Server 2000Matthias Dieter Wallnöfer1-9/+18
It is important to consider the result level regarding error information. Windows 2000 seems to send us back v2, all other implementations v3. Consider post "Joining W2k AD domain" Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 9 23:37:08 CET 2011 on sn-devel-104
2011-11-09s4: Install samba-tool and samba_kcc to bin/ rather than sbin/.Jelmer Vernooij1-1/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 9 19:43:07 CET 2011 on sn-devel-104
2011-11-07samba_kcc: Remove unnecessary return statements.Jelmer Vernooij1-17/+0
2011-11-09s4-provision: Create ldap records for DNS partitions similar to windowsAmitay Isaacs1-1/+1
this allows easy comparison between windows and samba ldap trees Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 9 08:27:46 CET 2011 on sn-devel-104
2011-11-09s4-provision: Set security descriptor for DNS recordsAmitay Isaacs2-18/+103