Hi all, I got a problem after a samba CPD migration. here is configuration before migration : OS : ubuntu 10.04 samba/LDAP CPD home, profile share on a local disk Here is the configuration after migration OS : debian squeeze samba/LDAP CPD( migration of sid and ldap directory succesful) home and profile share on a nfs share. What's works : connexion to the domain, file creation. What's does not work When i open a file on my home share, modify and record it, it does not work. I got a message like another process accessing to the file so this process can't access to!) What I did ? I modified my smb.conf and add locking = no to the home and profile share. So, my questions are : - is it a known issue ? - is it possible to have my home and profile on a nfs share ? If yes, what did I miss to get it work properly? - is it dangerous to enable locking = no for these share ? ( because only the authentificated user can access to these share ) Thank you for your advice S?bastien
On Tue, Jan 10, 2012 at 11:49:23AM +0100, sebastien PROUFF wrote:> Hi all, > > I got a problem after a samba CPD migration. > here is configuration before migration : > OS : ubuntu 10.04 > samba/LDAP CPD > home, profile share on a local disk > > Here is the configuration after migration > OS : debian squeeze > samba/LDAP CPD( migration of sid and ldap directory succesful) > home and profile share on a nfs share.Try "kernel oplocks = no" and "posix locking = no". Much less intrusive than "locking = no". Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de
Well, I put my home and profile data on a local partition again after migration. Much faster and no more oplock problem. Seems that mouting partition over nfs is not so usual for samba.... Thanks for your advice S?bastien Prouff _____________________________________ Responsable du p?le TICE CDDP de la Charente Maritime tel : 05 46 00 34 73 http://web.crdp-poitiers.org/cddp17 Le 10/01/2012 12:40, Volker Lendecke a ?crit :> On Tue, Jan 10, 2012 at 11:49:23AM +0100, sebastien PROUFF wrote: >> Hi all, >> >> I got a problem after a samba CPD migration. >> here is configuration before migration : >> OS : ubuntu 10.04 >> samba/LDAP CPD >> home, profile share on a local disk >> >> Here is the configuration after migration >> OS : debian squeeze >> samba/LDAP CPD( migration of sid and ldap directory succesful) >> home and profile share on a nfs share. > Try "kernel oplocks = no" and "posix locking = no". Much > less intrusive than "locking = no". > > Volker >