Newbie Samba Question

bwagner at ids-world.com bwagner at ids-world.com
Mon Oct 16 20:41:29 GMT 2000


I'm trying to get a RISC 6000 up and running on SAMBA.  Here is my smb.comf
file:

# This is the main File Services from Samba configuration file.
# You should read and understand the comments relating to the options.
# This file has a large number of configurable options all of which
# are supported by comments and examples. These options are grouped
# into two categories, Global, that affect all Shares and Local that
# affect only the Shares they are applied to.

# This file consists of 3 sections, Global, Homes, Shares and their
# appropriate options. A section begins with the name of the section
# in square brackets and continues until the next section. The
# sections contain options in the form "option = value". Section
# names and options are not case sensitive however case is preserved
# in string values.

# Any line which starts with a ; (semi-colon) or a # (hash) is treated
# as a comment and is ignored. We use a ; for options in this file
# that you you may wish to enable and a # for commentary.

# NOTE: Whenever you modify this file you should run the "testparm"
# command to check that you have not made any basic syntactic errors.

# ======================= Global Section =========================
# NOTE: Any options configured in this section will apply globally

[global]

# This option specifies the domain or workgroup this server will
# belong to.

workgroup = WORKGROUP

# This option specifies the string to use for the description of
# this server.

server string = File Services from Samba v1.9.18p2

# This option specifies the netbios name of this server.

netbios name = idsrisc

# This option specifies the netbios name aliases of this server.

netbios aliases = Idsrisc IDSRISC

# This option allows you to restrict connections from machines
# which are on the networks specified.
# This example restricts access to two class C networks only

hosts allow = 172.

# This option allows you to deny connections from machines which
# are on the networks specified.
# This example denies access to a class C network

;   hosts deny = 193.145.61.

# This option specifies one or more network interfaces to
# participate on. If this option is not used the server
# will use the default interface.

; interfaces = 192.168.10.2/255.255.255.0 192.168.20.2/255.255.255.0

# This option specifies the amount of time, in minutes a client
# can stay connected with no activity or files open.

;   dead time = 15

# This option allows or disallows the use of a guest account.
# The name you specify must exist or the user "nobody" will be
# used to identify the user logging in as a guest user.

;   guest account = jsbguest

# This option is used to specify the location for the log file
# that is created by this server.
# This example sets the log file location to "/usr/local/samba/var"
# and the %m in the filename will be substituted for the netbios
# machine name of the connecting machine. By using this substitution
# a separate log file can be created for each machine connecting to
# this server.

log file = /usr/local/samba/var/log.%m

# This option is used in conjunction with "log file" above, the
# value stated here determines the maximum size, (in Kb) the log
# file may grow to.

max log size = 50

# This option specifies the level of debugging and consequently
# the amount of information written to the log file.

;   debug level = 3

# This option specifies whether the logging of connections is
# enabled or disabled.

status = yes

# This option allows you to customise your configuration on a per
# machine basis. When a machine connects the contents of the
# appropriate configuration file are included into the this file.
# The %m gets substituted with the netbios name of the machine
# that is connecting.

;   include = /usr/local/samba/lib/smb.conf.%m

# This option is used in conjunction with "max connections" option
# and specifies the location of the lock files.

;   lock directory = /usr/local/samba/var

# Most people will find that this option gives better performance.

socket options = TCP_NODELAY

# This option specifies the largest packet size that maybe
# negotiated.

;   max xmit = 65535

# This option specifies whether this server will support raw writes
# when transferring data from clients.

Write raw = yes

# This option specifies the file location of the file that lists
# Unix users and SMB users which is used to map to Unix users to
# different SMB User names.

username map = /usr/local/samba/lib/users

# This option specifies whether new files should be created with
# the case supplied by the client or whether the default case
# should be used.
# NOTE: This can be set on a per share basis.

preserve case = no

# This option specifies whether new files that conform to 8.3,
# that is, all in uppercase and of a suitable length are created
# in uppercase or whether they are forced to use the default case.
# NOTE: This can be set on a per share basis.

short preserve case = no

# This option specifies what the default case is for new filenames.
# NOTE: This can be set on a per share basis.

default case = lower

# This option specifies whether this server is case sensitive when
# dealing with filenames.
# NOTE: This can be set on a per share basis.

case sensitive = no

# This option specifies the type of security that will be used.

security = share

# This options specifies if null passwords are allowed or not.

null passwords = yes

# This option specifies the Password Level. This is the amount
# of characters to use for the matching of all combinations of
# upper and lower case.

password level = 8

# This option specifies that this server will become the
# Master Browser.

;   local master = no

# This option specifies that this server is the preferred choice
# during browser elections. We recommend this option is not set
# to anything other than "no".

preferred master = no

# OS Level determines the precedence of this server in master
# browser elections. The default value should be reasonable.

;   os level = 33

# This option specifies the name of the Windows NT PDC.

;   domain controller = <NT-Domain-Controller-SMBName>

# This option specifies that this server will become a WINS
# client.

wins server = 172.

#===================== Share options ======================
# This option specfies whether the share is seen in browse
# lists.

browsable = yes

# This option specfies what comments are seen in browse lists.

#   comments = Add your comments here

# This option specfies the file creation mask used.

#   create mask = 0744

# This option specfies that readonly files maybe deleted, this
# is normal for Unix but not for DOS.

#   delete readonly = no

# This option specfies a list of hosts that are specifically
# denied access to the share. The entries should be separated
# by commas.

#   hosts deny = 192.142.162.70

# This option specfies a list of hosts that are specifically
# allowed access to the share. The entries should be separated
# by commas.

hosts allow = 172.

# This option specfies what directory mask should be used.

#   directory mask = 0755

# This option specfies what mask will be used by files created
# by this server.

#   force create mode = 0755

# This option specfies what mask will be used by directories
# created by this server.

#   force directory mode = 0755

# This option specfies whether non-DOS filesnames should be
# mapped to DOS compatible filenames.

#   mangled names = no

# This option specfies how many concurrent connections are
# allowed to the share.

#   max connections = 5

# This option specfies that new filesnames are created with
# the case the client passes, or if they are forced to be the
# default case.

#   preserve case = no

# This option specfies that no password is needed to connect
# to this share.

public = no

# This option specfies the list of users who have readonly
# access to the share.

#   read list = fred, @group

# This option specfies whether this server will check for locks
# for every read or write.

#   strict locking = no

# This option specfies the list of users who are allowed to use
# the share.

#   valid users = fred, @group

# This option specfies whether the user has permission to create
# or modify in the share.

writable = no

# This option specfies the users who have the right to create and
# modify files and directories in the share.

#   write list = fred, @group

#===================== Homes Section ========================
# Options configured in this section will apply to all users,
# if you like this is the default share that is used. A fast
# and simple way to give a large number of clients access to
# their homes directories with a minimum of fuss is to use
# substitution as shown in the example below.

[homes]

comment = Home Directories
path = /usr/%u
browseable = no
writable = yes

#============== Example Share Definitions ===============

# This example is useful for people who share files.

[tmp]
   comment = Temporary file space
   path = /tmp
   browsable = yes
   read only = yes
   public = yes

# This example shows a publicly accessible directory, but
# readonly, except for people in the "staff" group.

;[public]
;   comment = Public Stuff
;   path = /home/jsb
;   public = yes
;   writable = yes
;   write list = @staff

# In this example a share has a different directory for each
# machine that connects, this allows you to tailor configurations
# for incoming machines. You could also use the %U option to
# tailor it by user name. The %m gets replaced with the machine
# name that is connecting.

;[pchome]
;   comment = PC Directories
;   path = /usr/pc/%m
;   public = no
;   writable = yes

# A publicly accessible directory, read/write to all users.
# Note that all files created in the directory by users will
# be owned by the default user, so any user with access can
# delete any other user's files. Obviously this directory
# must be writable by the default user. Another user could
# of course be specified, in which case all files would be
# owned by that user instead.

[aixora]
path = /aixora
public = yes
writable = yes
printable = no
only guest = no
delete readonly = yes

# The following two entries demonstrate how to share a
# directory so that two users can place files there that will
# be owned by the specific users. In this setup, the directory
# should be writable by both users and should have the sticky
# bit set on it to prevent abuse. Obviously this could be
# extended to as many users as required.

;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765



I can see the RISC in Network Neighborhood, but when I click on it this is
the message I get:

\\Idsrisc is not accessable
The network path is not found.

What am I missing?  Thanks for the help.









William G. Wagner - Development
Integrated Distribution Solutions, LLC
Phone - 215-646-5290
Fax - 215-654-5340

Experience "The Power of Integration" with IDS!
www.ids-world.com






More information about the samba-ntdom mailing list