summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-waf: move trusts_util.c code into a private library.Günther Deschner2011-11-022-6/+12
| | | | Guenther
* s3-trustdomcache: make enumerate_domain_trusts() static.Günther Deschner2011-11-023-104/+103
| | | | Guenther
* s3-waf: convert libnet_keytab into a private library.Günther Deschner2011-11-021-2/+9
| | | | Guenther
* s3-libnet: add ads forward declaration in libnet keytab code.Günther Deschner2011-11-022-2/+3
| | | | Guenther
* s3-waf: fix libgpo.so library name.Günther Deschner2011-11-022-3/+3
| | | | Guenther
* ldb: fix compiler warningDavid Disseldorp2011-11-021-1/+1
| | | | | | | Mixed declarations and code. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Wed Nov 2 16:51:24 CET 2011 on sn-devel-104
* s3:smb2_server: remove unused outhdr variablesDavid Disseldorp2011-11-021-2/+0
|
* 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
* tdb2: don't be fascist when TDB_VERSION1 is specified.Rusty Russell2011-11-022-5/+40
| | | | | | | | | | | | | | | We currently insist that a tdb file be a version1 file if tdb_open() is passed the TDB_VERSION1 flag; we fail if it's actually a tdb2. But that makes generic wrappers harder, and is unlikely to be what the user wants: if they do, they can check tdb_get_flags() & TDB_VERSION1 after opening. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit 9691464a16ef22d6acadfef209666381dfe22b2f) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Nov 2 08:38:38 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>
* Remove opendir() VFS code from ACL modules.Jeremy Allison2011-11-023-50/+0
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 2 02:13:51 CET 2011 on sn-devel-104
* Call check_parent_access() on readdir.Jeremy Allison2011-11-011-0/+13
|
* Change function signature of check_parent_access() to take char * instead of ↵Jeremy Allison2011-11-012-6/+10
| | | | | | struct smb_filename. Expose it so it can be called from directory code.
* 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-237-10/+17
| | | | | | | 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
* tdb2: use HAVE_LIBREPLACE instead of _SAMBA_BUILD_.Rusty Russell2011-11-013-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
* 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
* s3:smb2_server: FLAG_CHAINED means we always use the last session_id and tidStefan Metzmacher2011-10-312-33/+20
| | | | metze
* s3:smb2_server: don't reset the tid and session id in the out hdr of ↵Stefan Metzmacher2011-10-311-14/+0
| | | | | | | | | compound requests Windows also leaves tid (0xFFFFFFFF) and session id (0xFFFFFFFFFFFFFFFF) as the client requested them. metze
* s3:smb2_server: echo the SMB2_HDR_CREDIT_CHARGE and SMB2_HDR_SIGNATURE fieldsStefan Metzmacher2011-10-311-2/+4
| | | | | | Windows just echos back the given values by default. 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>
* s4-torture: Add tests for the smb2 copychunk ioctlDavid Disseldorp2011-10-314-3/+179
| | | | | | Add idls for parsing of copychunk ioctl args. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* idl: add copychunk and request_resume_key ioctl definitionsDavid Disseldorp2011-10-311-0/+33
|