samba 2 way synch with locking

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
jspilon
Posts: 71
Joined: 2006-08-29 15:33
Location: Canada

samba 2 way synch with locking

#1 Post by jspilon »

Hello all,

I am in need of a two way synch with file locking solution for linux/samba.

I have found what I am trying to achieve for Windows...
http://www.peersoftware.com/solutions/p ... sp?sol=sts

I am trying to find the linux counterpart.

If anyone has any suggestions let me know!!!

plifalo
Posts: 126
Joined: 2006-01-27 18:09
Location: Cambridge, UK

#2 Post by plifalo »

I'm not entirely sure what you're after as I can't penetrate much of the marketing-speak on that website, but I've found Unison works very well as a synchroniser. Does this do what you need? If not, what is missing? (it might be scriptable)

jspilon
Posts: 71
Joined: 2006-08-29 15:33
Location: Canada

#3 Post by jspilon »

I need the files locked on the remote box... wheter the file is opened on LEFT or RIGHT.

So user1 opens file on server LEFT, no one should be able to modify/save file on server RIGHT since the lock is replicated

can I achieve this with the cluster function in samba ?

plifalo
Posts: 126
Joined: 2006-01-27 18:09
Location: Cambridge, UK

#4 Post by plifalo »

Ah, I see what you're after now. According to the Samba wiki, there are experimental versions which do what you want now in a variety of different ways, but if it's stability you're after then you'll have to wait a while.

Post Reply