[global]
; netbios name = Bruni
server string = Samba file and print server
- workgroup = workgroup
+ workgroup = HENNIG
+ client min protocol = SMB2
+ client max protocol = SMB3
security = user
+ idmap config * : backend = tdb
+ idmap config * : range = 1000000-1999999
+ idmap config HENNIG : backend = rid
+ idmap config HENNIG : range = 10000 - 49999
+ idmap config MicrosoftAccount : backend = rid
+ idmap config MicrosoftAccount : range = 10000 - 49999
+
; hosts allow = 127. 192.168.0.
; interfaces = 127.0.0.1/8 192.168.0.0/24
; bind interfaces only = yes
; domain logons = no
os level = 33
#logging = syslog@2 file
- log level = 5
+ log level = 3 passdb:10 auth:10
logon drive = m:
logon home = \\%L\homes\%u
logon path = \\%L\profiles\%u
logon script = %G.bat
; time server = no
name resolve order = wins lmhosts bcast
-; wins support = no
+ wins support = yes
; wins proxy = no
dns proxy = no
; preserve case = yes
passwd chat timeout = 120
; hostname lookups = no
username map = /etc/samba/smbusers
-; passdb backend = tdbsam
+ passdb backend = tdbsam
passwd program = /usr/bin/passwd '%u'
passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
# Unix_name = SMB_Name1 SMB_Name2 ...
root = Administrator admin
nobody = guest smbguest pcguest
-frank = frank [MicrosoftAccount]\[frank]@[XENA] [MicrosoftAccount]\[frank]
+#frank = frank [MicrosoftAccount]\[frank]@[XENA] [MicrosoftAccount]\[frank]