summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/dns.c3
-rw-r--r--source3/libads/util.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/libads/dns.c b/source3/libads/dns.c
index 0797eb1156..1765f95ca0 100644
--- a/source3/libads/dns.c
+++ b/source3/libads/dns.c
@@ -506,9 +506,10 @@ static NTSTATUS ads_dns_lookup_srv( TALLOC_CTX *ctx,
if (rr.type != T_A || rr.rdatalen != 4) {
#if defined(HAVE_IPV6)
- /* FIXME. RFC2874 defines A6 records. This
+ /* RFC2874 defines A6 records. This
* requires recusive and horribly complex lookups.
* Bastards. Ignore this for now.... JRA.
+ * Luckily RFC3363 reprecates A6 records.
*/
if (rr.type != T_AAAA || rr.rdatalen != 16)
#endif
diff --git a/source3/libads/util.c b/source3/libads/util.c
index 2c7ccfebd6..9dcb906a37 100644
--- a/source3/libads/util.c
+++ b/source3/libads/util.c
@@ -26,7 +26,7 @@ ADS_STATUS ads_change_trust_account_password(ADS_STRUCT *ads, char *host_princip
char *password;
char *new_password;
ADS_STATUS ret;
- uint32 sec_channel_type;
+ enum netr_SchannelType sec_channel_type;
if ((password = secrets_fetch_machine_password(lp_workgroup(), NULL, &sec_channel_type)) == NULL) {
DEBUG(1,("Failed to retrieve password for principal %s\n", host_principal));