Hi,

I have configure Samba 2.2.7-5.8.0 on my RH 8 box. The smb.conf file
is attached below. From my WinXP box, I see the box in my network
neighborhood. But, when I try to "open" / browse the server from said
box (on the 192.168.0 network), I get the message:
\\World2 is not accessible. You might not have permission to use this network
resource. Contact the administrator of this server to find out if you have
access permissions.


    The network path was not found.

Of course, it takes 20-30 seconds for it to figure this out. However, from
the Samba server itself, I can use "smbclient '\\world2i\homes' -U matt" and,
after authentication, all is cool. But, I never even get a chance to authenticate
from the XP box. I've google searched. i've FAQ read, and either I skipped
over it or I'm missing something.


Any help is greatly appreciated.

Cheers,
Matthew

smb.conf file------------------------------------------------------------
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*a
ll*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
obey pam restrictions = yes
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
netbios name = world2i
server string = world2i
printing = lprng
default = global
unix password sync = Yes
preferred master = no
workgroup = TCCIHQ
os level = 20
socket address = 192.168.0.202
printcap name = /etc/printcap
security = user
max log size = 0
pam password change = yes
local master=no
hosts allow = 127.0.0.1/255.255.255.255 192.168.0.0/255.255.255.0
interfaces = 127.0.0.1 eth0*


[homes]
       writable = yes
       path = /home
       comment = Home Directories
       valid users = %S
       create mode = 0664
       directory mode = 0775

[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
# Set public = yes to allow user 'guest account' to print
  guest ok = no
  writable = no
  printable = yes

[slash]
       browseable = no
       path = /


-------------------------- The rest of the file is commented out.






--
****************************************************************
*      Those who desire to give up freedom in order to gain    *
*    security will not have, nor do they deserve, either one.  *
*                   - President Thomas Jefferson               *
****************************************************************
* Matthew Thurmaier, President *   [EMAIL PROTECTED]          *
* The Computer Classroom, Inc. *   http://www.compclass.com    *
* Company HQ/(800) 603-8988    *   Me Direct/(386)426-7828     *
****************************************************************


# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors. 
#
#======================= Global Settings =====================================
[global]
        log file = /var/log/samba/%m.log
        smb passwd file = /etc/samba/smbpasswd
        load printers = yes
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        obey pam restrictions = yes
        encrypt passwords = yes
        passwd program = /usr/bin/passwd %u
        dns proxy = no 
        netbios name = world2i
        server string = world2i
        printing = lprng
        default = global
        unix password sync = Yes
        preferred master = no
        workgroup = TCCIHQ
        os level = 20
        socket address = 192.168.0.202
        printcap name = /etc/printcap
        security = user
        max log size = 0
        pam password change = yes
        local master=no
        hosts allow = 127.0.0.1/255.255.255.255 192.168.0.0/255.255.255.0
        interfaces = 127.0.0.1 eth0*

[homes]
        writable = yes
        path = /home
        comment = Home Directories
        valid users = %S
        create mode = 0664
        directory mode = 0775

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   writable = yes
;   printable = no
;   write list = @staff

# Other examples. 
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /home/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to 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/local/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.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

# 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

[slash]
        browseable = no
        path = /
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to