Verified Commit 2d3d2159 authored by Marco Marinello's avatar Marco Marinello
Browse files

Start working on windows roaming profile implementation

parent d304f96f
......@@ -158,28 +158,29 @@
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set
#
{% if roaming_profile is defined and roaming_profile %}
# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
# logon path = \\%N\%U\profile
logon path = \\%N\profile
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U
# logon drive = H:
logon home = \\%N\%U
# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd
{% else %}
# we explicitly disable profiles
logon path =
logon home =
{% endif %}
# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
......@@ -201,10 +202,6 @@
domain master = yes
preferred master = yes
os level = 65
# we explicetly disable profiles
logon path =
logon home =
##
......@@ -254,11 +251,6 @@
# Windows 10 compatibility
server max protocol = NT1
# we explicetly disable profiles
logon path =
logon home =
#======================= Share Definitions =======================
[homes]
......@@ -284,26 +276,37 @@
# This might need tweaking when using external authentication schemes
valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = {{samba_dir}}/netlogon
; guest ok = yes
; read only = yes
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = {{samba_dir}}/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
{% if roaming_profile is defined and roaming_profile %}
[netlogon]
comment = Network Logon Service
path = {{samba_dir}}/netlogon
guest ok = yes
read only = yes
[profile]
comment = profile
browseable = no
read only = no
create mask = 0700
directory mask = 0700
valid users = %U
path = %H/.winprofile
follow symlinks = yes
wide links = yes
unix extensions = no
[profile.V6]
comment = profile
browseable = no
read only = no
create mask = 0700
directory mask = 0700
valid users = %U
path = %H/.winprofile
follow symlinks = yes
wide links = yes
unix extensions = no
{% endif %}
[printers]
comment = All Printers
......@@ -331,7 +334,7 @@
#======================= Other Share Definitions =======================
{% if samba_data_share is defined and samba_data_share%}
{% if samba_data_share is defined and samba_data_share %}
# public share for client data
[client-data]
path = {{samba_data_share}}
......
......@@ -44,3 +44,4 @@ e2_workers: 1024
chilli_range_split: yes
home_cleanup_time_hour: 22
home_cleanup_time_minute: 0
roaming_profile: no
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment