|
0 |
-- a/ucs/services/univention-samba/conffiles/etc/samba/base.conf |
0 |
++ b/ucs/services/univention-samba/conffiles/etc/samba/base.conf |
Lines 62-68
if configRegistry['samba/share/groups']=='yes':
|
Link Here
|
---|
|
62 |
if configRegistry.is_true('samba/share/netlogon', True): |
62 |
if configRegistry.is_true('samba/share/netlogon', True): |
63 |
print '[netlogon]' |
63 |
print '[netlogon]' |
64 |
print '\tcomment = Domain logon service' |
64 |
print '\tcomment = Domain logon service' |
65 |
print '\tpath = /var/lib/samba/netlogon' |
65 |
print '\tpath = %s' % configRegistry.get('samba/share/netlogon/path', '/var/lib/samba/netlogon') |
66 |
print '\tpublic = no ' |
66 |
print '\tpublic = no ' |
67 |
print '\tpreserve case = yes' |
67 |
print '\tpreserve case = yes' |
68 |
print '\tcase sensitive = no' |
68 |
print '\tcase sensitive = no' |
69 |
-- a/ucs/services/univention-samba4/conffiles/etc/samba/base.conf |
69 |
++ b/ucs/services/univention-samba4/conffiles/etc/samba/base.conf |
|
4 |
if configRegistry.is_true('samba/share/netlogon', True): |
4 |
if configRegistry.is_true('samba/share/netlogon', True): |
5 |
print '[netlogon]' |
5 |
print '[netlogon]' |
6 |
print '\tcomment = Domain logon service' |
6 |
print '\tcomment = Domain logon service' |
7 |
print '\tpath = /var/lib/samba/sysvol/%s/scripts' % configRegistry.get('kerberos/realm', '').lower() |
7 |
default_netlogon_path = '/var/lib/samba/sysvol/%s/scripts' % configRegistry.get('kerberos/realm', '').lower() |
|
|
8 |
print '\tpath = %s' % configRegistry.get('samba/share/netlogon/path', default_netlogon_path) |
8 |
if configRegistry.get('samba4/service/smb', 'smbd') in ('smbd', 's3fs'): |
9 |
if configRegistry.get('samba4/service/smb', 'smbd') in ('smbd', 's3fs'): |
9 |
print '\tpublic = no ' |
10 |
print '\tpublic = no ' |
10 |
print '\tpreserve case = yes' |
11 |
print '\tpreserve case = yes' |