Amitay Isaacs
8a7cdfcccd
samba-tool:dns: Fix a typo
2011-12-23 16:18:26 +11:00
Amitay Isaacs
d340c2cae8
samba-tool:dns: Add zone create/delete commands
2011-12-23 16:18:26 +11:00
Amitay Isaacs
ecbc747ca5
samba-tool:dns: Add support for reverse names (PTR records)
2011-12-23 16:17:09 +11:00
Amitay Isaacs
d0ab0a4cee
samba-tool: Add transaction wrapper for creating GPO
...
This ensures that if the GPT files are not copied via SMB,
AD changes are rolled back.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Dec 20 09:12:41 CET 2011 on sn-devel-104
2011-12-20 09:12:41 +01:00
Amitay Isaacs
0cee9b01d9
samba-tool: Fix DN for GPO entries
2011-12-14 15:57:32 +11:00
Amitay Isaacs
8b94a34bac
samba-tool: gpo: fix a typo
2011-12-14 15:57:32 +11:00
Amitay Isaacs
d8bed322fc
samba-tool: Remove duplicate code of dsacl to fsacl conversion
...
Use samba.ntacls.dsacl2fsacl() instead.
2011-12-14 15:57:32 +11:00
Andrew Tridgell
86338ab551
dbcheck: cope with objects disappearing during checking
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Dec 8 03:23:49 CET 2011 on sn-devel-104
2011-12-08 03:23:49 +01:00
Matthieu Patou
a8c89fa7d2
samba-tool: refuse to demote if the current DC has still roles
2011-12-05 18:23:07 +01:00
Matthieu Patou
f44e1a753a
samba-tool: add a function to cleanly demote a DC
...
samba-tool domain demote allow the local DC to properly demote against
Microsoft and Samba DC.
2011-12-05 18:23:07 +01:00
Matthieu Patou
fc42b0ab41
s4-python: factorize the definition of get_dsServiceName
2011-12-05 18:23:07 +01:00
Matthieu Patou
093dac4331
s4-python: externalize some function to the drs_utils module so that they can be reused
2011-12-05 18:23:07 +01:00
Matthieu Patou
9e3ee2bf6a
s4-python: rename conflicting variable with the import option
2011-12-05 18:23:06 +01:00
Stefan Metzmacher
f9f261cb60
s4:python: add --machinepass option to 'samba-tool domain join'
...
metze
2011-11-29 09:21:25 +01:00
Andrew Bartlett
2bff209128
s4-samba-tool: Add --principal argument to samba-tool domain exportkeytab
...
This allows only a particular principal to be exported to the keytab.
This is useful when setting up unix servers in a Samba controlled
domain.
Based on a request by Gémes Géza <geza@kzsdabas.hu>
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov 29 09:20:55 CET 2011 on sn-devel-104
2011-11-29 09:20:54 +01:00
Matthias Dieter Wallnöfer
f57f009bc6
samba-tool: domain info - add basic exception handling
...
It is nicer to get an error message rather than a stacktrace on wrong IP
addresses.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-27 12:51:57 +01:00
Matthieu Patou
08ca7d1634
samba-tool: add a domain info command to get basic info
...
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-27 12:51:56 +01:00
Matthias Dieter Wallnöfer
fc26e29f8e
s4:netcmd/common.py: add a "netcmd" function to do a cldap netlogon request
...
This is useful for a new "samba-tool domain info" command.
Patch inspired by Matthieu Patou.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-27 12:50:06 +01:00
Matthias Dieter Wallnöfer
179bf9b51c
s4:libnet/py_net.c: "py_net_finddc" - add an "address" parameter
...
This is useful for a new "samba-tool domain info" command.
Patch inspired by Matthieu Patou.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-26 10:34:58 +01:00
Amitay Isaacs
244ecc844d
s4-s3-upgrade: Add --verbose option to print extra details
2011-11-18 14:38:28 +11:00
Amitay Isaacs
6a2a2dfa5f
samba-tool: Fix the domain account policy max_pwd_age calculation
...
Windows sets maxPwdAge to -0x8000000000000000 when maximum password
age is set to 0 days.
2011-11-18 14:38:27 +11:00
Giampaolo Lauria
f057cb4f84
samba-tool: Remove "domain machinepassword" command
...
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-15 11:12:07 +11:00
Jelmer Vernooij
c529c12c7d
upgrade: use logger.warning.
2011-11-13 18:06:06 +01:00
Theresa Halloran
7d84805ac0
s4: samba-tool time --help documentation improvements
...
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-10 06:04:22 +01:00
Theresa Halloran
4ea6225c58
s4: samba-tool group --help documentation improvements
...
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com>
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:38 +11:00
Andrew Tridgell
862823a776
samba-tool: print samaccountname in samba-tool user list
...
this is the attribute the admin needs for other commands
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
1cef3212a1
samba-tool: Added new "user disable" command
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
34ff5d29e6
samba-tool: Added "user list" command
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
da21ff82a5
samba-tool: Change internal argument name in domain machinepassword
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
53fc437d05
samba-tool: Fix domain machinepassword secret db search
...
pair programmed with Jelmer Vernooij
Add search to include secrets.ldb
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
ec5afae292
samba-tool: Fix domain machinepassword name search
...
Append '$' to name provided by user to search for a machine account
when necessary
2011-11-10 14:24:21 +11:00
Matthias Dieter Wallnöfer
099d687d1a
s4:samba-tool user command - always initialise the boolean arguments properly
...
It they haven't been specified.
Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 8 22:28:38 CET 2011 on sn-devel-104
2011-11-08 22:28:38 +01:00
Matthias Dieter Wallnöfer
a53bc0a91b
s4:samba-tool - other fix for Gémes Géza patch regarding parameter handling
...
The condition has not been specified correctly since we are expecting a boolean.
Pointed out by Jelmer.
Reviewed-by: Jelmer
2011-11-08 20:53:08 +01:00
Matthias Dieter Wallnöfer
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
Gémes Géza
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
Theresa Halloran
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
Jelmer Vernooij
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
Giampaolo Lauria
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
Giampaolo Lauria
64e7e448fb
samba-tool: Fix --quiet option in domain samba3upgrade
...
--quiet option does not require an argument
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
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
Giampaolo Lauria
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
Giampaolo Lauria
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
Giampaolo Lauria
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
Matthieu Patou
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
Jelmer Vernooij
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
Matthieu Patou
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
Amitay Isaacs
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
Amitay Isaacs
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
Jelmer Vernooij
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
Theresa Halloran
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