|
Lines 298-309
Link Here
|
| 298 |
# windows domain on dc master |
298 |
# windows domain on dc master |
| 299 |
if self.all_results.has_key( 'system_role' ) and self.all_results['system_role'] == 'domaincontroller_master': |
299 |
if self.all_results.has_key( 'system_role' ) and self.all_results['system_role'] == 'domaincontroller_master': |
| 300 |
|
300 |
|
| 301 |
# not longer than 14 chars |
301 |
# not longer than 15 chars |
| 302 |
if len(windows_domain.strip()) > 14: |
302 |
if len(windows_domain.strip()) > 15: |
| 303 |
if not self.ignore('windows_domain'): |
303 |
if not self.ignore('windows_domain'): |
| 304 |
if focus: |
304 |
if focus: |
| 305 |
self.move_focus( self.get_elem_id('IN_WINDOMAIN') ) |
305 |
self.move_focus( self.get_elem_id('IN_WINDOMAIN') ) |
| 306 |
return _("The length of the windows domain name is greater than 14 characters.") |
306 |
return _("The length of the windows domain name is greater than 15 characters.") |
| 307 |
|
307 |
|
| 308 |
# no . in windom |
308 |
# no . in windom |
| 309 |
if not windows_domain.find(".") == -1: |
309 |
if not windows_domain.find(".") == -1: |