# # Generated by /usr/local/samba/modify_samba_config.pl # [global] idmapconfigalldomains:backend = tdb logonhome = \\%L\%U\.profiles addsharecommand = /usr/local/samba/modify_samba_config.pl deletesharecommand = /usr/local/samba/modify_samba_config.pl maxlogsize = 0 usernamemap = /etc/samba/smbusers idmapconfigalldomains:range = 10000 - 50000 addmachinescript = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false -g machines "%u" deleteuserscript = /usr/sbin/userdel "%u" domainlogons = Yes idmapdomains = ALLDOMAINS winbindnestedgroups = yes logfile = /var/log/samba/%m.log preferredmaster = Yes winsproxy = Yes logondrive = H: addusertogroupscript = /usr/bin/gpasswd -a "%u" "%g" workgroup = NZHH idmapallocconfig:range = 10000 - 50000 domainmaster = Yes winbindusedefaultdomain = yes addgroupscript = /usr/sbin/groupadd "%g" idmapallocbackend = tdb deleteuserfromgroupscript = /usr/bin/gpasswd -d "%u" "%g" enableprivileges = yes loglevel = 10 adduserscript = /usr/sbin/useradd "%u" -n -g domusers interfaces = lo, eth0 hostsallow = 127., 192.168.43., 192.168.42. winbindenumgroups = Yes passdbbackend = tdbsam:/etc/samba/passdb.tdb deletegroupscript = /usr/sbin/groupdel "%g" cupsoptions = raw winssupport = Yes logonpath = \\%L\Profiles\%U idmapconfigalldomains:default = yes serverstring = Samba Server Version %v winbindenumusers = yes oslevel = 33 ## Section - [share3] [share3] read only = No comment = path = /home/samba/share3 max connections = 0 ## Section - [share1] [share1] readonly = No comment = share1 Testing perl script maxconnections = 100 path = /home/samba/share1 ## Section - [share2] [share2] comment = share2 Testing perl script maxconnections = 100 path = /home/samba/share2 ## Section - [netlogon] [netlogon] readonly = yes sharemodes = No browseable = No comment = Network Logon Service path = /var/lib/samba/netlogon guestok = Yes ## Section - [homes] [homes] readonly = No browseable = No comment = Home Directories ## Section - [profiles] [profiles] directorymask = 0700 createmask = 0600 readonly = no path = /var/lib/samba/profiles # # end of generated smb.conf #