TODO improve pdb_samba_dsdb_get_trusteddom_creds
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Feb 2017 16:52:08 +0000 (17:52 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 12:38:24 +0000 (13:38 +0100)
source3/passdb/pdb_samba_dsdb.c

index 0753d38b5f68022b16d143dac8856f37c90521dc..b71be66fa1579ac9d51f4fbb8d67ad9239afa144 100644 (file)
@@ -2597,6 +2597,12 @@ static NTSTATUS pdb_samba_dsdb_get_trusteddom_creds(struct pdb_methods *m,
        cli_credentials_set_password_last_changed_time(creds, last_set_time);
        cli_credentials_set_kvno(creds, password_version);
 
+       /*
+       switch (trust_type) {
+       case LSA_TRUST_TYPE_DOWNLEVEL:
+       case LSA_TRUST_TYPE_UPLEVEL:
+               break;
+       */
        if (password_utf16.length > 0 && dns_domain != NULL) {
                /*
                 * Force kerberos if this is an active directory domain