[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
socket options = TCP_NODELAY
obey pam restrictions = yes
username map = /etc/samba/smbusers
hide dot files = no
map to guest = Bad User
encrypt passwords = yes
time server = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
writeable = yes
server string = Viking Samba %v Server
printing = lprng
unix password sync = yes
workgroup = SRINI_HOME
os level = 65
printcap name = /etc/printcap
security = share
max log size = 0
pam password change = yes[homes]
comment = %u's Home Directory
read only = no
browseable = yes
writable = yes
path = /home/srinivas
comment = Home Directories
; valid users = %S
create mode = 0664
; directory mode = 0775
directory mask = 0775[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
;guest ok = yes
;writable = yes
;printable = yes
print ok = 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
;[Viking_F] ; comment = FAT partition on 2nd drive ; public = yes ; path = /mnt/Win2K_F
[VikingHome] comment = Srinivas' home directory path = /home/srinivas
Barry, Christopher wrote:
Can you post your smb.conf?
-- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com
-----Original Message----- From: Srinivas Murty [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 9:39 PM To: [EMAIL PROTECTED] Subject: [Samba] Can't reach Samba shares from Win XP Pro
This seems to be common enough problem. I've used a variety of methods (command line as well as utilities like LinNeighborhood) to mount XP shares on my RedHat 8.0 running Samba 2.2.7. I get consistent problems the other way around. Despite a couple of shares on my Linux partition, I am just unable to do get to it. Network Neighborhood shows my Linux/Samba server but no shares, nor can I explicitly map the share to a Win XP logical drive.
While troubleshooting by reading Sam24hc13.qxd (an extract from an excellent book, I might add), I found that I run into trouble trying to use "nmblookup -B <broadcast address> <Samba machine name>". The same command works fine if I give it the names of my two XP machines. I somehow suspect this is the main reason why I'm having troubles elsewhere. Does anyone have an answer?
Srinivas Murty
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
