ce8b5d520b
s4:samba-tool - fix Gémes Géza patch regarding parameter handling
...
The new "random-password" parameter has not been evaluated correctly.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org >
Autobuild-Date: Mon Nov 7 19:35:05 CET 2011 on sn-devel-104
2011-11-07 19:35:05 +01:00
1d9ff23f8e
Add a --random-password option to user create command.
...
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org >
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org >
2011-11-07 17:27:34 +01:00
384eaba38e
s4: samba-tool user --help documenation improvements
...
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com >
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Mon Nov 7 01:39:25 CET 2011 on sn-devel-104
2011-11-07 01:39:24 +01:00
f0ae7e1916
kcc: fixed program name
...
kcccompute -> samba_kcc
2011-11-07 10:02:45 +11:00
eb9c35cbb7
kcc: fixed tabs/spaces in kcc python implementation
...
as spotted by autobuild
2011-11-07 10:02:45 +11:00
d85b6edf8c
samba_kcc addtion
...
Scaffolding and initial implementations of
portions of the KCC in python. This code currently
properly computes the graph nodes for the intrasite
topology as well as enumerating all steps for a full
run of the KCC.
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-11-07 10:02:45 +11:00
c78dac4fde
add python KCC utility classes and methods
...
New file source4/scripting/python/samba/kcc_utils.py
contains classes and methods for:
DirectoryServiceAgent
NTDSConnection
GraphNode
NamingContext
NCReplica
These are consumed by a new samba_kcc python script
for KCC topology computation
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-11-07 10:02:45 +11:00
1ad05d8c09
Some formatting fixes, remove unused imports.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org >
Autobuild-Date: Sun Nov 6 06:22:33 CET 2011 on sn-devel-104
2011-11-06 06:22:33 +01:00
55e448fe2d
s4 provision/dns: Move DNS-related setup to sambadns module
...
Autobuild-User: Kai Blin <kai@samba.org >
Autobuild-Date: Fri Nov 4 09:15:54 CET 2011 on sn-devel-104
2011-11-04 09:15:54 +01:00
eeb370f77a
s4 provision/dns: Move secretsdb_setup_dns to the AD DNS specific setup
2011-11-04 07:38:44 +01:00
fe6913ada3
samba-tool: Fix short description and error msgs in domain level
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org >
Autobuild-Date: Thu Nov 3 16:53:16 CET 2011 on sn-devel-104
2011-11-03 16:53:16 +01:00
64e7e448fb
samba-tool: Fix --quiet option in domain samba3upgrade
...
--quiet option does not require an argument
2011-11-03 15:12:27 +01:00
16437edf48
samba-tool: Improve "delegation" command error handling
...
Change samdb toggle_userAccountFlags fcn to display more
meaningful error messages
Add flags string param to toggle_userAccountFlags
Change call to toggle_userAccountFlags in delegation command
to pass the flag name to be displayed in case of errors
2011-11-03 15:12:27 +01:00
967ac70a35
samba-tool: Improve "delegation" command error message
...
Write a more specific error msg when the on|off arg is invalid
2011-11-03 15:12:27 +01:00
9ff2874e5e
samba-tool: Improve "delegation" command error handling
...
Display a more meaningful error msg when user account not found
Assert when returned number of entries is not 0 or 1
2011-11-03 15:12:27 +01:00
82c6599e15
samba-tool: Fix "delegation show" command synopsis
...
Removed "show" from synopsis as it is no longer necessary
2011-11-03 15:12:27 +01:00
2db221c384
s4-sites: Document, fix under optimal coding, use exceptions
...
Autobuild-User: Matthieu Patou <mat@samba.org >
Autobuild-Date: Wed Nov 2 22:35:00 CET 2011 on sn-devel-104
2011-11-02 22:35:00 +01:00
23d3880725
samba.netcmd: Pass in outf/errf.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org >
Autobuild-Date: Wed Nov 2 20:09:40 CET 2011 on sn-devel-104
2011-11-02 20:09:40 +01:00
3ce126f352
s4-python: samba.provision: Require schema to be passed in - code path which handles schema not being specified is broken anyway.
2011-11-02 18:35:38 +01:00
aa882d3323
samba.common: Fix formatting of docstring (trips up pydoctor).
2011-11-02 18:35:37 +01:00
dfd341a2fd
samba-tool: add subcommand for sites manipulation
...
Autobuild-User: Matthieu Patou <mat@samba.org >
Autobuild-Date: Wed Nov 2 15:14:32 CET 2011 on sn-devel-104
2011-11-02 15:14:31 +01:00
66a34d86de
s4-python: add function to manipulate sites in python
2011-11-02 13:37:17 +01:00
4a6410df54
s4-dnsserver: Check the raised exception with assertRaises
...
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-11-02 15:26:54 +11:00
9abfaa3bbb
samba-tool: Improve the description of dns subcommands.
...
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-11-02 15:26:54 +11:00
66121dc896
samba-tool: Enable comparison of DNS naming contexts in ldapcmp
...
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-11-02 15:26:54 +11:00
d95826c218
s4-join: Send ReplicaUpdateRefs at the end of the join
2011-11-01 17:26:51 +01:00
3cdfcb9394
s4-domain-join: do not add DFSR entries when joining, this should be done in the code handling DFSR replication
2011-11-01 17:26:51 +01:00
4b67a10ed0
Simplify handling of user add command.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org >
Autobuild-Date: Tue Nov 1 14:25:39 CET 2011 on sn-devel-104
2011-11-01 14:25:39 +01:00
b26a4f6232
s4: samba-tool subcommand rename - change samba-tool user add to samba-tool user create
...
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com >
Signed-off-by: Jelmer Vernooij <jelmer@samba.org >
2011-10-23 15:23:28 -07:00
7ca0bed38d
s4-selftest: Add tests for RPC dnsserver
...
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-10-20 05:53:05 +02:00
b619705c22
samba-tool: Added dns command for DNS management
...
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-10-20 05:53:05 +02:00
a8c7b28435
s4-provision: Provision DNS records with correct rank
...
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2011-10-20 05:53:05 +02:00
8890f709d9
s4-test: added test suite for common.py code
...
this tests the dsdb_Dn() class
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com >
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Thu Oct 20 05:51:28 CEST 2011 on sn-devel-104
2011-10-20 05:51:28 +02:00
4f08a2951a
s4-dsdb: moved dsdb_Dn() into common.py
...
this gives a method for dealing with binary DNs from python
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com >
2011-10-20 04:23:07 +02:00
43e5592e9a
subunitrun: give more useful help
...
give some examples and more useful description for subunitrun command
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com >
2011-10-20 04:23:07 +02:00
43f23b55c4
s4-s3-upgrade rename samba-tool domain samba3upgrade --libdir to --dbdir for clarity
...
The things pointed at are not typically in a directory called lib,
so avoid confusing our administrators.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org >
Autobuild-Date: Wed Oct 19 15:43:04 CEST 2011 on sn-devel-104
2011-10-19 15:43:04 +02:00
be9378e41e
s4-s3-upgrade fix format string for secrets.tdb exception
2011-10-19 14:13:09 +02:00
596d6cceab
s4-s3-upgrade Fix samba3upgrade code to cope with a missing wins.dat
2011-10-19 14:13:09 +02:00
416bf1c677
samba.getopt: Add some basic tests.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org >
Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
2011-10-19 05:04:33 +02:00
aa7240e6cf
samba.getopt: Keep exception message when setting a lp option fails.
2011-10-19 03:34:07 +02:00
eb388cddac
samba-tool: Improve getopt.py error handling
...
Modified code to handle -k and --kerberos options to:
1. Throw the correct exception
2. On error, display the correct user's specified option
2011-10-19 03:34:07 +02:00
20f2034f38
samba-tool: Improve getopt.py error handling
...
Throw an exception when the --option value is invalid
2011-10-19 03:34:07 +02:00
8dbf79941f
samba-tool: Improve getopt.py error handling
...
Throw an exception when --option value is not in the form "a=b"
2011-10-19 03:34:07 +02:00
0c342f8986
samba-tool: Improve getopt.py error handling
...
Raise exception when -d or --debuglevel value is <0
2011-10-19 03:34:07 +02:00
5f11615810
s4-s3-upgrade: Give a better clue when we cannot open secrets.tdb
...
Signed-off-by: Stefan Metzmacher <metze@samba.org >
2011-10-18 13:13:31 +11:00
8c076862ad
s4 provision: DNS backend should be set by caller
...
Autobuild-User: Kai Blin <kai@samba.org >
Autobuild-Date: Mon Oct 17 09:51:12 CEST 2011 on sn-devel-104
2011-10-17 09:51:12 +02:00
d58f266d19
s4 provision/dns: Clean up os level handling
2011-10-17 08:16:12 +02:00
6382721ce0
s4 provision/dns: Clean up backend handling
2011-10-17 08:16:12 +02:00
41d48626e2
s4 provision: Reword opinionated dns backend help text, add NONE backend
2011-10-17 08:16:12 +02:00
292554c396
s4 provision: Rename bind9 flatfile backend to BIND9_FLATFILE
2011-10-17 08:16:12 +02:00