[Samba] Re: Office: File currently in use by user xyz problem!

Michael Rignaz uluquai at inode.at
Fri Oct 6 12:42:07 GMT 2006

Sorry for the extrapost, too retarded when I'm lacking sleep... forgot 
to attack the smb.conf and to tell that the problem was resolved when 
restarting the samba daemons!

running samba 3.0.23c-1

    workgroup = xyz

passwd chat = *New*Password* %n\n*Re-enter*new*password* %n\n 
username map = /etc/samba/smbusers

    server string = %h server (Samba %v)
    wins support = yes
    time server = Yes

    dns proxy = no
    name resolve order = wins lmhosts host bcast
    interfaces = eth0 lo
	bind interfaces only = true
    log file = /var/log/samba/log.%m
    max log size = 10000
    log level = 2
    syslog = 0
    security = user
    encrypt passwords = true
    passdb backend = tdbsam

    obey pam restrictions = yes
    unix password sync = Yes
    domain logons = yes
    preferred master = yes

    utmp = Yes
    map acl inherit = Yes
    hide files = /.*/desktop.ini/
    oplocks = False
    level2 oplocks = False
    logon path = \\%N\profiles\%U
    logon drive = z:
    logon home = \\%N\%U
    logon script = logon.cmd
    printing = cups
    printcap name = cups
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'

socket options = TCP_NODELAY  SO_RCVBUF=8192 SO_SNDBUF=8192
domain master = auto

#####now come the shares... posting only the relevant one..#####

[Share where these problems occured]
    comment =
    path = /smb/...
    writeable = no
    write list = @somegroup
    force group = somegroup
    create mask = 0770
    directory mask = 0770

thnx a lot!

More information about the samba mailing list