linux:slackware

[global]
   workgroup = TEST1
   netbios name = SLX1
   server string = Samba Server
   security = user
   load printers = yes
   guest account = pcguest
   log file = /var/log/samba.%m
   max log size = 50
   passdb backend = tdbsam
   local master = yes
   os level = 97
   domain master = yes 
   preferred master = yes
   domain logons = yes
   logon script = logon.bat
   logon path = \\%L\%U\.profil\%a
   logon drive = w:
   logon home = \\%L\%U
   hide files = /.*/
   wins support = yes
   dns proxy = no 
   add user script = /usr/sbin/useradd %u
   add group script = /usr/sbin/groupadd %g
   add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false %u
   delete user script = /usr/sbin/userdel %u
   delete user from group script = /usr/sbin/deluser %u %g
   delete group script = /usr/sbin/groupdel %g

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   vfs objects = recycle
   vfs recycle:repository = .recycle

[netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = yes
   writable = no
   write list = marcin

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

[publiczny]
    path = /home/samba/publiczny
    public = yes
    writeable = yes
    force user = pcguest
    vfs objects = recycle audit
    vfs recycle:repository = .recycle
    vfs recycle:keeptree = yes

[ksiegowosc]
    path = /home/samba/ksiegowosc
    writeable = yes
    force create mode = 0660
    create mask = 0660
    force directory mode = 0770
    directory mask = 0770
    valid users = @ksiegowosc
    #mkdir /home/samba/ksiegowosc
    #chmod 2770 /home/samba/ksiegowosc