Univention Bugzilla – Attachment 7370 Details for
Bug 40212
UMC System Setup AD-Connection should enforce hostname < 16 characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
40212.patch (text/plain), 1.34 KB, created by
Florian Best
on 2015-12-14 17:54:05 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2015-12-14 17:54:05 CET
Size:
1.34 KB
patch
obsolete
>diff --git a/base/univention-system-setup/umc/python/setup/__init__.py b/base/univention-system-setup/umc/python/setup/__init__.py >index bf9ca8d..8e0936f 100644 >--- a/base/univention-system-setup/umc/python/setup/__init__.py >+++ b/base/univention-system-setup/umc/python/setup/__init__.py >@@ -391,7 +391,7 @@ def _append(key, message): > # host and domain name > packages = set(values.get('components', [])) > _check('hostname', util.is_hostname, _('The hostname or the hostname part of the fully qualified domain name is invalid. Please go back to the host setting and make sure, that the hostname only contains letter (a-zA-Z) and digits (0-9).')) >- _check('hostname', lambda x: len(x) <= 13, _('A valid NetBIOS name can not be longer than 13 characters. If Samba is installed, the hostname should be shortened.'), critical=('univention-samba' in packages or 'univention-samba4' in packages)) >+ _check('hostname', lambda x: len(x) <= 13, _('A valid NetBIOS name can not be longer than 13 characters. If Samba is installed, the hostname should be shortened.'), critical=(admember or 'univention-samba' in packages or 'univention-samba4' in packages)) > _check('domainname', util.is_domainname, _("Please enter a valid fully qualified domain name (e.g. host.example.com).")) > hostname = allValues.get('hostname', '') > domainname = allValues.get('domainname', '')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40212
:
7361
|
7370
|
7371