summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* samba-tool: Fixed "testparm" syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "user" command syntaxGiampaolo Lauria2011-09-091-1/+2
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "rodc" syntaxGiampaolo Lauria2011-09-091-1/+3
| | | | | | | Remove options from syntax to be consistent w/ the rest of commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "ntacl" subcommands syntaxGiampaolo Lauria2011-09-091-2/+2
| | | | | | | Removed options from syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "group" subcommands syntaxGiampaolo Lauria2011-09-091-4/+4
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "dsacl" command syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Removed option from syntax to be consistent w/ the rest of commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "drs" subcommands syntaxGiampaolo Lauria2011-09-091-8/+17
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "domain" subcommands syntaxGiampaolo Lauria2011-09-091-7/+8
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "spn" command syntaxGiampaolo Lauria2011-09-091-5/+17
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "delegation" command syntaxGiampaolo Lauria2011-09-091-7/+24
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "time" command synopsisGiampaolo Lauria2011-09-091-1/+1
| | | | | | | | "server_name" is an optional parameter added "options" parameter Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed "acl" commandGiampaolo Lauria2011-09-092-36/+0
| | | | | | | | Removed "acl" command as it has been changed to: "dsacl" and "ntacl" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "ntacl" commandGiampaolo Lauria2011-09-093-7/+13
| | | | | | | Added "ntacl" command to substitute "acl nt" command Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "dsacl" commandGiampaolo Lauria2011-09-093-5/+9
| | | | | | | Added "dsacl" command to substitute "acl ds" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Changed fsmo implementationGiampaolo Lauria2011-09-091-68/+130
| | | | | | | Changed fsmo code to fit the object <action> model Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Expanded acronym descriptionsGiampaolo Lauria2011-09-099-8/+9
| | | | | | | | Expanded command acronym descriptions Added footnote for "server connection needed" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Formatted subcommand list outputGiampaolo Lauria2011-09-091-1/+2
| | | | | | | | Formatted output of subcommand list to be a function of the max number of chars in the longest string Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Moved command definition to sambatool commandGiampaolo Lauria2011-09-092-42/+36
| | | | | | | Moved subcommand definition from __init__.py to cmd_sambatool class Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Add long_description and epilog to Command classGiampaolo Lauria2011-09-091-1/+6
| | | | | | | | | | | long_description and epilog should now be defined for each command. Their string value will be printed whenever the user invokes the command w/ the -h or --help long_desciption will be printed after the usage statement. epilog will be printed after the options are defined Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Redefined samba-tool as a SuperCommandGiampaolo Lauria2011-09-092-33/+12
| | | | | | | | | Removed MainCommand class as samba-tool is a SuperCommand Redefined samba-tool as a SuperCommand Fixed error handling in SuperCommand _run Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed SuperCommand usage methodGiampaolo Lauria2011-09-091-7/+0
| | | | | | | Removed usage method as it is not being used anywhere Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed attribute name from Command classGiampaolo Lauria2011-09-091-21/+12
| | | | | | | | Removed name as it is not used anywhere Moved all the attributes on top of the class declaration Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-test: name attribute remove from Command class, so test not requiredAmitay Isaacs2011-09-091-6/+0
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-s3-upgrade do not convert min password length as a timeAndrew Bartlett2011-09-091-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 9 01:53:55 CEST 2011 on sn-devel-104
* s4-param void function cannot return valueAndrew Bartlett2011-09-081-1/+2
| | | | | | | | | This is even if the returned function is void, on Solaris. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 16:38:30 CEST 2011 on sn-devel-104
* s4-winbindd: implement WINBINDD_SIDS_TO_XIDSAndrew Tridgell2011-09-082-1/+97
| | | | | | this fixes wbinfo --sids-to-unix-ids Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-winbindd: fixed handling of extra_data in s3 requestsAndrew Tridgell2011-09-081-1/+37
| | | | | | | | | extra_data in s3 winbind requests is appended to the end of the request, but does not change the length header of the packet. Instead you need to get it from the extra_len element of the request structure. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-winbind: added count argument to wb_sids2xids_recv()Andrew Tridgell2011-09-084-4/+7
| | | | | | this allows callers to know how many SIDs were mapped Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: make LIBWBCLIENT_OLD and auth_unix_token librariesAndrew Bartlett2011-09-082-9/+11
| | | | | | This assists with avoiding duplicate symbols. Andrew Bartlett
* s4-cracknames: use consistent search for crossRef objectsAndrew Tridgell2011-09-081-2/+4
| | | | | | | | | This matches the search in other places Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Sep 8 05:02:54 CEST 2011 on sn-devel-104
* s4-dsdb: prevent crash on bad DN in construct_parent_guid()Andrew Tridgell2011-09-081-0/+3
| | | | this was found by a flakey test in autobuild
* torture-drs: fixed NDR tests for DRS blobsAndrew Tridgell2011-09-081-2/+40
| | | | | | this also adds new tests for trustAuthInOutBlob blobs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NTLMSSP blobsAndrew Tridgell2011-09-081-4/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NBT blobsAndrew Tridgell2011-09-081-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for DFS blobsAndrew Tridgell2011-09-081-3/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: added support for testing push functionsAndrew Tridgell2011-09-082-25/+52
| | | | | | | this allows us to check the symmetry of pull/push functions in NDR tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed compiler warningAndrew Tridgell2011-09-081-1/+1
| | | | | | sid can be const Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Fill msDS-NC-Replica-Locations attribute in DNS provisioningAmitay Isaacs2011-09-082-0/+4
| | | | | | | | | | This attribute is required by the hosting requirement. [MS_ADTS].pdf 7.1.2.3.1 DC and Application NC Replica Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Sep 8 02:04:51 CEST 2011 on sn-devel-104
* s4-provision: Make DNS entries consistent with dns_update scriptAmitay Isaacs2011-09-081-4/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Reworked DNS provisioning to support AD DNS schemaAmitay Isaacs2011-09-081-114/+435
| | | | | | | | | | | | This changes configure DNS partitions used by AD DNS and populate with relevant entries. This has an advantage that Windows can replicate these partitions and set up dns server using them. In addition, these partitions are used by bind9_dlz module to query zone information directly and do not need to create text database for dynamic zones. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: LDIF files to set up AD DNS schemaAmitay Isaacs2011-09-085-3/+129
| | | | | | | This files set up DomainDnsZones and ForestDnsZones partitions and other configuration parameters for replication. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Add DNS backend option to provisionAmitay Isaacs2011-09-082-4/+10
| | | | | | | This option is introduced temporarily to test bind9 backend with and without dlz_dlopen module. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: exit is not imported directed, use sys.exitAmitay Isaacs2011-09-081-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Extract dns account creation as separate ldifAmitay Isaacs2011-09-082-92/+12
| | | | | | | MicrosoftDNS container and LDAP entries for root servers will be added by sambadns.py directly. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Avoid use of "except .. as" construction introduced in python2.6.Jelmer Vernooij2011-09-081-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Sep 8 00:34:22 CEST 2011 on sn-devel-104
* s4-s3-upgrade: convert password age policies to the negative NTTIME formatAndrew Bartlett2011-09-071-8/+21
| | | | | | | | | This previously caused all accounts to be locked out. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 7 13:44:44 CEST 2011 on sn-devel-104
* samba-tool: Add --filter option to ldapcmp to ignore specified attributesAmitay Isaacs2011-09-071-9/+20
|
* s4-kcc: Fix the list of NCs for DRS replica informationAmitay Isaacs2011-09-071-3/+21
| | | | | AD DNS partitions (DomainDnsZones and ForestDnsZones) are listed under msDs-hasMasterNCs attribute for post-2003 windows servers.
* s4:torture/basic: relax base.trans2 midmight time checkingStefan Metzmacher2011-09-071-2/+4
| | | | | | | | It's possible that the test runs on a full hour, e.g. Tue Sep 6 03:00:00 2011. So better check that the a_time is different from the current time. metze
* s4-s3-upgrade Handle expected errors, error out on unexpected onesAndrew Bartlett2011-09-071-3/+5
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 7 02:22:56 CEST 2011 on sn-devel-104