smb.conf (a little help please)

hbrhodes hbrhodes at gmail.com
Fri Jul 28 01:28:04 UTC 2006


i have been trying to get this working for hours.  i have finally gotten 
the file to allow me to get to the samba server from a windows machine, 
however, the thing won't let me write.  Can i get some help please?  
i've tried the howto's and i think my brain is shutting down.  i've 
tried trimming down the useless entries to what i have changed.

#======================= Global Settings 
=====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = RHODES

# server string is the equivalent of the NT Description field
   server string = Samba Server

# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
;   security = user
   security = user

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168.100.103 192.168.100.102 192.168.100.101 
192.168.100.100

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /usr/local/samba/var/%m.log

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
;   passdb backend = tdbsam
;   passdb backend = /etc/samba/smbpasswd

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
   dns proxy = no

# These scripts are used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
;  add user script = /usr/sbin/useradd %u
;  add group script = /usr/sbin/groupadd %g
;  add machine script = /usr/sbin/adduser -n -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


#============================ Share Definitions 
==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

[R2314]
        comment = public files
        path = /misc/R2314
        writeable = yes
        read only = no
        browseable = yes
        public = no
        printable = no
        valid users = hbrhodes, klrhodes
        create mask = 0765



-- 
bentley rhodes		| Southeast Missouri University





More information about the fedora-list mailing list