Displaying 20 results from an estimated 1100 matches similar to: "How to do nonblocking writes to CIFS networkshares?"
1999 Jul 09
0
Samba-related info on disconnected NT networkshares
The issue of disconnected networkshares (shares offered on an NT server) has
appeared on this mailinglist a few times. It is not a samba issue, but
it seems many here might benefit from the information given below anyways,
as I've never seen a solution to the problem come by.
Problem: Whenever there has not been any activity (file/network IO) to
or from a networkshare that is offered by an
2012 May 16
2
Trouble with mount.cifs while smbclient works (Ubuntu 12.04)
I just upgraded from Ubuntu 11.04 to 12.04 and am working to restore access to the windows shares I use at work.
smbclient connects immediately:
sudo smbclient //server/share -A /etc/.smb_creds.txt
mount.cifs fails (with "mount error(13): Permission denied"):
sudo mount.cifs //server/share /mnt/ -o credentials=/etc/.smb_creds.txt
my credentials file is as
2020 Apr 04
0
[PATCH] nonblocking: remove usleep usage
usleep is deprecated under POSIX 2008 and is optionally unavailable
with uClibc-ng.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
examples/nonblocking.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/examples/nonblocking.c b/examples/nonblocking.c
index 8e38a94..2f15b80 100644
--- a/examples/nonblocking.c
+++ b/examples/nonblocking.c
@@ -70,8 +70,10 @@ int
2004 Aug 06
1
libshout nonblocking API
I propose the following changes to the libshout API to support
nonblocking I/O:
New functions:
int shout_set_nonblocking(shout_t *self, unsigned int nonblocking):
Instructs libshout to use nonblocking I/O. Must be called before
shout_open (no switching back and forth midstream at the moment).
unsigned int shout_get_nonblocking(shout_t *self): self-explanatory.
Changed functions:
2007 Aug 19
1
Truncate with libsmbclient
Hi,
I'm working on a bug with fusesmb. This is a file system in user space
for Linux that uses libsmbclient to present a share like other VFS file
system.
The truncate operation of fusesmb-0.8.5-1 was not completely implemeted.
It's necessary for some applications, like OpenOffice, that do this
operation when saving a file.
So, I implemented a truncate function with libsmbclient. I
2009 Jul 06
1
Nonblocking connect is not proprly checked in poll implementation
Hello,
I found a bug in Icecast-2.3.2. SVN trunk is affected either. The problem lies
in src/net/sock.c: sock_connected() function.
This function is used to check status of socket after nonblocking connect(2)
and it has two implementations: select(2) and poll(2). The select branch does
the right job---it gets socket status by getsockopt(2) after selecting for
write. But the poll branch does not.
2005 Feb 23
0
Unable to alter permissions on Linux client
Hi,
I'm sorry, if this has been asked a 1000 times, but I've been going
through the docs and using google for the past 2 hours and everything
I have tried seems to fail.
I've decided to give samba a go at file serving, as nfs is proving to
be not that reliable., and I would also like to be able to access
certain files on my windows machines.
I'm currently running the following:
2006 Nov 01
0
fatal flaw in popen4 on windows? [WAS] Re: Nonblocking IO read (fwd)
Hi Ara,
I''ll take a look. In the meantime, I''ve cc''d the win32utils-devel
mailing list to see if anyone has any ideas/suggestions.
Regards,
Dan
> -----Original Message-----
> From: ara.t.howard at noaa.gov [mailto:ara.t.howard at noaa.gov]
> Sent: Wednesday, November 01, 2006 12:36 PM
> To: Berger, Daniel
> Subject: fatal flaw in popen4 on windows?
2009 Mar 17
3
Samba with ldap-Backend as PDC: Changing SMB-Password under Unix?
Hello,
I have a working PDC with ldap-Backend under SUSE 10.2. Everything is
working fine, except 2 thing:
Can I change the sambaNTpassword and sambaLMpassword under Unix so that the
User can change the samba-Passwords and the Unix-Password with one single
command?
Can I automaticly connect the Home-Networkshare to a Network-Drive? Without
a Logon-Script?
Regards
Daniel
__________
2008 Sep 24
2
[PATCH] disable nonblocking mode on serial port
Hi,
I got a new Cyberpower 1500AVR UPS and nut wouldn't work. It failed
to detect the UPS and a strace showed that all writes to the serial
port were failing with -EAGAIN. The attached patch disabled
nonblocking mode on the serial port and now it works fine.
Is there a reason the port was put in non-blocking mode? There's no
code I could find to deal with the inevitable -EAGAIN that
2014 Jan 17
0
error while mount/access DFS share
Hi,
I'm having an error trying to read the contens of a DFS Share
The mount is:
sudo mount -t cifs -o username=mxxxxx ,uid=mxxxxx,gid=mxxxxx
//cluster_share/share /mnt
The share is mounted without errors, but when I try to list the share i
have this:
ls -la /mnt/folder
ls: cannot open directory /mnt/folder: Operation now in progress
and the syslog have the error reported
2015 Nov 02
0
Openvpn and samba: play nice together?
Hi,
this reminds me of my troubles of setting up samba BDC at remote company
branch.
Connection was done by IPSEC tunnel between 2 mikrotik routers.
Thing was, ipsec supports only unicast, but not multicast,nor broadcast.
Solved it by adding L2TP tunnel that support the above mentioned
mechanisms. So ended up with the l2tp (which has very weak encryption
and is very old and vulnerable)
2019 Jan 16
4
Problems after upgrade from Samba3/OpenLDAP to Samba4 - New Useraccounts aren't properly working
Hello!
We've got some problems after an Upgrade from OpenLDAP and Samba3 to Samba4 AD (4.5.12 on Debian 9). After a successfull upgrade. we can't create no new properly working User-accounts with the RSAT-mmc (Windows 2k8, which is connected to the DC). The account can be created in RSAT and can even login on a Windows 7 Client - which is fine - but the account doe not got any access on
2013 Nov 07
1
mount.cifs return code = -128
Could someone tell me what this return code means? This is mount.cifs
version 4.8.1 on a
centos 6.4 workstation joined to an AD domain, using automount with
auto.cifs containing
* -fstype=cifs,sec=krb5,user=&,uid=$UID,gid=$GID,cruid=$UID,noserverino
://server.address.edu/&
When the machine is freshly booted, and for awhile afterwards, domain
accounts can mount with no problem.
But
2014 Jul 11
1
Can't see all files on a cifs mount
Awhile ago I've set up a backup of my C6 home server to a D-Link NAS and
it seems to be working.
But when I mount a share with the backups I can't see files or
directories not readable by others.
I'm not very knowledgeable in cifs and probably missing some obvious
options.
noserverino option suggested on ubuntu forums didn't help.
TIA
2014 Jun 09
1
Cannot mount a remote volume after system upgrade
openSUSE v13.1
linux 3.11.10-11-desktop x86_64
samba 4.1.6
I recently upgraded an openSUSE server from v12.3 to v13.1. In the
older version there was no problem about mounting a remote volume
offered by an ancient OS/2 system. Now there is.
Trying to mount it by command line:
root:/home/sma-user3x> mount /t2
Retrying with upper case share name
mount error(6): No such device or address
2007 Dec 07
0
Good idea, but no reply: what to do.
Hello,
since some time I've created a construction which:
- automatically detects all the smb hosts and their shares (with nbtscan and
smbclient)
- creates a directory in the homemap of the users logged in which represents
the "windows networkneighbourhoud".
- when entering a share, it is automatically mounted (with autofs and cifs
and or smbfs)
It works very good, and now
2020 Apr 23
2
CIFS VFS: in dmesg when Linux accesses eComStation's (OS/2) FAT filesystem shares
Items in dmesg when FAT share's are accessed from web browser:
CIFS VFS: bogus file nlink value 0
When accessed from FC/L (OFM (orthodox filemanager)):
CIFS VFS: illegal date, month 0 day: 0
When the share is initially mounted:
CIFS: Attempting to mount //hostname/E
Use of the less secure dialect vers=1.0 is not recommended unless required for
access to very old servers
CIFS VFS: Send error
2019 Jan 19
0
Problems after upgrade from Samba3/OpenLDAP to Samba4 - New Useraccounts aren't properly working
Do you have the getent problem on your DC or your fileserver?
If it's on a fileserver did you check that the RID is inside the range
you set up in smb.conf?
Am 16.01.19 um 17:54 schrieb Jens Günther via samba:
> Hello!
>
> We've got some problems after an Upgrade from OpenLDAP and Samba3 to Samba4 AD (4.5.12 on Debian 9). After a successfull upgrade. we can't create no new
2010 Dec 15
1
Problem by using Samba 3 with Default User.v2 Profiles / Windows 7
Hello Samba-Team,
?
I've a big problem by using Windows 7 and default user profiles.
?
My structure:
?
- SUSE Linux Enterprise Server with the newest samba 3 version
- Client pc with Windows 7
?
I make a default user profile, named: "Default User.v"
?
but:
?
The Windows 7 don't get it, Windows XP got the profile (named "Default User"), but Windows 7 used