Univention Bugzilla – Attachment 8010 Details for
Bug 36089
Add "name resolve order" to smb.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Set "name resolve order" in smb.conf via new ucr variable samba/name/resolve/order
36089-smb-conf-resolve-order-ucr-variable.diff (text/plain), 2.15 KB, created by
Lukas Oyen
on 2016-09-15 09:28 CEST
(
hide
)
Description:
Set "name resolve order" in smb.conf via new ucr variable samba/name/resolve/order
Filename:
MIME Type:
Creator:
Lukas Oyen
Created:
2016-09-15 09:28 CEST
Size:
2.15 KB
patch
obsolete
>diff --git services/univention-samba4/conffiles/etc/samba/smb.conf.d/10global services/univention-samba4/conffiles/etc/samba/smb.conf.d/10global >index 0791411..720ff25 100644 >--- services/univention-samba4/conffiles/etc/samba/smb.conf.d/10global >+++ services/univention-samba4/conffiles/etc/samba/smb.conf.d/10global >@@ -15,9 +15,11 @@ else: > samba4_role = configRegistry.get('samba4/role') > if samba4_role in ('DC', 'RODC'): > print '\tserver role\t= active directory domain controller' >+ print '\tname resolve order\t=', configRegistry.get('samba/name/resolve/order', 'wins host bcast') > elif samba4_role == 'MEMBER': > print '\tserver role\t= member server' > print '\tsecurity\t= ads' >+ print '\tname resolve order\t=', configRegistry.get('samba/name/resolve/order', 'wins bcast') > > samba_serverstring = configRegistry.get('samba/serverstring', 'Univention Corporate Server') > print '\tserver string\t=', samba_serverstring >diff --git services/univention-samba4/debian/univention-samba4.univention-config-registry-variables services/univention-samba4/debian/univention-samba4.univention-config-registry-variables >index 05ceb46..97b0e3c 100644 >--- services/univention-samba4/debian/univention-samba4.univention-config-registry-variables >+++ services/univention-samba4/debian/univention-samba4.univention-config-registry-variables >@@ -505,3 +505,9 @@ Description[de]=Ãber diese Variable lässt sich die Samba Option "server signin > Description[en]=This variable can be used to adjust the Samba option "server signing" (see man smb.conf). > Type=str > Categories=service-samba >+ >+[samba/name/resolve/order] >+Description[de]=Ãber diese Variable lässt sich die Samba Option "name resolve order" anpassen (siehe man smb.conf). Ist die Rolle als DC oder RODC konfiguriert, ist der UCS default "wins host bcast". Ist die Rolle MEMBER, wird als Standardwert "wins bcast" verwendet. >+Description[en]=This variable can be used to adjust the Samba option "name resolve order" (see man smb.conf). If the role is configured as DC or RODC, the UCS default is "wins host bcast". If the role MEMBER is configured, "wins bcast" is the default value. >+Type=str >+Categories=service-samba >\ No newline at end of file
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 36089
:
8009
| 8010