[global] workgroup = home server string = %h server (fs Samba) security = domain hide dot files = yes hosts allow = 127.0.0.1 127.0.1.1 192.168.1. passdb backend = tdbsam add machine script = /usr/sbin/useradd -d /dev/null -g samba-machines -c 'konto maszyny %I' -s /bin/false %u username map = /etc/samba/smbusers unix password sync = Yes log level = 3 name resolve order = wins bcast hosts domain logons = Yes domain master = Yes local master = Yes wins support = Yes dos file times = yes announce as = NT server idmap uid = 15000-20000 idmap gid = 15000-20000 admin users = root encrypt passwords = yes #szyfrowanie haseł logon home = %L%UNetlogon logon path = %L%UProfile logon script = logon.bat logon drive = N: nt pipe support = yes nt acl support = no unix password sync = Yes pam password change = Yes lanman auth = Yes #ntlm auth = no read raw = yes write raw = yes # buforowanie katalogów getwd cache = yes # buforowanie zapisu plików zdecydownaie poprawia predkosc time server = yes [home] comment = Home path = /home/samba/users/%U read only = No browsable = yes guest ok = no create mask = 0600 directory mask = 0700 [netlogon] comment = Network Logon Service path = /home/samba/netlogon browsable = no read only = yes public = no [profile] comment = User profiles path = /home/samba/profiles browsable = yes writable = yes create mask = 0600 directory mask = 0700 [Wspolny] comment = Wspolny path = /home/samba/allusers browsable = yes guest ok = yes read only = No public = yes [Muzyka] comment = Katalog z muzyka #komentarz path = /home/samba/muzyka #ścieżka na serwerze do katalogu browsable = yes #możliwy do przeszukiwania writable = yes #zapisywalny read only = no #tylko do odczytu force create mode = 0770 #wymuszamy tworzenie plików z odpowiednimi prawami force group = smbusers #wszystkie dodane pliki będą w grupie [fervi] path=/home/samba/users/fervi valid users = root, fervi guest ok = no read only = no