You are not logged in.

#1 2010-08-12 16:50:33

DeletedUser210616
Banned
Registered: 2010-07-07
Posts: 43

confusing samba problem

I have a samba 3.5.4-1 installed on 2 arch machines w/ the same minimal smb.conf. The pc2 works flawless and as expected the problem is that the other pc1 does not allow me to rename or delete items (from an XP box), and on Win 7 i strictly can not access my share. They are both private user shares with 700 permissions set (same user and same groups also).
If I change permissions on pc1 to 707 its works fine tho... any ideas? Unless a mount option on my disk is throwing me off, I have no idea.

#======================= Global Settings =====================================
[global]

   workgroup = WORKGROUP
   netbios name = pc
   server string =
   security = user
   name resolve order = bcast

   load printers = no
   printcap name = /dev/null

   log file = /var/log/samba/%m.log
   max log size = 50
   passdb backend = tdbsam
   encrypt passwords = yes
   interfaces = eth0,lo
   bind interfaces only = true
   local master = yes
   preferred master = yes
   wins support = no
   dns proxy = no

   smb ports = 139

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

[test]
path = /home/carnagex420x/test
read only = no

I think its a bug...

Last edited by DeletedUser210616 (2010-08-12 20:16:05)

Offline

#2 2010-08-12 21:07:02

DeletedUser210616
Banned
Registered: 2010-07-07
Posts: 43

Re: confusing samba problem

I had to add the following to fix my server.

[global]
lock directory = /var/cache/samba

This, I believe, also fixed

Scheduled cleanup of brl and lock database after unclean shutdown

and

Cleaning up brl and lock database after unclean shutdown

from appearing in my smbd.log

I dont know what the default directory is in the make file to create a symlink but adding the lock directory seems to work.

I am also unsure why this was needed, specially after a few reinstalls. While my workaround fixed my issue I still do not know what caused it.

Last edited by DeletedUser210616 (2010-08-12 22:10:40)

Offline

#3 2010-10-12 05:50:04

DeletedUser210616
Banned
Registered: 2010-07-07
Posts: 43

Re: confusing samba problem

As of Samba 3.5.5 this does not work anymore. It's broke again...

Offline

Board footer

Powered by FluxBB