Displaying 20 results from an estimated 10000 matches similar to: "[Bug] Cannot create file but read/write is ok"
2019 Aug 08
0
[Bug] Cannot create file but read/write is ok
On 08/08/2019 05:32, lampahome via samba wrote:
> I don't know why I can't register bugzilla so I post here.
>
> I have two ubuntu 16.04 machine A, B, and A install samba version 4.10.6,
> and B install version 4.3.11.
> I use samba-vfs in machine A.
>
> I mount share of A in B ex:
> sudo mount -t cifs -o username='ppp',password='admin' //IP/public
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
>
>
> First, this is useless: 'public = yes' (which is really 'guest ok =
> yes') for two reasons, you also have 'valid users = ppp', so only 'ppp'
> can connect, but even if that wasn't there, it wouldn't allow guest
> access because you do not have 'map to guest = bad user' in [global].
>
> As for '%g', have you
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
>
>
> That doesn't show the users primary group, you need the output of
> 'getent passwd ppp'
>
> getent passwd ppp
ppp:x:1000:1000:ppp,,,:/home/ppp:/bin/bash
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
>
> It is a possibility that your users primary group doesn't exist on the
> computer where you are mounting from.
>
> It also might help if you say what your clients are, the users primary
> group only really makes sense from a Windows machine, where it should be
> 'Domain Users' (if a domain joined computer), or 'Users' if not. From a
> Unix client,
2015 Feb 17
3
Auth fail on Samba standalone server with LDAP backend
Hello,
My apologies for my bad english, this is not my birth langage and I'm still learning it.
I'm trying to configure a Samba server to simply use LDAP backend for authenticate users. Just that, I don't care of PDC/BDC, etc.The samba schema is present in the LDAP, and in the users profile.
The samba server have the same SID as the domain.
I can log to my samba server using LDAP
2024 May 24
1
Samba suddenly acting strangely
On 5/23/24 22:58, Andrew Bartlett wrote:
> Can you post your smb.conf.
Actually no, as I don't have *one* smb.conf.
I'll add three of them (the last three were I had this problem) at the
end of this email.
As you can see they are not exactly identical.
> Have you used any of our fallback VFS modules instead of xattrs?
I'd say not, but see the smb.confs.
> (This would
2017 Jan 07
2
frequent core dumps (invalid lock_order?)
Hi Rowland,
Thanks for taking the time to look at this. I will post the log 10 output a bit later. Btw, what logs with log level 10 are you interested in?
Here’s my samba config with sensitive info replaced with placeholders:
[global]
access based share enum = yes
browseable = yes
comment = <COMMENT>
create mask = 0660
directory mask =
2023 Mar 22
1
Failure in "man 8 vfs_full_audit"?
Good morning list,
is there a failure in that manpage?
(I'm running Samba version 4.17.6-Debian)
The example shows:
[records]
path = /data/records
vfs objects = full_audit
full_audit:prefix = %u|%I
full_audit:success = open opendir
full_audit:failure = all !open
full_audit:facility = LOCAL7
full_audit:priority = ALERT
But:
- opendir is not shown within complete set of Samba VFS operations.
2017 Apr 25
2
wbinfo -S SID deliver -1
i have setup a samba server as a AD member. AD: 2012R2
The first day everything was working fine. After restart the Samba
Service i had no access to my shares.
getent passwd and getent group deliver the UID and GID :
4294967295:4294967295: by all AD Users
which is -1 (FFFF FFFF)
wbinfo -n user deliver S-1-5-21-4001112740-1724199908-163113746-1106
SID_USER (1) which is correct !
I get from
2019 Aug 08
2
[Bug] Cannot create file but read/write is ok
>
>
> and clean my glasses ;-)
>
> I totally misread '%U:%g@%I'
>
> %U session username
>
> %g primary group name of %u.
>
> Notice the difference in case of '%U' & '%u'
>
> Try '%G' instead, this is the primary group name of %U.
>
> I fix it to %U|%G|%I
still failed. It always shows input/output
2020 May 26
1
vfs_audit with Samba 4.12.3
Hello All,
now that the BUG 14343: (s3: vfs_full_audit: Add missing fcntl entry in
vfs_op_names[] array.) was fixed I wanted to try 4.12 again.
This is the relevant config which has been running for years:
vfs objects = acl_xattr full_audit shadow_copy2
full_audit:failure = none
full_audit:success = pwrite write rename unlink
full_audit:prefix = IP=%I|USER=%u|MACHINE=%m|VOLUME=%S
2015 Nov 02
2
widelinks_warning - but unix extensions *are* off
> On 02.11.2015, at 16:25, Rowland Penny <rowlandpenny241155 at gmail.com> wrote:
>
> Well he didn't write what I asked for, can you please post your entire smb.conf, please do not use testparm, please post as is (although you can sanitise any sensitive info)
Sorry, missed that part. Here we go.
Regards, Thomas
[global]
available = yes
smb2 leases = yes
2012 May 24
3
cannot execute .exe files from a share
Hello, i've seen this error on the mailing list but no solutions.
Problem: No user can execute an .exe file from a group share under any
windows version (wXP til Windows 7).
Permisions: Every user can read, write, delete, etc in that share.
I've chmoded 777 the file but for nothing. The user can copy the .exe
file to another location like desktop and then can execute it (is a
portable
2024 Oct 08
1
Can authenticate but cannot mount shares
Hello Experts,
I am trying to migrate a Samba 3.6 server to Samba 4.19.
The OS of the old server is FreeBSD 10.3 and the new one is FreeBSD
14.1.
The client computers are Win 10 Pro.
Simple Samba configuration, no need for Active Directory, just a file
server with user authentication.
On the Windows computer I try to mount the shares from the new server
as \\[new server IP address].
The log
2024 Oct 08
1
Can authenticate but cannot mount shares
On Tue, 8 Oct 2024 00:20:44 -0400
samba3to4 via samba <samba at lists.samba.org> wrote:
> Hello Experts,
>
> I am trying to migrate a Samba 3.6 server to Samba 4.19.
>
> [...]
>
> The log file shows that the user can authenticate:
>
> [2024/10/07 23:27:24.974539, 2] ../../source3/auth/auth.c:
> 338(auth_check_ntlm_password) check_ntlm_password:
2018 May 11
4
vfs_full_audit and facility 'auth'...
On Fri, 11 May 2018 09:14:24 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Rowland Penny via samba
> In chel di` si favelave...
>
> > You would replace 'FACILITY' with one of the facilities shown in
> > 'man syslog' e.g. full_audit:facility = LOG_AUTH
>
> OK, done. But samba (as stated in previous email) still reply:
2014 Jul 20
1
Lots of NMBD zombie processes
Hello,
I am running a Samba 4 DC, recently upgraded to the latest version and I
have just installed a member server to run as a File Server (Samba 4.1.9).
While it seems to be working properly, we are getting a lot of zombie nmbd
processes on the member server, running the command *pidof nmbd* results in:
*[root at BHFS01 etc]# pidof nmbd*
*12861 12644 12404 12236 12071 11885 11720 11553 11388
2015 Sep 01
2
on linux samba file shares, groups and user are randomlly lost. Using samba4 as Domain controller
Good day All
I am re proposing this topic as it keeps happening in our enviroment and is
creating some trouble now.
I have 1 samba file share server, and a different samba4 AD server.
the file server has been recently updated to Ubuntu 14 and its native samba
4.1.6. The samba4 AD is on Ubuntu 14 and on sernet-samba 4.2.2.
what happens is that every 4~5 days the file share server loses randomly
2016 Apr 18
1
Samba shares are slow after 4.2.11 upgrade
Hi, first of all i'm sorry for my english.
i'm using sernet packages to keep updated my file server, but after the
latest update it becames very slow listing and accesing to files... For
example, a thunderbird profile from networks takes about 1 minute to load.
Now the profile takes about 20 minutes and the program still loading...
I've not changed any configuration on server and i
2015 Apr 17
3
separate config for dedicate user
Hello,
I run samba 3.6 and I need to track problems for dedicated users.
So I thought, I load at the end via include special configurations for
the user separately.
My question is, how does the smbd configure itself. Does smbd
1) reads the config completely and then it set the parameters in the process or
2) does smbd reads and set each parameter instantly?
So can I use the following example?