summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-11-02s4-sites: Document, fix under optimal coding, use exceptionsMatthieu Patou3-40/+104
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Nov 2 22:35:00 CET 2011 on sn-devel-104
2011-11-02samba.netcmd: Pass in outf/errf.Jelmer Vernooij2-6/+5
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 2 20:09:40 CET 2011 on sn-devel-104
2011-11-02s4-python: samba.provision: Require schema to be passed in - code path which ↵Jelmer Vernooij1-5/+1
handles schema not being specified is broken anyway.
2011-11-02samba.common: Fix formatting of docstring (trips up pydoctor).Jelmer Vernooij1-3/+4
2011-11-02samba-tool: add subcommand for sites manipulationMatthieu Patou2-0/+98
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Nov 2 15:14:32 CET 2011 on sn-devel-104
2011-11-02s4-selftest: add unit tests for sites's function in pythonMatthieu Patou2-0/+126
2011-11-02s4-python: add function to manipulate sites in pythonMatthieu Patou1-0/+63
2011-11-02s4-resolver: make it work back with ipv4 only DNS recordsMatthieu Patou1-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
2011-11-02dsdb: Handle the case when extended rights string is NULLAmitay Isaacs1-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
2011-11-02s4-drepl: Search for application partitions in addition to main onesAmitay Isaacs1-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>
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-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 Halloran4-7/+14
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-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-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 Disseldorp2-2/+173
Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
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-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.
2011-10-30s4:torture:smb2: fix the durable_open test to succeed against w7 and w2k8r2Michael Adam1-1/+1
When a first client that has a durable open with share read/write/delete and a read-write-handle lease on the file disconnects, a second client will succeed in opening the file and the new client will be given a RWH-lease if requested, not only a RH-lease, as was previously checked in the test. This might have been a bug in win7 build 7000, which is what the comments in the test give as reference.
2011-10-28The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵Jeremy Allison1-9/+9
cope with this.
2011-10-28lib/util Rename samba_modules_load -> samba_module_init_fns_for_subsystemAndrew Bartlett7-7/+7
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett