summaryrefslogtreecommitdiff
path: root/source4/dns_server
AgeCommit message (Collapse)AuthorFilesLines
2012-04-29dns server: move very verbose debug to higher level 2 -> 8Matthieu Patou1-4/+4
2012-04-22dlz_bind9: Also produce and install binary plugin for bind 9.9Andrew Bartlett1-1/+1
Thanks to Alexander Bokovoy <ab@samba.org> for the fix! Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Apr 22 10:51:57 CEST 2012 on sn-devel-104
2012-04-16dlz_bind9: Build shared libraries for both BIND versions 9.8 and 9.9Amitay Isaacs3-0/+28
This adds #define BIND_VERSION_9_8 and keeps the current version as 9.9, so shared libraries can be built for both BIND versions.
2012-04-16dlz_bind9: changes to make dlz_bind9 work with BIND 9.9.0Amitay Isaacs2-22/+53
The main changes are: DLZ_DLOPEN_VERSION changed from 1 to 2 isc_boolean_t changed from bool to int dlz_lookup() now takes 2 additional arguments
2012-03-30s4 dns: Allow updating PTR records.Kai Blin1-0/+4
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Mar 30 19:26:52 CEST 2012 on sn-devel-104
2012-03-27s4 dns: Only do recursive queries when allowed/desiredKai Blin1-7/+26
If recursive queries are switched off in smb.conf or the client doesn't ask for recursion, don't recurse. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 27 17:39:26 CEST 2012 on sn-devel-104
2012-03-27s4 dns: Check smb.conf if we should allow recursionKai Blin1-2/+3
2012-03-27s4 dns: Allow changing the dns operation flags in handlersKai Blin4-5/+23
2012-03-27s4 dns: Only forward for zones we don't ownKai Blin3-2/+33
2012-03-27s4 dns: Forward questions we can't answer to another serverKai Blin2-7/+80
This makes use of libdns and currently hardcodes the forward server, but it works. :)
2012-03-11s4 dns: Test deleting records and fix a small buKai Blin1-0/+4
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sun Mar 11 02:27:45 CET 2012 on sn-devel-104
2012-03-11s4 dns: Be less chatty during testsKai Blin1-4/+6
2012-03-11s4 dns: Support TXT updates, add testsKai Blin1-8/+29
2012-03-11s4 dns: Support TXT queriesKai Blin1-0/+11
2012-03-09s4 dns: Add support for PTR queries.Kai Blin1-1/+5
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Mar 9 12:27:38 CET 2012 on sn-devel-104
2012-03-08dlz_bind9: Log Samba DEBUG() messages to the bind9 logsAndrew Bartlett1-2/+29
2012-03-06s4 dns: Fix TCP handling in the DNS serverKai Blin1-13/+13
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Mar 6 21:17:19 CET 2012 on sn-devel-104
2012-03-01dlz_bind9: Match PTR records as DNS names and not just stringsAmitay Isaacs1-1/+1
This fixes the dynamic update of PTR records. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Mar 1 15:58:05 CET 2012 on sn-devel-104
2012-03-02s4-dns: Fix handling of TXT DNS RecordAmitay Isaacs2-3/+21
2012-03-02dlz_bind9: Fix handling of TXT records with multiple quoted stringsAmitay Isaacs1-4/+33
2012-03-02dlz_bind9: This fixes the problem with adding/deleting rdatasetAmitay Isaacs1-11/+16
Fix commit 169db333033b72b6f9ac1e7b23f0f2c151218c1f. This change allowed for LDB records without dnsRecord attribute to exist to prevent large number of deleted records. This change fixes the handling of missing dnsRecord attribute and correctly deleting dnsRecord attribute.
2012-02-21dlz_bind9: Fix the log message levelAmitay Isaacs1-5/+5
2012-02-21dlz_bind9: Do not remove LDB record in subrdataset and delrdatasetAmitay Isaacs1-13/+8
This fixes the problem of large number of deleted records in DNS partitions due to frequent dynamic dns updates from windows clients. The typical pattern for dynamic update get converted into subrdataset() followed by addrdataset(). If there are no dnsRecord attributes left as a result of sub/delrdataset(), leave the LDB entry for dns name as is. The subsequent addrdataset() would add the dnsRecord attribute without re-creating the same entry.
2012-01-25dlz_bind9: for authenticated user, set the AUTHENTICATED USERS sid in tokenAmitay Isaacs1-0/+5
2012-01-04dlz_bind9: create session info from PAC using auth contextAmitay Isaacs1-7/+59
This fixes the creation of session info from PAC, after changes in gensec code. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Jan 4 01:59:09 CET 2012 on sn-devel-104
2011-12-17s4 dns: Allow updates based on smb.conf settingKai Blin2-2/+29
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Sat Dec 17 04:19:40 CET 2011 on sn-devel-104
2011-12-17s4 dns: Add some debug outputKai Blin1-0/+3
2011-12-17s4 dns: Actually handle the update requestKai Blin3-0/+383
2011-12-17s4 dns: Implement RFC-compatible update prescanKai Blin1-3/+37
2011-12-17s4 dns: Update prerequisite checking conforming to RFCKai Blin3-42/+234
2011-12-17s4 dns: Move record lookup to dns_utils.cKai Blin3-36/+58
2011-12-17s4 dns: Implement dns record comparison functionKai Blin2-0/+57
2011-12-17s4 dns: Implement dns name equality checkKai Blin2-0/+10
2011-12-17s4 dns: Fix some typos in comments and a whitespaceKai Blin1-3/+3
2011-12-09s4 dns: Update requests with QCLASS != IN or ALL trigger NOTIMPLEMENTED errorsKai Blin1-0/+5
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Dec 9 03:32:28 CET 2011 on sn-devel-104
2011-12-09s4 dns: More explicitly use the first question of an update packet onlyKai Blin1-1/+1
2011-12-09s4 dns: Get rid of const qualifier for prereqs, we do need to allocate thoseKai Blin2-6/+6
2011-12-07s4-dns Use match-by-key in GSSAPI server if principal is not specifiedAndrew Bartlett1-22/+5
This allows dlz_bind9 to match on exactly the same key as bind9 itself Andrew Bartlett Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Dec 7 02:20:10 CET 2011 on sn-devel-104
2011-12-07dlz_bind9: Add command line options for URL and debugAmitay Isaacs2-9/+28
To specify debug level, use -d <level> in named.conf. To specify sam db, use -H <path/to/sam.ldb> in named.conf. The default log level is set to 0. The log level specified in smb.conf is not used. To set log level, use -d option.
2011-12-07dlz_bind9: Set debugging output to stderrAmitay Isaacs1-0/+3
2011-12-07dlz_bind9: Use client supplied credentials for DNS record updateAmitay Isaacs1-0/+79
This creates the DNS records with correct owner and group settings.
2011-12-07dlz_bind9: For creating a child entry, use only SEC_ADS_CREATE_CHILDAmitay Isaacs1-1/+1
The member servers in AD do not have access to modify the parent, but do have access to create child DNS records.
2011-11-29dlz_bind9: Added access check to verify dynamic updateAmitay Isaacs2-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>
2011-11-29dlz_bind9: Use the sam database in dns/ as defaultAmitay Isaacs2-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.
2011-11-17s4 dns: Reduce test output noise by upping log level for dns_name_packet loggingKai Blin1-3/+6
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Nov 17 20:10:05 CET 2011 on sn-devel-104
2011-11-04s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin1-1/+1
2011-11-04s4 dns: Handle QCLASS_NONE queriesKai Blin1-0/+5
2011-11-04s4 dns: Support DNS_QTYPE_ALL queriesKai Blin1-109/+59
2011-10-27s4:wscript - install the two missing files "dlz_bind9.so" and "named.conf.dlz"Geza Gemes1-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
2011-10-17s4:dlz_bind9: add no memory checksStefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 17 14:07:25 CEST 2011 on sn-devel-104