summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-02s4-dnsserver: Check the raised exception with assertRaisesAmitay Isaacs1-13/+11
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-dnsserver: Handle the case when the dns name is NULLAmitay Isaacs1-0/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-dnsserver: Build a dns name tree for correct enumerationAmitay Isaacs3-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>
2011-11-02s4-dnsserver: List dns zones matching the search filterAmitay Isaacs1-26/+96
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-dnsserver: Compare two dns names using last uncommon name componentsAmitay Isaacs1-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>
2011-11-02s4-dnsserver: Set DNS_DP_AUTOCREATED flag for the zone informationAmitay Isaacs1-1/+1
This make the zone information similar to windows (W2K8r2). Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02samba-tool: Improve the description of dns subcommands.Amitay Isaacs1-5/+15
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02samba-tool: Enable comparison of DNS naming contexts in ldapcmpAmitay Isaacs1-3/+8
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02Remove opendir() VFS code from ACL modules.Jeremy Allison3-50/+0
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 2 02:13:51 CET 2011 on sn-devel-104
2011-11-01Call check_parent_access() on readdir.Jeremy Allison1-0/+13
2011-11-01Change function signature of check_parent_access() to take char * instead of ↵Jeremy Allison2-6/+10
struct smb_filename. Expose it so it can be called from directory code.
2011-11-01s4-socket: do not segfault if the socket is NULLMatthieu Patou1-0/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Nov 1 19:02:52 CET 2011 on sn-devel-104
2011-11-01s4-join: Send ReplicaUpdateRefs at the end of the joinMatthieu Patou1-1/+19
2011-11-01s4-domain-join: do not add DFSR entries when joining, this should be done in ↵Matthieu Patou1-9/+0
the code handling DFSR replication
2011-11-01s4-vampire: Fix the output of fetched object for the schema-dnMatthieu Patou1-2/+8
2011-11-01Simplify handling of user add command.Jelmer Vernooij1-6/+10
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 1 14:25:39 CET 2011 on sn-devel-104
2011-10-23s4: samba-tool subcommand rename - change samba-tool user add to samba-tool ↵Theresa Halloran7-10/+17
user create Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2011-11-01s4-dsdb Remove LDAP backend credentials supportAndrew Bartlett1-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
2011-11-01s4:torture:smb2: add a new durable-open.upgrade2 test to test all upgrade ↵Michael Adam1-0/+90
combinations Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Nov 1 04:58:03 CET 2011 on sn-devel-104
2011-11-01s4:torture:smb2: expand durable-open.open2 test matrix by all share-modesMichael Adam1-9/+48
2011-11-01s4:torture:smb2: expand durable-open.open1 test matrix by all share-modesMichael Adam1-8/+62
2011-11-01s4:torture:smb2: rename the durable-open.basic2 test to durable-open.open2 ↵Michael Adam1-14/+14
for clarity
2011-11-01s4:torture:smb2: rename the durable-open.basic1 test to durable-open.open1 ↵Michael Adam1-14/+14
for clarity
2011-11-01tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_.Rusty Russell3-5/+5
This is what lib/tdb2 really wants: to know if it should use normal headers or replace.h. It currently uses _SAMBA_BUILD_, which is wrong for ldb, for example. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Nov 1 03:19:58 CET 2011 on sn-devel-104
2011-10-31s4:torture/smb2: fix compound.invalid2 against windowsStefan Metzmacher1-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
2011-10-31s4:smb_server/smb2: correctly implement related compound requestsStefan Metzmacher2-0/+15
We need to remember the session id and tree id. metze
2011-10-31s4:smb_server/smb2: always grant the requested creditsStefan Metzmacher3-20/+20
At least one credit, if the client asked for 0. metze
2011-10-31s4:smb_server/smb2: echo back more header fieldsStefan Metzmacher1-3/+7
metze
2011-10-31s3:smb2_server: FLAG_CHAINED means we always use the last session_id and tidStefan Metzmacher2-33/+20
metze
2011-10-31s3:smb2_server: don't reset the tid and session id in the out hdr of ↵Stefan Metzmacher1-14/+0
compound requests Windows also leaves tid (0xFFFFFFFF) and session id (0xFFFFFFFFFFFFFFFF) as the client requested them. metze
2011-10-31s3:smb2_server: echo the SMB2_HDR_CREDIT_CHARGE and SMB2_HDR_SIGNATURE fieldsStefan Metzmacher1-2/+4
Windows just echos back the given values by default. metze
2011-10-31s4-torture: smb2 copychunk data integrity checksDavid Disseldorp1-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
2011-10-31s4-torture: add smb2 copychunk ioctl testsDavid Disseldorp1-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>
2011-10-31s4-torture: split common copychunk ioctl test code into helpersDavid Disseldorp1-53/+112
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-31s4-torture: Add tests for the smb2 copychunk ioctlDavid Disseldorp4-3/+179
Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-31idl: add copychunk and request_resume_key ioctl definitionsDavid Disseldorp1-0/+33
2011-10-31s3:smbd: also the parent smbd needs FLAG_MSG_PRINT_GENERAL (bug #8553)Stefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 31 17:37:34 CET 2011 on sn-devel-104
2011-10-31s4:nbt_server/dgram: higher debug level for NBT_MAILSLOT_NETLOGON requestsStefan Metzmacher1-1/+1
This matches the log level of the CLDAP case. metze
2011-10-31s4:lib/socket: don't pass -1 to close()Stefan Metzmacher1-1/+4
metze
2011-10-31s3: fix typo in net ads join outputDavid Disseldorp1-1/+1
Space missing from "DNS update in aclustered setup". Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Mon Oct 31 16:01:35 CET 2011 on sn-devel-104
2011-10-31s3: Fix some nonempty blank linesVolker Lendecke1-5/+5
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Oct 31 14:25:14 CET 2011 on sn-devel-104
2011-10-31s3: Fix a commentVolker Lendecke1-1/+4
2011-10-31s3: Remove some leftovers of old ctdb tdb2 codeVolker Lendecke1-16/+1
2011-10-30s4:torture:smb2: add durable_open_basic2 test: test durable open against all ↵Michael Adam1-0/+146
lease types Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Oct 30 20:17:16 CET 2011 on sn-devel-104
2011-10-30s4:torture:smb2: add a new durable_open_basic1 test: test open against all ↵Michael Adam1-0/+111
oplock types
2011-10-30s4:torture:smb2: check wheter open was durable in existing testsMichael Adam1-0/+8
2011-10-30s4:libcli: in smb2_create_recv, map SMB2_CREATE_DURABLE_HANDLE_RESPONSE ↵Michael Adam1-0/+7
buffer smb2_create.out.durable_open
2011-10-30source4/libcli: add bool durable_open to smb2_create.out.Michael Adam1-0/+1
The server gives indication whether the open was durable we should record this.
2011-10-30s4:torture: test also break semantics between batch-oplocks and leasesMichael Adam1-1/+1
This must have been a typo (listing EXCLUSIVE twice). But BATCH and EXCLUSIVE oplocks apparently share the same break semantics with respect to leases.
2011-10-30s4:torture:smb2: adapt comment in durable-open.lease test according to ↵Michael Adam1-0/+3
current information.