#
#   global parameters
#
#       ipaddress    = 192.168.0.1              ; is the ip address where the server will be installed.
#       subnetmask   = 255.255.255.0            ; is the subnetmask odf the used network.
#       hostname     = MyComputer               ; is the comuter name which usees the NMB server to show the PC in the net.
#       workgroup    = WORKGROUP                ; is the workgroup which the PC belongs too.
#       passwords    = /etc/tinysmb/tinypasswd  ; is the path where the password will be stored
#       passwd_ckeck = yes                      ; should the passwords of the users be checked
#       force_user   = guest                    ; is the user name which the tinysmb process ueses
#       force_group  = guestgrp                 ; is the user group name which the tinysmb process ueses
#
#
#   share parameters
#
#       [name]                                  ; is the name of a share
#
#
#       path         = /user/xxxx               ; is the path of the share (%u is replaced with teh username)
#       comment      = "a comment text"         ; is the commenz for the share
#       allow        = root guest               ; are the users which have access to the share
#       deny         = root guest               ; are the users which didn'T have access to the share (don't use with 'allow')
#       all_users    = yes                      ; all users have acces to the share  (don't use with 'allow' or 'deny')
#       access       = rw|ro|vo                 ; set the acces rights for the user (rw=read write, ro=read only, vo=view only the shares)
#
#
#
#
#   sampel 1:
#
#       only the user 'test' have access to the /user/test path
#       but all other users can view the share 'test'.
#       If the share will be selected all other user can login with test/abc
#
#
#       tinysmb.conf:
#
#           ipaddress    = 192.168.0.1
#           subnetmask   = 255.255.255.0
#           hostname     = MyComputer
#           workgroup    = WORKGROUP
#           passwords    = /etc/tinysmb/tinypasswd
#           passwd_ckeck = yes
#
#
#       [test]
#
#           path         = /user/xxxx
#           allow        = test
#           access       = rw
#
#
#       [test]
#
#           path         = /user/test
#           all_users    = yes
#           access       = vo
#
#
#       tinypasswd
#
#           test:abc
#
#   sampel 2:
#
#       the users test,miller and smith get acces to thier own directory
#
#
#       tinysmb.conf:
#
#           ipaddress    = 192.168.0.1
#           subnetmask   = 255.255.255.0
#           hostname     = MyComputer
#           workgroup    = WORKGROUP
#           passwords    = /etc/tinysmb/tinypasswd
#           passwd_ckeck = yes
#
#
#       [test]
#
#           path         = /user/%u
#           allow        = test miller smith
#           access       = rw
#
#
#
#       tinypasswd:
#
#           test:abc
#           smith:abc
#           miller:abc
#
#
#   sampel 3:
#
#       all users have acces to /user/test
#
#
#       tinysmb.conf:
#
#           ipaddress    = 192.168.0.1
#           subnetmask   = 255.255.255.0
#           hostname     = MyComputer
#           workgroup    = WORKGROUP
#           passwords    = /etc/tinysmb/tinypasswd
#           passwd_ckeck = no
#
#
#       [test]
#
#           path         = /user/test
#           all_users    = yes
#           access       = rw
#
#
#
#       tinypasswd:
#
#