Running SuSE 9.2. This problem happens with both the SuSE-supplied Samba on 
the DVD, as well as the SuSE update rpms to 3.0.9. We even removed all the 
*.tdb files and recreated the installation from scratch, as always carefully 
following the steps in S3BE. FWIW, this same config worked previously on this 
and earlier systems; we did not change anything on this system (other than 
applying YOU patches), and since we fire the Windows VM infrequently, we 
can't correlate when this problem started with any specific YOU patches..

Basically, we use Samba on a host to make printers and shares available to 
Windows running on the same host in a VMware VM. We don't want anyone else on 
the LAN to see shares on this host.

The problem manifests itself in several ways: 

1. MS Office applications complain a file is either locked by another user and 
can be opened read-only, or that a file no longer exists.

2. Using the MS Explorer window to CTRL-C and CTRL-V a file in the same folder 
generates no errors, but the copied file has a file size of 0 bytes.

3. RMB'ing in the MS Explorer window to choose Create New > Folder winds up 
creating the New Folder correctly, but generating a dialog box that reads: 
"Unable to create the folder "New Folder." Cannot create a file when that 
file already exists."

I've run a level 10 debug and didn't see anything intuitively obvious, but I'm 
not a Samba developer!  :-)  Here's smb.conf below. Any ideas? Things to try? 
Printing works fine BTW, if that's helpful.

# smb.conf file.  Created By L. Mark Stone for SuSE 9.2 installation.
# Version 1.0 - Migrated from SuSE 8.2 version in use.

[global]
        workgroup = RNOME
        printing = cups
        printcap name = cups
        printcap cache time = 750
        printer admin = @ntadmin, root, administrator
        username map = /etc/samba/smbusers
        passdb backend = tdbsam
        use sendfile = no
        large readwrite = no
        log level = 10
        syslog = 0
        log file = /var/log/samba/%m
        max log size = 50
#       socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_SNDBUF=8192 
SO_RCVBUF=8192
        interfaces = vmnet8 172.16.8.1/24 127.0.0.1
        bind interfaces only = yes

#[homes]
#       comment = Home Directories
#       valid users = %S
#       browseable = no
#       read only = no
#       inherit acls = yes

[pdf]
        comment = PDF creator
        path = /var/tmp
        printable = yes
        print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
        create mask = 0600

[printers]
        comment = All Printers
        path = /var/tmp
        printable = yes
        create mask = 0600
        browseable = no

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775

[data]
        comment = Data Directory
        path = /home/data/
        public = yes
        force user = lmstone
        force group = users
        inherit permissions = yes
        writeable = yes
        oplocks = no
        level2 oplocks = no


-- 
_______________________________________________________________
A Message From...  L. Mark Stone

Reliable Networks of Maine, LLC

"We manage your network so you can manage your business."

477 Congress Street
Portland, ME 04101
Tel: (207) 772-5678
Web: http://www.RNoME.com


-- 
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