summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:smb_server: change the default for "server signing" to "default"Stefan Metzmacher2011-11-032-2/+8
| | | | metze
* s4:libcli/smb2: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the ↵Stefan Metzmacher2011-11-031-0/+2
| | | | | | client for now metze
* s4:libcli/raw: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the ↵Stefan Metzmacher2011-11-031-0/+1
| | | | | | client for now metze
* s4:smb_server/smb2: add the same SMB_SIGNING_AUTO logic as for smb1Stefan Metzmacher2011-11-031-2/+25
| | | | metze
* s4:smb_server/smb: make the SMB_SIGNING_AUTO behavior a bit easier to followStefan Metzmacher2011-11-031-19/+25
| | | | | | The prepares a future change to SMB_SIGNING_DEFAULT. metze
* s4:libcli/smb2: let SMB_SIGNING_AUTO behave like SMB_SIGNING_SUPPORTEDStefan Metzmacher2011-11-031-7/+1
| | | | | | This matches the smb1 behavior. metze
* s4:libcli/raw: only use smb signing if requiredStefan Metzmacher2011-11-031-2/+2
| | | | | | | | This matches the source3 code, I want to have the behavior in common before I put the config options in common. Later we may change this consitently in all code. metze
* samba-tool: Fix short description and error msgs in domain levelGiampaolo Lauria2011-11-031-5/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Nov 3 16:53:16 CET 2011 on sn-devel-104
* samba-tool: Fix --quiet option in domain samba3upgradeGiampaolo Lauria2011-11-031-2/+2
| | | | --quiet option does not require an argument
* samba-tool: Improve "delegation" command error handlingGiampaolo Lauria2011-11-032-6/+12
| | | | | | | | 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
* samba-tool: Improve "delegation" command error messageGiampaolo Lauria2011-11-031-2/+2
| | | | Write a more specific error msg when the on|off arg is invalid
* samba-tool: Improve "delegation" command error handlingGiampaolo Lauria2011-11-031-21/+27
| | | | | Display a more meaningful error msg when user account not found Assert when returned number of entries is not 0 or 1
* samba-tool: Fix "delegation show" command synopsisGiampaolo Lauria2011-11-031-1/+1
| | | | Removed "show" from synopsis as it is no longer necessary
* s4-sites: Document, fix under optimal coding, use exceptionsMatthieu Patou2011-11-023-40/+104
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Nov 2 22:35:00 CET 2011 on sn-devel-104
* samba.netcmd: Pass in outf/errf.Jelmer Vernooij2011-11-022-6/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 2 20:09:40 CET 2011 on sn-devel-104
* s4-python: samba.provision: Require schema to be passed in - code path which ↵Jelmer Vernooij2011-11-021-5/+1
| | | | handles schema not being specified is broken anyway.
* samba.common: Fix formatting of docstring (trips up pydoctor).Jelmer Vernooij2011-11-021-3/+4
|
* samba-tool: add subcommand for sites manipulationMatthieu Patou2011-11-022-0/+98
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Nov 2 15:14:32 CET 2011 on sn-devel-104
* s4-selftest: add unit tests for sites's function in pythonMatthieu Patou2011-11-022-0/+126
|
* s4-python: add function to manipulate sites in pythonMatthieu Patou2011-11-021-0/+63
|
* s4-resolver: make it work back with ipv4 only DNS recordsMatthieu Patou2011-11-021-16/+25
| | | | | | | | It turns out that if there is no AAAA record the dns server (bind and MS windows at least) do not return the A record when just asked for AAAA. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Nov 2 11:15:34 CET 2011 on sn-devel-104
* dsdb: Handle the case when extended rights string is NULLAmitay Isaacs2011-11-021-4/+7
| | | | | | | | | Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 2 07:03:40 CET 2011 on sn-devel-104
* s4-drepl: Search for application partitions in addition to main onesAmitay Isaacs2011-11-021-3/+16
| | | | | | | | | To replicate application partitions (e.g. DNS partitions) consult msDs-hasMasterNCs attribute as well. Also, make sure we don't add same partition twice in the list. hasMasterNCs and msDs-hasMasterNCs have domain, configuration and schema partitions common. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dnsserver: Check the raised exception with assertRaisesAmitay Isaacs2011-11-021-13/+11
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dnsserver: Handle the case when the dns name is NULLAmitay Isaacs2011-11-021-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dnsserver: Build a dns name tree for correct enumerationAmitay Isaacs2011-11-023-122/+274
| | | | | | | | | | The result of EnumRecords/EnumRecords2 RPC calls, is a list of dns records that are one level below in the name hierarchy starting from the search name. This patch builds a tree of names to get the list of records one level below the search names and correctly count the number of child records for each of those. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dnsserver: List dns zones matching the search filterAmitay Isaacs2011-11-021-26/+96
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dnsserver: Compare two dns names using last uncommon name componentsAmitay Isaacs2011-11-021-2/+26
| | | | | | | | | | | | | | When search_name is not NULL, use the second last component of name instead of the last name. e.g. To compare following two names, _ldap._tcp.gc, and _ldap._tcp.Default-First-Site-Name._sites.gc with search_name=NULL, it is gc and gc with search_name=gc, it is _tcp and _sites Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dnsserver: Set DNS_DP_AUTOCREATED flag for the zone informationAmitay Isaacs2011-11-021-1/+1
| | | | | | This make the zone information similar to windows (W2K8r2). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Improve the description of dns subcommands.Amitay Isaacs2011-11-021-5/+15
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Enable comparison of DNS naming contexts in ldapcmpAmitay Isaacs2011-11-021-3/+8
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-socket: do not segfault if the socket is NULLMatthieu Patou2011-11-011-0/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Nov 1 19:02:52 CET 2011 on sn-devel-104
* s4-join: Send ReplicaUpdateRefs at the end of the joinMatthieu Patou2011-11-011-1/+19
|
* s4-domain-join: do not add DFSR entries when joining, this should be done in ↵Matthieu Patou2011-11-011-9/+0
| | | | the code handling DFSR replication
* s4-vampire: Fix the output of fetched object for the schema-dnMatthieu Patou2011-11-011-2/+8
|
* Simplify handling of user add command.Jelmer Vernooij2011-11-011-6/+10
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 1 14:25:39 CET 2011 on sn-devel-104
* s4: samba-tool subcommand rename - change samba-tool user add to samba-tool ↵Theresa Halloran2011-10-234-7/+14
| | | | | | | user create Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4-dsdb Remove LDAP backend credentials supportAndrew Bartlett2011-11-011-51/+3
| | | | | | | | | | The error message from this causes confusion, for a feature that we have never finished and have agreed to remove. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 1 06:32:52 CET 2011 on sn-devel-104
* s4:torture:smb2: add a new durable-open.upgrade2 test to test all upgrade ↵Michael Adam2011-11-011-0/+90
| | | | | | | combinations Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Nov 1 04:58:03 CET 2011 on sn-devel-104
* s4:torture:smb2: expand durable-open.open2 test matrix by all share-modesMichael Adam2011-11-011-9/+48
|
* s4:torture:smb2: expand durable-open.open1 test matrix by all share-modesMichael Adam2011-11-011-8/+62
|
* s4:torture:smb2: rename the durable-open.basic2 test to durable-open.open2 ↵Michael Adam2011-11-011-14/+14
| | | | for clarity
* s4:torture:smb2: rename the durable-open.basic1 test to durable-open.open1 ↵Michael Adam2011-11-011-14/+14
| | | | for clarity
* s4:torture/smb2: fix compound.invalid2 against windowsStefan Metzmacher2011-10-311-2/+2
| | | | | | | | | Tested against w2k8r2 with signing and win8pre0 without signing. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 21:40:25 CET 2011 on sn-devel-104
* s4:smb_server/smb2: correctly implement related compound requestsStefan Metzmacher2011-10-312-0/+15
| | | | | | We need to remember the session id and tree id. metze
* s4:smb_server/smb2: always grant the requested creditsStefan Metzmacher2011-10-313-20/+20
| | | | | | At least one credit, if the client asked for 0. metze
* s4:smb_server/smb2: echo back more header fieldsStefan Metzmacher2011-10-311-3/+7
| | | | metze
* s4-torture: smb2 copychunk data integrity checksDavid Disseldorp2011-10-311-0/+72
| | | | | | | | | | Perform simple integrity checks on destination file data following a successful copychunk request. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 19:28:20 CET 2011 on sn-devel-104
* s4-torture: add smb2 copychunk ioctl testsDavid Disseldorp2011-10-311-7/+285
| | | | | | | | | | | | test_ioctl_copy_chunk_multi: Issue a copychunk request with multiple chunk descriptors. test_ioctl_copy_chunk_over: Issue a copychunk request with overlapping chunks. test_ioctl_copy_chunk_append: append data as part of a copy chunk test_ioctl_copy_chunk_tiny: issue request with sub FS block size chunk descriptors. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: split common copychunk ioctl test code into helpersDavid Disseldorp2011-10-311-53/+112
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>