| Lines 717-722
          
      
      
        Link Here | 
        
          | 717 | 					name: 'start/join', | 717 | 					name: 'start/join', | 
        
          | 718 | 					label: _('Start join at the end of the installation'), | 718 | 					label: _('Start join at the end of the installation'), | 
        
          | 719 | 					value: true, | 719 | 					value: true, | 
            
              |  |  | 720 | 					disabled: !!this.ucr['umc/web/appliance/name'], | 
        
          | 720 | 					onChange: lang.hitch(this, function(value) { | 721 | 					onChange: lang.hitch(this, function(value) { | 
        
          | 721 | 						this.getWidget('credentials-nonmaster', '_ucs_autosearch_master').set('disabled', !value); | 722 | 						this.getWidget('credentials-nonmaster', '_ucs_autosearch_master').set('disabled', !value); | 
        
          | 722 | 						this.getWidget('credentials-nonmaster', '_ucs_address').set('disabled', !value || this.getWidget('credentials-nonmaster', '_ucs_autosearch_master').get('value')); | 723 | 						this.getWidget('credentials-nonmaster', '_ucs_address').set('disabled', !value || this.getWidget('credentials-nonmaster', '_ucs_autosearch_master').get('value')); | 
  
    | Lines 2172-2182
          
      
      
        Link Here | 
        
          | 2172 | 		_checkCredentials: function() { | 2173 | 		_checkCredentials: function() { | 
        
          | 2173 | 			var params = {role: this._getRoleForDomainChecks(true)}; | 2174 | 			var params = {role: this._getRoleForDomainChecks(true)}; | 
        
          | 2174 | 			lang.mixin(params, this._getCredentials()); | 2175 | 			lang.mixin(params, this._getCredentials()); | 
          
            
              | 2175 | 			return this.standbyDuring(this.umcpCommand('setup/check/credentials', params).then(function(data) { | 2176 | 			return this.umcpCommand('setup/check/credentials', params).then(function(data) { | 
        
          | 2176 | 				return data.result; | 2177 | 				return data.result; | 
          
            
              | 2177 | 			})); | 2178 | 			}); | 
        
          | 2178 | 		}, | 2179 | 		}, | 
        
          | 2179 |  | 2180 |  | 
            
              |  |  | 2181 | 		_domainHasActivatedLicense: function () { | 
            
              | 2182 | 			var credentials = this._getCredentials(); | 
            
              | 2183 | 			return this.umcpCommand('setup/check/license', credentials).then(function(data) { | 
            
              | 2184 | 				return data.result; | 
            
              | 2185 | 			}); | 
            
              | 2186 | 		}, | 
            
              | 2187 |  | 
        
          | 2180 | 		_getCredentials: function() { | 2188 | 		_getCredentials: function() { | 
        
          | 2181 | 			var address, username, password, dns; | 2189 | 			var address, username, password, dns; | 
        
          | 2182 | 			var isAdMember = this._isAdMember(); | 2190 | 			var isAdMember = this._isAdMember(); | 
  
    | Lines 2391-2401
          
      
      
        Link Here | 
        
          | 2391 | 			} | 2399 | 			} | 
        
          | 2392 |  | 2400 |  | 
        
          | 2393 | 			if (pageName == 'credentials-ad' || pageName == 'credentials-nonmaster') { | 2401 | 			if (pageName == 'credentials-ad' || pageName == 'credentials-nonmaster') { | 
          
            
              | 2394 | 				return this._checkCredentials().then(lang.hitch(this, function(domain) { | 2402 | 				return this.standbyDuring(this._checkCredentials().then(lang.hitch(this, function(domain) { | 
        
          | 2395 | 					var msg = ''; | 2403 | 					var msg = ''; | 
        
          | 2396 | 					this._domainName = null; | 2404 | 					this._domainName = null; | 
        
          | 2397 | 					if (typeof domain == 'string') { | 2405 | 					if (typeof domain == 'string') { | 
        
          | 2398 | 						this._domainName = domain; | 2406 | 						this._domainName = domain; | 
            
              |  |  | 2407 | 						if (this.ucr['umc/web/appliance/name'] && pageName == 'credentials-nonmaster') { | 
            
              | 2408 | 							return this._domainHasActivatedLicense().then(lang.hitch(this, function(data) { | 
            
              | 2409 | 								if (!data) { | 
            
              | 2410 | 									msg = _('App Appliance could not be joined because the license on the DC Master is not activated.'); | 
            
              | 2411 | 									nextPage = pageName; | 
            
              | 2412 | 									dialog.alert(msg); | 
            
              | 2413 | 								} | 
            
              | 2414 | 								return this._forcePageTemporarily(nextPage); | 
            
              | 2415 | 							})); | 
            
              | 2416 | 						} | 
        
          | 2399 | 					} else if (domain === false) { | 2417 | 					} else if (domain === false) { | 
        
          | 2400 | 						msg = _('Connection refused. Please recheck the password'); | 2418 | 						msg = _('Connection refused. Please recheck the password'); | 
        
          | 2401 | 						nextPage = pageName; | 2419 | 						nextPage = pageName; | 
  
    | Lines 2414-2420
          
      
      
        Link Here | 
        
          | 2414 | 					} | 2432 | 					} | 
        
          | 2415 |  | 2433 |  | 
        
          | 2416 | 					return this._forcePageTemporarily(nextPage); | 2434 | 					return this._forcePageTemporarily(nextPage); | 
          
            
              | 2417 | 				})); | 2435 | 				}))); | 
        
          | 2418 | 			} | 2436 | 			} | 
        
          | 2419 |  | 2437 |  | 
        
          | 2420 | 			if (nextPage == 'software') { | 2438 | 			if (nextPage == 'software') { |