similar to: How do I lock a shared file?

Displaying 20 results from an estimated 10000 matches similar to: "How do I lock a shared file?"

2013 Sep 25
2
samba 4.0.9 Build Error
Hi there, I tried to build samba 4.0.9 on a Debian Wheezy 7.1 x86 fresh install and got this error: [2717/3935] Compiling source3/smbd/scavenger.c ../source3/smbd/scavenger.c: In function ?scavenger_timer?: ../source3/smbd/scavenger.c:482:3: error: format ?%lu? expects argument of type ?long unsigned int?, but argument 3 has type ?uint64_t? [-Werror=format] ../source3/smbd/scavenger.c:490:3:
2013 Sep 02
1
oplocks for Access DB
Hi Folks First time poster here.. I have a Samba 3.4.7 ( will upgrade soon ) in a workgroup enviroment, This server has a share containing various Access DB backends.. Wondering about the .ldb lock files that the client front-ends produce.. and if the oplocks and veto options are still current ? as various combinations i have tried don't seem to work.. Would be keen to hear how others
2013 Sep 09
1
usershare
Hello, i' got some strange message in samb log file : Sep 9 15:04:10 samba smbd[1018]: [2013/09/09 15:04:10.621264, 0] param/loadparm.c:9114(process_usershare_file) Sep 9 15:04:10 samba smbd[1018]: process_usershare_file: stat of /var/lib/samba/usershares/blabla failed. Permission non accord?e But i havent usershares defined. Somebody could told me what could be the way to solve this
2013 Oct 09
1
URGENT - production server stops working (v3.6)
Hello, i need some help. A samba3 (3.6.9-151.el6_4.1) ADS member (WIN 2008 AD Master) Server did his work for years. Since hours some Clients can not connect to the name (\\fileserver) connecting to \\192... sometimes work. Log say: 2013/10/09 09:54:27.735101, 3] smbd/sesssetup.c:660(reply_spnego_negotiate) reply_spnego_negotiate: Got secblob of size 1638 [2013/10/09 09:54:27.735423, 3]
2013 Oct 11
2
getent group by name fails
Samba 3.6.17 joined to Samba 4.2.0 AD domain, using winbind 'wbinfo -g' and 'getent group' successfully list all groups. 'getent group 10006' returns: domain users:x:10006: 'getent group "domain users"' fails with return code 2 partial log.winbind after above command: [2013/10/11 10:01:31.288199, 3]
2015 Feb 13
2
vfs objects = glusterfs
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, i try to use a glusterfs with "vfs objects = glusterfs" settings in smb.conf. But if I try to access the volume I allways getting "tree connect failed: NT_STATUS_BAD_NETWORK_NAME" If I add another Share directly inside the mountet glusterfs I can access the share und read and wirte alle the data. Here is my smb.conf: -
2013 Sep 01
2
Disable password complexity does not work?
Hello I use Samba 4.0.9 and want to disable strong passwords. I've run: ./samba-tool domain passwordsettings set --complexity=off But it seems to not work. If users try to change password via ctrl+alt+del windows still require strong password. Restarting samba to commit change did not solve problem. Is there something i forgot? On my old configuration with old (RIP) server it worked
2012 Jan 20
8
The Recycled PIDs Fix
** Low Priority ** Hi Volker, This is regarding your fix on recycled PIDs. I am an NCP developer from Novell and we use libsmbsharemodes library from Samba for Cross Protocols Locks between NCP, Samba and others. I have few queries regarding your fix. In your fix, you have added a new field called 'unique_id' in the server_id structure and we need to pass this in our call to samba
2012 Nov 27
6
CTDB / Samba / GFS2 - Performance - with Picture Link
Hello, maybe there is someone they can help and answer a question why i get these network screen on my ctdb clusters. I have two ctdb clusters. One physical and one in a vmware enviroment. So when i transfer any files (copy) in a samba share so i get such network curves with performance breaks. I dont see that the transfer will stop but why is that so? can i change anything or does anybody know
2012 Jan 10
2
samba CPD nfs lock
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
2013 Jan 11
3
NT_STATUS_NO_MEMORY when browsing file server on Belkin modem
Hello, Can someone help me to track down the source of this problem? I'm trying to access a file server running on a Belkin modem with an attached USB drive. Judging my the quality of the firmware on the device, I'd say there's a good chance of it being buggy. But it works well enough on a Windows machine, even one running inside Virtualbox under Linux. I therefore see no reason
2015 Feb 11
4
Fwd: samba & Oracle ACFS Issues
On Wed, Feb 11, 2015 at 10:27:50AM +0100, Nacho del Rey wrote: > Hi Volker and the list > > Yesterday the problem appeared again > > I could launch a strace command over a samba PID to see what was going on > and this is the result > > [PRO] [root at pf3il0024 ~]# strace -frp 57686 > Process 57686 attached - interrupt to quit > 0.000000 fcntl(14, F_SETLKW,
2015 Mar 10
2
Fwd: samba & Oracle ACFS Issues
On Fri, Mar 06, 2015 at 01:38:26PM +0100, Nacho del Rey wrote: > Hi again Volker (& list) > > I think I am very closer of the problem. Sorry, but without access to this system I can't really say what is going on. Please talk to Oracle for support. Samba is running fine on a huge variety of file systems, and if ACFS gives you locking issues, I would request Oracle to fix their
2015 Feb 11
3
Samba 4.2.0rc4 fails to start up
> On Wed, Feb 11, 2015 at 11:13:42AM +0100, Volker Lendecke wrote: > > On Tue, Feb 10, 2015 at 08:59:21PM -0800, Jeremy Allison wrote: > > > Ah ok - I expected as much. snprintf seems to be > > > broken in that it's returning -1. > > > > > > Is this our snprintf or one from Solaris ? Can > > > you try and track down why it's returning
2015 Jun 03
2
Windows-8 & SMB encryption
Hi Nagendra here I have existing a samba-3 installation which has a smb encrypt as mandatory i.e : smb encrypt* =* mandatory I am trying to connect to this machine's share with windows & I am getting the following error on the windows 8 client System error 5 has occurred. Access is denied. But I use the same client machine to access another windows-8 machine with SMB encryption I am
2015 Feb 11
2
Fwd: samba & Oracle ACFS Issues
On Wed, Feb 11, 2015 at 11:44:24AM +0100, Nacho del Rey wrote: > Ok, it is becoming a nightmare ;-) > Last question Volker > > Is it possible the problem comes from a network device? > At job, we have been suffering problems with a F5 Load Balancer. It seems > that, randomly, it sets the transmission frame to 0 bytes during a while > and routing services don't work very
2015 Mar 23
2
Samba 4.2.0 install failing with "Couldn't determine size of 'bool'
Hi all. I'm trying to install Samba 4.2.0 on a Solaris 64 bit Unix server by doing the following but the configure script fails with "Couldn't determine size of 'bool'", any ideas ? :- # gunzip samba-latest.tar.gz # tar -xvf samba-latest.tar # cd samba-4.2.0 # ./configure ... ... Checking for blksize_t : ok Checking for blkcnt_t
2012 Dec 14
3
Samba Client <--> Server Timeout
Hi Folk, I am writing a Samba VFS module. The VFS CLOSE operation takes a longer time, much greater than 20s, to return. Looks this will cause Samba client server communication timeout. And Samba will load a new module, which is not what I want. I want Samba to wait, until VFS CLOSE operation finishes what it should do. I don't want Samba to load a new module. Can anyone tell me how/where to
2012 Jun 20
8
Winbind Daemon fails to start, group shares no longer functioning
Hello All, I am currently having an issue with my samba PDC. I have recently updated to 3.6.5 Samba, and have made what i believe to be the correct changes in my config to account for the changes to the idmap system. My setup is as follows, SAMBA PDC on RHEL 6.2, which authenticates passwords through Kerberos, and Deals with user profiles via LDAP. I had about 25 Windows clients which were able
2015 Mar 10
2
aio_pthread on Debian?
Hello list, I am looking to enable samba aio on my Wheezy test box (I have version 4.1.17 from back ports). The output of smbd -b shows that the stable packages for my distro are not compiled using --with-aio-support. It appears that without recompiling I can use vfs objects = aio_pthread to achieve a similar effect? I'm aware that this somewhat dips into Debian specifics, but I figured