summaryrefslogtreecommitdiff
path: root/source4/dns_server
Commit message (Collapse)AuthorAgeFilesLines
* dlz_bind9: Added access check to verify dynamic updateAmitay Isaacs2011-11-292-17/+167
| | | | | | | | This creates session info from kerberos ticket and verifies if the signer has write access to a particular DN corresponding to the name in dynamic update. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* dlz_bind9: Use the sam database in dns/ as defaultAmitay Isaacs2011-11-292-60/+14
| | | | | | This change is introduced to access samdb copy directly, rather than over ildap. The advantage is that the samba server does not need to be running for bind9 to start.
* s4 dns: Reduce test output noise by upping log level for dns_name_packet loggingKai Blin2011-11-171-3/+6
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 17 20:10:05 CET 2011 on sn-devel-104
* s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin2011-11-041-1/+1
|
* s4 dns: Handle QCLASS_NONE queriesKai Blin2011-11-041-0/+5
|
* s4 dns: Support DNS_QTYPE_ALL queriesKai Blin2011-11-041-109/+59
|
* s4:wscript - install the two missing files "dlz_bind9.so" and "named.conf.dlz"Geza Gemes2011-10-271-0/+2
| | | | | | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 27 20:27:32 CEST 2011 on sn-devel-104
* s4:dlz_bind9: add no memory checksStefan Metzmacher2011-10-171-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 17 14:07:25 CEST 2011 on sn-devel-104
* s4:dlz_bind9: Copy dn before changing in b9_has_soaStefan Gohmann2011-10-171-1/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:dlz_bind9: add missing earch bases for windows 2000 domainsStefan Gohmann2011-10-171-0/+1
| | | | | | | | | | By default the samba4 dlz_bind9 backend searches under CN=MicrosoftDNS,DC=DomainDnsZones and CN=MicrosoftDNS,DC=ForestDnsZones. In my samba4 test setup all DNS zones are under CN=MicrosoftDNS,CN=System. After adding the attached patch it works fine for me. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* dns: Do as BIND and MS DNS and drop quries with qdcount != 1Kai Blin2011-09-281-5/+11
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Sep 28 03:37:22 CEST 2011 on sn-devel-104
* dns: The QCLASS is called IN, not IPKai Blin2011-09-281-6/+6
|
* s4-dns: when searching all partitions the NULL basedn is OKAndrew Tridgell2011-08-251-8/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-2/+2
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-061-1/+1
|
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-081-4/+4
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"Matthias Dieter Wallnöfer2011-04-291-1/+1
| | | | Reviewed-by: abartlet
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-291-1/+1
| | | | | | This is consistent with lock_path() Andrew Bartlett
* source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij2011-03-191-0/+2
|
* s4-dns: renamed DNS_TYPE_ZERO to DNS_TYPE_TOMBSTONEAndrew Tridgell2011-01-141-5/+5
| | | | | | we now know that these are tombstone records, with a timestamp Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:dns_server/dlz_bind9.c - initialise "ret" variablesMatthias Dieter Wallnöfer2011-01-121-2/+2
|
* dns: fixed dns record formatAndrew Tridgell2010-12-221-4/+9
| | | | | | | based on new WSPP docs from Bryan Burgin Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 22 04:45:46 CET 2010 on sn-devel-104
* s4-dns: set dwSerial and dwFlagsAndrew Tridgell2010-12-211-0/+7
| | | | | | | | | we are waiting on full docs on these, but this is better than zero Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Dec 21 12:05:51 CET 2010 on sn-devel-104
* s4-dns: fixed name comparison in bind9 moduleAndrew Tridgell2010-12-211-6/+21
| | | | | | we need to compare without the trailing '.' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: return the local hostname as the SOA authorityAndrew Tridgell2010-12-211-2/+19
| | | | | this is done by all DCs in the domain to ensure that updates go to the right place
* s4-dns: disable segfault handling in dlz_bind9Andrew Tridgell2010-12-211-0/+2
| | | | we don't want bind9 calling the Samba segv handler
* s4-dns: fixed a crash bug in dlz_bind9 codeAndrew Tridgell2010-12-211-2/+0
| | | | we need to keep el_ctx for the next part of the loop
* s4-dns: implemented parsing and storing of DNS records from bindAndrew Tridgell2010-12-152-46/+640
| | | | | | | DNS updates from nsupdate against our ldb SAM now work Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 15 12:36:46 CET 2010 on sn-devel-104
* s4-dns: added basic DLZ writeable support to dlz_bind9Andrew Tridgell2010-12-153-99/+448
| | | | | | | | | this implements the expanded DLZ update driver API, allowing for bind9 to send dynamic updates to the Samba DLZ driver. This change also adds support for exporting all DNS zones in the SAM database, which also means we now correctly separate the _msdcs zone from the main zone.
* s4-dns: dlz_bind9 doesn't need to link to gensec any moreAndrew Tridgell2010-12-081-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: use ldb hooks for samba extensions in dlz_bind9Andrew Tridgell2010-12-081-49/+35
| | | | | | | this avoids linking dlz_bind9 directly to heimdal, which allows a RTLD_DEEPBIND in ldb module loading to find the right kerberos version Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: allow a remote ldap server to be used with dlz_bind9Andrew Tridgell2010-12-082-16/+67
| | | | | | | | | this allows for configs like this: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so -H ldap://10.0.0.4 -Uadministrator@v2.tridgell.net%penguin -k no"; };
* s4-dns: return the correct TTLAndrew Tridgell2010-12-061-6/+2
| | | | | | | | I've now patched the bind9 sdlz layer to cope with multiple TTLS on a name/type pair Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 08:12:11 CET 2010 on sn-devel-104
* s4-dns: support Samba command line options to the dlz_bind.so moduleAndrew Tridgell2010-12-062-1/+36
| | | | this allows setting of Samba command line options in named.conf
* s4-dns: added flags support for dlz_bind9Andrew Tridgell2010-12-062-1/+4
| | | | | | this will allow us to set the THREADSAFE flag if we make this threadsafe. For now we don't set that flag, and let bind9 do the locking for us.
* s4-dns: a dlz module for bind9Andrew Tridgell2010-12-063-0/+579
| | | | | | | | | | | | | | | | | | | this module can be loaded into bind9 if bind9 has been built with the --with-dlz-dlopen option. It provides access bind9 access to the DNS records in SAMDB. You can then start bind9 with this in named.conf: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so"; }; See http://git.samba.org/tridge/bind9.git for a bind9 tree with the dlz_dlopen driver. See also the discussion on the bind-workers mailing list Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 05:48:30 CET 2010 on sn-devel-104
* s4:dns_server/dns_update.c - remove unreachable statementsMatthias Dieter Wallnöfer2010-11-291-2/+0
|
* s4/dns: Build as shared module.Jelmer Vernooij2010-11-151-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 15 00:57:27 UTC 2010 on sn-devel-104
* s4-server: make server sockets a child of the task contextAndrew Tridgell2010-11-151-1/+2
| | | | | | | | | | | | We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-071-1/+1
|
* s4-build: removed some unnecessary dependenciesAndrew Tridgell2010-10-301-1/+1
| | | | based on running waf --symbol-check
* s4-smbd: don't initialise process models more than onceAndrew Tridgell2010-10-301-1/+1
| | | | | | | | | this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-1/+1
|
* s4:dns_server - fix counter typesMatthias Dieter Wallnöfer2010-10-232-5/+3
|
* s4 dns: Implement update record prescan logicKai Blin2010-10-231-0/+37
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Oct 23 10:58:18 UTC 2010 on sn-devel-104
* s4 dns: Add stub checking if updates are allowedKai Blin2010-10-231-1/+9
|
* s4 dns: Add a prerequisites check for updatesKai Blin2010-10-231-2/+67
|
* s4 dns: Switch to WERRORKai Blin2010-10-235-98/+90
|
* s4 dns: Split up the code into multiple files for easier developmentKai Blin2010-10-236-372/+487
|