search for: forceuid

Displaying 18 results from an estimated 18 matches for "forceuid".

2017 Oct 11
1
Using GPO to mount shares on Linux
...script to do what I want. Strange. So what does a mount look like? Here: > root at dmmember:~# mount | grep username > //fileserver.company.com/username on /home/username/username type cifs (rw,relatime,sec=ntlmi,unc=\\filehost.company.com\username,username=username,domain=WRKGRP,uid=49611,forceuid,gid=513,forcegid,addr=192.168.89.2,unix,posixpaths,serverino,acl,rsize=61440,wsize=65536,actimeo=1) > root at dmmember:~# MJ
2017 Aug 08
3
Smbclient cant transer large files
...sponse fails with >STATUS_INVALID_PARAMETER" > >The same drive can be mounted and accessed easily with cifs: >//vienas01.andritz.com/HIPASE on /media/HIPASE_Q type cifs >(rw,nosuid,nodev,relatime,vers=1.0,cache=strict,username=<snip>,domain=<sni >p>,uid=1000,forceuid,gid=1000,forcegid,addr=172.24.180.161,file_mode=0755, >dir_mode=0755,nounix,mapposix,rsize=61440,wsize=65536,echo_interval=60,a >ctimeo=1,user=<snip>) > >The problem seems to have appeared with 2:4.2.14+dfsg-0+deb8u7: >http://metadata.ftp- >master.debian.org/changelogs...
2019 Feb 14
3
32 seconds vs 72 minutes -- expected performance difference?
...ow do I confirm that the mount ACTUALLY happened with vers=3.0? Further, `mount` is showing a LOT of options that I did not specify. I do not fully understand their impact: //[REDACTED]/uploaded_files on /home/myuser/shared type cifs (rw,relatime,vers=3.0,cache=strict,username=vl,domain=,uid=1000,forceuid,gid=1000,forcegid,addr=95.216.67.179,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1) Namely: forceuid, forcegid, nouinx, serverino, & mapposix Could any of these be causing the problems that I'm observing? PS: vers=3.0 d...
2017 Aug 08
0
Smbclient cant transer large files
Hi, >>The same drive can be mounted and accessed easily with cifs://vienas01.andritz.com/HIPASE on /media/HIPASE_Q type cifs >>(rw,nosuid,nodev,relatime,vers=1.0,cache=strict,username=<snip>,domain=<snip>,uid=1000,forceuid,gid=1000,forcegid,addr=172.24.180.161,\ >> file_mode=0755,dir_mode=0755,nounix,mapposix,rsize=61440,wsize=65536,echo_interval=60,actimeo=1,user=<snip>) What i noticed here also, and if someone can explain this for me why this is. rsize=61440 wsize=65536 Normaly i see rsize and wsize...
2019 Feb 14
0
32 seconds vs 72 minutes -- expected performance difference?
...response will tell you what was picked. More info on how to use wireshark here [1]. It's a bit old and only covers SMB1 but it's a good ressource. > Further, `mount` is showing a LOT of options that I did not specify. I do > not fully understand their impact: > [...] > Namely: forceuid, forcegid, nouinx, serverino, & mapposix Note that some of this option string is generated at runtime by the kernel, so what you see is the current running state, which might differ from what you provided as some options are deduced/tried during connection. * forceuid/forcegid are sort of int...
2013 Feb 27
1
linux-to-linux samba weird problem
...oblem is that it *always* fails when a non-root user runs unibasic (it can't create the index structure within the index file). But it succeeds when running the program as root. Oddly, if I leave ug+s off the dirs on the server, root:root will own one of the files in the pair (regardless of forceuid/forcegid on the client mount). This is perplexing. The CIFS client mount generally works. But for this particular case, it always fails. The program does work correctly if I run it on the file server. Where do I start looking to get to the root of the problem? In Debian's samba 3.6.6? In D...
2017 Oct 11
3
Using GPO to mount shares on Linux
On 10/11/2017 12:09 PM, Rowland Penny via samba wrote: > I did all of this, I have read everything I could find on the internet > and I just couldn't make it work. > > I am now a leading expert on what doesn't work ;-) > > Rowland ok, that is an unusual situation... you having a problem, and things working here :-) So perhaps we're doing different things: we
2016 Jan 06
4
Cannot remove symlink with missing target
...dy ==================================== Data about the environment: Client: * Virtual CentOS 7 client (on VirtualBox on Windows 7) using cifs-utils 6.2 and kernel 3.10.0 * Mount: Via /etc/fstab, the entry looks like: //ds12/home /media/ds12_home_andi cifs credentials=/home/andi/.ds12cred,forceuid,uid=andi,forcegid,gid=users,noserverino 0 0 The mount command provides somewhat more information: //ds12/home on /media/ds12_home_andi type cifs (rw,relatime,vers=1.0,cache=strict,username=andi,domain=WORKGROUP,uid=1000,forceuid,gid=100,forcegid,addr=192.168.0.12,unix,posixpaths,acl,rsize=10485...
2016 Jan 06
0
Cannot remove symlink with missing target
...about the environment: > > Client: > > * Virtual CentOS 7 client (on VirtualBox on Windows 7) using > cifs-utils 6.2 and kernel 3.10.0 > > * Mount: Via /etc/fstab, the entry looks like: > > //ds12/home /media/ds12_home_andi cifs > credentials=/home/andi/.ds12cred,forceuid,uid=andi,forcegid,gid=users,noserverino > 0 0 > > The mount command provides somewhat more information: > > //ds12/home on /media/ds12_home_andi type cifs > (rw,relatime,vers=1.0,cache=strict,username=andi,domain=WORKGROUP,uid=1000,forceuid,gid=100,forcegid,addr=192.168.0.12,uni...
2018 Jun 26
1
Fwd: Re: Ubuntu 18:04 not getting 'home' directory from DC
...nfigurations and that is why many programs would not run. see the mounts below: Correct and works ("vers=1.0,sec=ntlm"): root at CY-SALE:~# mount -v | grep /home/test //10.157.1.32/home/test on /mnt/home/test type cifs (rw,relatime,vers=1.0,sec=ntlm,cache=strict,username=test,uid=10109,forceuid,gid=10001,forcegid,addr=10.157.1.32,soft,unix,posixpaths,serverino,mapposix,*acl*,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1) Does not work Default (no vers or sec): root at CY-SALE:~# mount -v | grep /home/test //10.157.1.32/home/test on /mnt/home/test type cifs (rw,relatime,vers=defau...
2019 Feb 08
8
32 seconds vs 72 minutes -- expected performance difference?
## QUESTION I am sharing a 120GB folder with lots of files via Samba on a LAN (1Gbps connection). 1) Doing an `ls -lR` on the server (on this folder) takes ~32 seconds, compared with **72 minutes** on the client. Is this difference in performance expected (due to network and protocol overhead)? 2) While the client is executing an `ls -lR`, one smbd process on the server uses about 30-40% of a
2017 Aug 08
0
Smbclient cant transer large files
...is always "Write AndX Response fails with STATUS_INVALID_PARAMETER" The same drive can be mounted and accessed easily with cifs: //vienas01.andritz.com/HIPASE on /media/HIPASE_Q type cifs (rw,nosuid,nodev,relatime,vers=1.0,cache=strict,username=<snip>,domain=<snip>,uid=1000,forceuid,gid=1000,forcegid,addr=172.24.180.161,file_mode=0755,dir_mode=0755,nounix,mapposix,rsize=61440,wsize=65536,echo_interval=60,actimeo=1,user=<snip>) The problem seems to have appeared with 2:4.2.14+dfsg-0+deb8u7: http://metadata.ftp-master.debian.org/changelogs/main/s/samba/samba_4.2.14+dfsg-0...
2024 Nov 26
2
Random EINVAL when opening files with SMB3 POSIX extensions enabled
...", O_RDONLY) = -1 EINVAL (Invalid argument) The weird thing is that it's intermittent. It'll fail with EINVAL many times in a row and then suddenly work and then start failing again. When it fails, I see a message like this in the client's dmesg: [ 4295.972953] CIFS: enabling forceuid mount option implicitly because uid= option is specified [ 4295.972958] CIFS: enabling forcegid mount option implicitly because gid= option is specified [ 4295.972961] CIFS: Attempting to mount //sm-1.int.chiller3.com/home/Documents/Notes/Linux/Shells.txt [ 4295.974221] CIFS: VFS: cifs_...
2018 Jun 20
4
Ubuntu 18:04 not getting 'home' directory from DC
...shared:121 - tmpfs tmpfs > rw,size=397688k,mode=700 > Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (mount.c:558): 109 24 0:42 > /rachelj /mnt/home/rachelj rw,relatime shared:68 - cifs > //cy-vault/home/rachelj > rw,vers=2.1,sec=ntlmssp,cache=strict,username=rachelj,domain=CY,uid=10161,forceuid,gid$ > Jun 20 10:29:35 CY-MKT-10 lightdm[823]: command: 'pmvarrun' '-u' > 'rachelj' '-o' '1' > Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (pmvarrun.c:258): parsed count > value 0 > Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (pam_mount.c:441): pmvar...
2017 Oct 11
4
Using GPO to mount shares on Linux
...? > > Here: > > > root at dmmember:~# mount | grep username > > //fileserver.company.com/username on > /home/username/username type cifs > > > (rw,relatime,sec=ntlmi,unc=\\filehost.company.com\username,username=us > > > ername,domain=WRKGRP,uid=49611,forceuid,gid=513,forcegid,addr=192.168. > > > 89.2,unix,posixpaths,serverino,acl,rsize=61440,wsize=65536,actimeo=1) > > root at dmmember:~# > > MJ > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/...
2018 Jun 20
0
Ubuntu 18:04 not getting 'home' directory from DC
...rw,nosuid,nodev,relatime shared:121 - tmpfs tmpfs rw,size=397688k,mode=700 Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (mount.c:558): 109 24 0:42 /rachelj /mnt/home/rachelj rw,relatime shared:68 - cifs //cy-vault/home/rachelj rw,vers=2.1,sec=ntlmssp,cache=strict,username=rachelj,domain=CY,uid=10161,forceuid,gid$ Jun 20 10:29:35 CY-MKT-10 lightdm[823]: command: 'pmvarrun' '-u' 'rachelj' '-o' '1' Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (pmvarrun.c:258): parsed count value 0 Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (pam_mount.c:441): pmvarrun says login count is...
2018 Jun 21
0
Ubuntu 18:04 not getting 'home' directory from DC
...mpfs >> rw,size=397688k,mode=700 >> Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (mount.c:558): 109 24 0:42 >> /rachelj /mnt/home/rachelj rw,relatime shared:68 - cifs >> //cy-vault/home/rachelj >> rw,vers=2.1,sec=ntlmssp,cache=strict,username=rachelj,domain=CY,uid=10161,forceuid,gid$ >> Jun 20 10:29:35 CY-MKT-10 lightdm[823]: command: 'pmvarrun' '-u' >> 'rachelj' '-o' '1' >> Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (pmvarrun.c:258): parsed >> count value 0 >> Jun 20 10:29:35 CY-MKT-10 lightdm[823]: (pam...
2018 Jun 19
6
Ubuntu 18:04 not getting 'home' directory from DC
Hello, I've been trying to get Ubuntu 18.04 to work with Samba AD, seems I am almost there but am unable to get home directories to mount properly.  The domain join went without a problem but because the default cifs ver changed in Ubuntu to get other Samba shares on a samba file server to mount I had to add to it's smb.conf: client min protocol = SMB2 client min protocol = SMB3 So