All Questions

Tagged with
Filter by
Sorted by
Tagged with
-3
votes
1answer
47 views

Terminal can’t use 'mv', because 'permission denied' (Linux Mint/Debian)

I want to move a file using mv; this is the command: mv /etc/samba/smb.conf /etc/samba/smb.conf.bak But it returns: mv: cannot move "/etc/samba/smb.conf" to "/etc/samba/smb.conf.bak": permission ...
0
votes
0answers
4 views

Should I use Samba's vfs_aio_linux or vfs_aio_pthread or neither?

The server is running samba 4, should I use vfs_aio_linux for best performance? Or is it automatically used by samba? Or is vfs_aio_pthread better? Thanks!
0
votes
1answer
61 views

Samba Shared Folder with Windows Clients

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients ...
0
votes
0answers
48 views

Adding a network printer with lpadmin but using gnome keyring for auth

I am using lpadmin to add a printer to the system, Ubuntu 18.04 for this example. The problem is that the file is stored in plaintext in /etc/cups/printers.conf. Is there a way for it to use gnome ...
0
votes
0answers
62 views

Samba shared folder over openvpn very slow - Linux OS

Recently I've installed Ubuntu 18.04 and I've noticed that sharing a samba folder from a Linux server over a openvpn tunnel is very very slow. Tried to avoid using DNS, but still have no results. ...
1
vote
1answer
95 views

Transfer files from Virtualbox guest to host in script with smbclient

I'm trying to develop a script that will run on a CentOS 7 machine, but for now I am developing it in a Virtualbox instance (also CentOS 7). The script will be handling several tasks, but the part I'm ...
2
votes
1answer
47 views

Samba is constantly writing to HDD

I'm running a Samba server on Raspbian and observing that Samba during idle periods is constantly (every minute) writing to HDD (maybe doing some journaling?) what causes the HDD to constantly spin ...
1
vote
2answers
3k views

How to check SMB connections and the dialect that is being used on linux?

I want to check the dialect version in SMB connections. On Windows, Get-SmbConnection will get it. PS C:\Windows\system32> Get-SmbConnection ServerName ShareName UserName Credential ...
0
votes
1answer
735 views

How to enable access control for CIFS mount point available for multiple users?

I have a samba server configured with multiple users. By default, mounted cifs shares only use the credentials provided at mount. Everyone who can access the mount point accesses the files as the ...
0
votes
1answer
39 views

Is it possible/practical to use a Linux server to authenticate Windows devices?

I am from a small concern and we are currently looking into getting a server purely for authentication and saving user data's. I do not want to push software to the devices or anything like that. I ...
0
votes
2answers
2k views

smbclient not able to connect to after upgrade to RHEL7

smbclient //ERERYMJF/pwiwerp_Informatica -U 'PWI.kpp.com\a121212' Above command was working fine before and not working on RHEL7. I am getting below error. SPNEGO(gse_krb5) NEG_TOKEN_INIT failed: ...
2
votes
1answer
2k views

Connecting to Active Directory (possibly with winbind)

I'm trying to figure out how to integrate Linux environment authentication system to Windows server 2012, and I found a way using winbind. I've searched Google and there are several pages that ...
0
votes
0answers
233 views

Samba Share Regularly Hangs for Win 10 Client

I'm running samba 4.77 on Fedora 27 with Kernel 4.16.12. I've got a fairly basic samba config, which I have posted below. I use Windows 10 clients. This problem only ever seems to happen on my samba ...
1
vote
1answer
4k views

Linux based SMB share: can access only using owner account from Windows [duplicate]

In Windows when I connect using test_reader account I can access with no problems. However when I use peter account it gives me Access Denied. I did some testing and if I change share folder ...
2
votes
0answers
11k views

GNU Samba server: check SMB version of exported and mounted shares

I have a NAS Zyxel NAS326 running on Linux acting as Samba server. I can't exactly say which Linux distribution, this is all I get from "uname -a": root@nas326:~# uname -a Linux nas326 3.10.39 #1 Fri ...
0
votes
1answer
297 views

put oldest file in log.txt on smbclient

We have 94 PC's on 1 site. There is a folder that we need to check for the oldest file in that folder on each PC. I can run a .txt file with all the IP's in a loop, but I don't know how to check and ...
5
votes
2answers
3k views

Windows clients will not refresh Linux samba file locally if reading file at intervals <= 10 seconds

If I have a windows client read a file on a Linux smb share at an interval <= 10 seconds, the windows client will show incorrect (cached?) information of that file. I've reproduced this on ...
0
votes
1answer
242 views

Samba share not accessable from other subnets

Thanks for taking a look to my issue and think with me for a solution. I have a samba server on a subnet 172.23.3.55/23 (2.0 --> 3.255) and within that subnet I can access the server no problem. Also ...
1
vote
1answer
913 views

SMB user is owner of directory but it is using group permission

Rewording: I have a directory with permission 755, shared using samba. I have a samba user abc:abc which is also the owner of that directory. Windows samba client was denied write to the directory. ...
1
vote
2answers
441 views

How to allow only the server to access the DNS service

I have a server with IP 10.0.0.1/24 and I have a firewall which is the default gateway with IP 10.0.0.2/24. I need to set permissions on the firewall to allow only the server to access the dns service....
-4
votes
2answers
226 views

I installed Samba in /usr/local. How can I run that? [closed]

how can I run samba if I installed it by this command: ./configure --prefix=/usr/local make -j4 make install
2
votes
1answer
3k views

Windows CIFS mount error “Function not implemented” or error -11 or -5

I'm trying to mount a shared drive hosted on a Windows Server 2016 on Linux. The following command works without an error: sudo mount -t cifs -o credentials=*,vers=2.1,iocharset=utf8 //IP/drive ...
0
votes
1answer
162 views

Transfer Files from SCO Unix to VirtualBox / VMware

I have an old Unix SCO running some 5.06 version on some IBM hardware. I want to clone the hard drive into an .iso image so that I can use it in VMware or VirtualBox on a brand new machine. I want to ...
2
votes
0answers
2k views

samba share inaccessible / you don't have permissions

I have setup a samba share folder, however, when I try to access the share, I am getting "Windows Can not access the \\server\share1. You don't have permissions to access \\server\share1" This server ...
0
votes
1answer
176 views

Univention UCS 4.2 - Failed 'Active Directory Takeover' process - Troubleshooting [closed]

I successfully installed Univention UCS 4.2. On this UCS 4.2 server I have installed the following applications / plugins: Active Directory Connection Active Directory Takeover Active Directory-...
0
votes
1answer
459 views

Windows client connecting to UCS / Samba server - The join operation was not successful

Using Univention Corporate Server UCS, I have the following Linux distribution: root@ucs:~# cat /etc/*-release DISTRIB_ID=Univention DISTRIB_RELEASE="4.2-2 errata159" DISTRIB_CODENAME=Lesum ...
0
votes
2answers
234 views

Linux Permissions - Inheriting / free for all shared folder

I used to run Windows Server and file sharing off my NAS was a breeze. I’ve worked out most permissions to make it work how I need and primarily use Samba to serve out the files. The only task I’m ...
1
vote
1answer
5k views

Samba access is denied in windows

I want to access linux (fedora 25 in virtual box), there is two issues: Configure with anonymous access, but windows still asks account and password to access linux by samba. Configure with account ...
0
votes
1answer
2k views

How do i use Samba Share ACL & Posix ACL together on linux

I'm looking Share ACL & Posix ACL (File permission) combination examples. But I couldn't find an example how can i use both together... I was using "chmod A+" on solaris. What I should use on ...
2
votes
1answer
2k views

Change permissions for mounted veracrypt drive in linux

I have a server with a mounted veracrypt volume (inner is NTFS, but tried ext4 with same results) and want to share it inside my local network with other computers (mostly windows). The problem is, I ...
1
vote
2answers
3k views

samba file sharing gives 0x80070043 in windows

I have samba set up on ubuntu server, and trying to share folders inside sharedfolders at the root directory. However, I get this error 0x80070043 in windows. root@ubuntu:~# ls -lh sharedfolders/ ...
73
votes
2answers
23k views

“WannaCry” on Linux systems: How do you protect yourself?

According to a rapid7 article there are some vulnerable Samba versions allowing a remote code execution on Linux systems: While the WannaCry ransomworm impacted Windows systems and was easily ...
1
vote
0answers
215 views

Gnome can't mount remote samba share without asking for a domain

On the standard Fedora 25 Gnome desktop, I have a remote samba share to which I can connect on the command line using: mount -t cifs -o username=myuser -o password=mypass //path/to/shared/ /local/dir/...
2
votes
0answers
2k views

intermittently cannot access CIFS <path>: “Host is down”

We have 2 Amazon ec2 AMI linux instances (2017.03) that have mounts pointing back to different windows servers in our office and other locations using cifs. These mounts have been up for about 2 ...
1
vote
0answers
511 views

Symlinks within a mounted cifs is appearing as directories

I have mounted a cifs(samba) share, and noticed that all the symlinks within the share are being shown as directories in the share. I have set unix extensions = no, in Samba. Side note, by setting ...
3
votes
0answers
747 views

Samba Share with OpenLDAP Users

I want to have following Setup: OpenLDAP Server where Users are stored. File Server with Samba Shares, where OpenLDAP Users should have access to. OpenLDAP Users already have access too several ...
0
votes
2answers
361 views

Samba Permissions in Linux

Whenever a file is being created by samba user it gets the permission -rwx------ 1 user1 group1 0 Feb 16 16:33 file.txt I want the group1 to get r-- or r-x permission everytime the user1 creates a ...
0
votes
1answer
756 views

How can I mount from CentOS7 a drive shared from a home router using Samba?

I'm aiming to get a command line mount sorted out first, then an (autofs?) fstab mount. My HP printer (it's surely *nix inside), and my win computer both can use the drive,but not my linux box. [eg: ...
1
vote
0answers
119 views

LAN Machine name resolution with zero configuration from linux to windows

I'm developing a software which will run in a Local LAN on linux machine, and this linux machine will use a shared folder from windows. I want the linux machine to be able to use the computer name (...
1
vote
1answer
41 views

Can only access one of the two Samba shared directories

I have a linux server that I am using to share various directories with Samba. I have two directories setup to share in my smb.conf, but I can only access one. Why does one work while the other doesn'...
1
vote
1answer
1k views

Cannot Modify / Delete files over samba share

I have a directory on my Linux machine that I want to share to my Windows machine. I want to be able to modify / delete these files from the Windows PC. I've installed and am using Samba to share the ...
1
vote
1answer
199 views

Mount issues with Samba under non-root user

Maybe someone can shed some light here as I'm confused. I have this setup: Server 1 (CentOS File Server) Shared directory /file/to/www/share (owned by web-user:web-user) Samba user "web-user" added ...
0
votes
1answer
69 views

Why samba can not grant access on some directories?

I have a server with samba installed. I need to share some directories under the /var/spool path. But I faced with strange trouble: I can not get access to /var/spool with samba. There is /etc/smb....
3
votes
0answers
245 views

Using alernative openLDAP UID to authenticate to Active Directory

I'm using Winbind to authenticate users to Active Directory. Everything is working perfectly when the usernames match. The problem is that many of the users have different usernames for Windows and ...
2
votes
1answer
3k views

How to move files on remote CIFS share into different remote folder using e.g. smbclient

I am looking for a linux command to move set of files from one folder to another on windows box remotely. I tried smbclient, but when I use it for moving files I have to perform two step process: ...
1
vote
2answers
9k views

Mount Samba in Linux Mint

How can I mount my Samba HD from my stock Asus n66u router to Linux Mint laptop over the air? I’ve tried tutorials, but they are either very confusing (since I don’t use Linux too often) or using a ...
2
votes
0answers
162 views

Samba unable to write when mounting from Linux

I'm having some weird issues with samba. Somehow I'm not able to write to the mounted share from Linux over VPN but it works without problems when mounting from Windows hosts on the same local network....
2
votes
1answer
393 views

Can login and browse in shares on samba server, can not access files

I´m pretty new to Linux so I've been having a hard time fixing this. Running the latest version of Mint. The files are stored on an auto-mounted NTFS partition. I can access the share, I can ...
0
votes
1answer
1k views

How to change Samba server description

I just installed debian and samba my debian computer name is "debian" but after installing samba it is showing like this(in windows network places) "Samba 4.1.17-Debian(Debian)" How can I edit/...
0
votes
1answer
249 views

Samba unix permissions messed up despite mask

I'd like to configure a share on a standalone samba serve where users have rw to their own files, but r to others in the same group (rwx and rx on folders respectively). It works well when users ...