Skip to main content

Questions tagged [samba]

A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Samba wastes a lot of time with permission checks

I'm running a samba server on a DIY NAS at home. Some applications on Windows client PCs seem to trigger odd behaviour: Samba wastes a lot of time seemingly doing permission checks on various ...
Cobra_Fast's user avatar
0 votes
0 answers
61 views

Unable to connect to shared printer on Windows 10 from Ubuntu

When connecting to a shared USB printer on a Windows 10 host using Samba in Ubuntu 20.04, it fails with the following error message: NT_STATUS_ACCESS_DENIED Can anyone help please?
badkemp's user avatar
0 votes
0 answers
17 views

Issues mounting and accessing Netgear ReadyShare USB drive with smbclient and CIFS

I've a Netgear router and the possibility to attach an usb harddrive for readyshare. Netgear supports windows. NetBiosName: readyshare folder:media1 if i use Options:read all - no passwd, Write: ...
Schmaehgrunza's user avatar
3 votes
1 answer
163 views

old network printer/scanner on latest samba

Although this is for Xerox Phaser 3635MFP, symptoms may be similar when connecting an old network printer/scanner to a latest version of Samba server. The scenario is: latest Samba server (4.17.12) ...
likewise's user avatar
  • 570
0 votes
0 answers
24 views

Error on SMBCALCS "NT_STATUS_INVALID_OWNER"

I am trying to change permissions using command line from SMBCALCS to a Windows share. I have checked the the user has the proper permissions and the permissions setting works using the --set command, ...
jef2904's user avatar
  • 101
0 votes
2 answers
37 views

Unmet dependancies for python3-samba packages on debian 11 (osmc)

I'm trying to upgrade python3-samba from 2:4.13.13+dfsg-1~deb11u5 armhf to 2:4.13.13+dfsg-1~deb11u6 armhf, yet, when trying to do so I'm getting the following error : The following packages have ...
EVANGELOS KASOTIS's user avatar
0 votes
1 answer
43 views

Why does Samba create all new files/directories with 'root' as the owner?

I've created a new Samba instance and it works, but when I copy new files onto the Samba share they get created with the owner:group as root:myuser. All the files that I create on Linux itself have ...
Jez's user avatar
  • 1,006
0 votes
1 answer
197 views

Samba AD not able to login domain user on linux client

I am experimenting with Samba as active directory controller in my home network for the last two weeks. I installed samba on ubuntu server 22.04 following a couple of guides and videos, but this page ...
bas's user avatar
  • 101
0 votes
0 answers
15 views

Smbcacls faster connection

I am having issue with smbcacls performance. I have extracted the code from the utils source to create a custom smbcacls function. What I am having issue is this work flow is this talloc_stackframe ...
Sam1324's user avatar
  • 101
0 votes
0 answers
19 views

How to copy files from Debian PC to MediaBox folders PC use terminal?

Debian 11 (bullseye) and MediaBox (running linux) in local network. MediaBox accessible via SMB protocol and SSL. How to copy files from Debian to MediaBox folders use command line?
minto's user avatar
  • 535
1 vote
0 answers
65 views

Cannot touch a specific filename, but also cannot remove it [closed]

I'm using a linux terminal on a mounted drive which (according to df -Th ) is of type "cifs"; let's say I'm in directory /dir/. I created a file file_1. Then I deleted it, and now I want to ...
Jabber1's user avatar
  • 119
0 votes
1 answer
189 views

Why do "force create mode" and "force directory mode" parameters exist in smb.conf?

I am reading How to Set Up a Network Shared Folder on Ubuntu With Samba. At the "Step 2: Configuring Samba" section the following configuration is given: [sambashare] comment= Network Shared ...
Manuel Jordan's user avatar
0 votes
1 answer
19 views

/etc/samba/smb.conf: With what command's logical approach the octal values are based?: chmod or umask?

About Samba I am reading the following valuable tutorial: How to Set Up a Network Shared Folder on Ubuntu With Samba At the Step 2: Configuring Samba section appears the following configuration [...
Manuel Jordan's user avatar
0 votes
1 answer
28 views

What do (G) and (S) mean in samba's parameter configuration?

In the official documentation of Samba, the smb.conf(5) page has an "Explanation Of Each Parameter" section. For some parameters, two possible values (either (G) or (S)) are shown at the end ...
Manuel Jordan's user avatar
0 votes
0 answers
5 views

smb.conf's path and share_root in man 8 vfs_shadow_copy2

I have read man pages for samba configuration (smb.conf) and for vfs_share_copy2. My aim is to study features of vfs_share_copy2. My main question is this: How path parameter of smb.conf relates to ...
Георгий Гуминов's user avatar
1 vote
0 answers
103 views

Home Server/NAS Plagued by random crashes

I'm here to get help for an issue which has been plaguing me for a year. I'm using HP Elitedesk 800 G3 i5-7500 as my Home Server/NAS. I have the latest Debian 12 (Bookworm) on it. I'm running my ...
Aciel's user avatar
  • 11
0 votes
1 answer
54 views

smbclient deltree with read-only directories

I'm trying to delete files on a NetApp server using smbclient //servername/share -c "deltree directory_to_delete". It works except for folders which have the read-only flag set. In this case,...
Schorschii's user avatar
0 votes
0 answers
48 views

Do GUI text editors have a Samba share file size limit?

I cannot get Simple GUI text editors (xed or gedit) to open .txt files larger than 40 kb from a Samba share. I have a Samba share set up on the USB port on a TP-Link router. I have connected this to ...
user1977596's user avatar
1 vote
0 answers
39 views

ACL always sets group execute permissions on files (Samba)

I have some users in the "sambashare" group and some in the "sambashareAdmin" group. Only users from the "sambashareAdmin" group are alowed to change/create stuff. All ...
MrGlasspoole's user avatar
0 votes
0 answers
17 views

Why can't user access restricted folder via smb when member of a group?

I have a server running CentOS 7 with a samba share folder set up. There is a subfolder that I would only like certain users to be able to access. However, when I mount the samba share folder I am ...
jsjs12345's user avatar
1 vote
0 answers
22 views

configuring SAMBA for reasonable auditing

Can someone post an /etc/samba/smb.conf file that has configuring that will provide reasonable logging and audit information into a log file? My efforts thus far, in RHEL 8.9, have amounted to 98% ...
ron's user avatar
  • 7,264
0 votes
0 answers
91 views

How to view SMB share file history in Fedora 39

I've got some SMB shares mounted through fstab. The shares themselves are hosted on a TrueNAS Scale machine. My computer is running Fedora 39. The NAS is configured to regularly take snapshots of my ...
Cas's user avatar
  • 103
0 votes
0 answers
41 views

cifs mount is triggering NAS login/logout every couple minutes

I have Asustor NAS server and proxmox installed on other server. On proxmox I have installed plex and mounted some CIFS resources in fstab for plex. I see that, even if plex is disabled, every (about) ...
skoczo's user avatar
  • 1
0 votes
1 answer
130 views

Mount samba share so it's owned by root and users of a group can read/write

I'm trying to mount a samba share ho that it is owned by root and users of a group called smbshare can access it, read and write files in it. I tried putting this in my /etc/fstab: //fs/myshare /media/...
neurino's user avatar
  • 1,819
0 votes
1 answer
107 views

How does nginx work with accessing files on mounted SAMBA/CIFS share?

I have a server running nginx as a web server for video streaming and am considering using an external CIFS/SMB storage share mounted to the server. As the server would need to download and upload for ...
kataba's user avatar
  • 11
0 votes
1 answer
23 views

Old Unix apps: are Solaris PC Netlink and SCO AFPS the same program?

I'm using AFPS on Unixware, just for curiosity and learning (I already know there is Samba and AFPS is not supported since the 2008). Searching on net I see a product which has the same paths (/var/...
elbarna's user avatar
  • 12.8k
0 votes
0 answers
60 views

Any performance benefits of large inode sizes (ext4)

We have a video editing server split into two partitions. One for video footage and one for projects. On the projects partition there is totally 7TB of data and 250,000 files. Of these, 50,000 of them ...
swami's user avatar
  • 205
0 votes
0 answers
81 views

"dpkg: error processing archive" when trying to install python3-samba

I'm still early in my understanding of Linux and computers in general. I have a Raspberry Pi 3, and I'm trying to install python3-samba, and I've encountered some errors that I'm not too sure about ...
Yeah Nah's user avatar
0 votes
1 answer
32 views

Is it possible to skip "<service> started" entries from Samba logs?

I have just installed and configure SAMBA on my Raspberry under Raspbian Bookworm. I have noticed that there are many log entries like: rpcd_mdssvc version 4.17.12-Debian started. smbd version 4.17.12-...
Daniele's user avatar
  • 21
0 votes
0 answers
416 views

Anonymous Access to Samba Server (not share)

I'm pulling my hair out here, so I really hope someone can help. Background I had a Volumio Debian server and I set up the media files such that I could browse the server anonymously thus: \\192.168....
Mark's user avatar
  • 101
0 votes
0 answers
24 views

Shared library not found when installing samba-ad-dc with 800-171 security policy enabled

In the interest of ensuring compliance I’m trying to get the Samba DC running on Rocky Linux 8 with the FIPS 800-171 security policy enabled. Fresh minimal VM install from the DVD image, I download ...
moosemaimer's user avatar
0 votes
0 answers
51 views

Samba 4.7 - issue with UNC access via hostname/fqdn

Running Samba 4.7.6 on U18.04. Everything was working prior to a recent shutdown, in that you could access the shares via \\hostname\ or \\hostname.domain.com\. Now, these fail on Windows clients with ...
Will Dennis's user avatar
0 votes
0 answers
64 views

Gnome Files (Nautilus) cannot retrieve SMB share list of a server when double-clicking

I am running Gnome Arch. In Files, Other Locations, Networks, there is Server. If I double-click it, Files says "Unable to access location." If I type the server name smb://server and then ...
Damn Vegetables's user avatar
0 votes
1 answer
315 views

Can't Change Permission in Mounted Drive

Hello im new using Ubuntu. I try to change permission from directory in mounted drive but always back to root or user while run command 'chmod'. i already try this command : sudo mount -t ntfs -o ...
Dans988's user avatar
0 votes
0 answers
119 views

btrfs subvolume quota and free space for samba share

My btrfs filesystem is mounted under /mnt/btrfs. I then created a subvolume /mnt/btrfs/sv and enabled quotas. After that I set the quota to 10G with btrfs qgroup limit -e 10G /mnt/btrfs/sv and ...
std_unordered_map's user avatar
0 votes
1 answer
2k views

securing SAMBA smb.conf best parameters

given today's date, running windows 10 or later and connecting to a RHEL 8.8 or newer Linux system which currently has samba-4.17.5-3.el8_8 what is a best practice for parameters one should have in /...
ron's user avatar
  • 7,264
0 votes
1 answer
397 views

Active directory server set up DNS resolution failure or VERY SLOW, can I route external DNS requests the traditional way, before the server existed?

I'm very new to the world of active directory, windows server etc., so I apologise if some of the questions I ask are a bit stupid, but I'll try and explain exactly what I want to do below, and my ...
Oliver Ricketts's user avatar
0 votes
0 answers
77 views

Need permissions assistance with Samba share

Running Samba 4.13.13 on Debian. I just created a new ext4 filesystem on a 1 TB external drive, mounted it, and am attempting to share it. In smb.cnf, I copied the section from the last filesystem, ...
Swechsler's user avatar
  • 147
0 votes
0 answers
131 views

Samba file/folder deletion error after Debian 12 upgrade

I recently installed Debian 12 for Raspberry Pi and configured a Samba server. But now when I delete a file or a folder over the network I get an error, Samba object not found and then the file or ...
Neha's user avatar
  • 1
0 votes
2 answers
591 views

Windows not reporting correct used and available disk space on Samba server with ZFS

I have a Samba server running ZFS in Linux. It is a standard by-the-book install with no special configuration. Each share is mapped to their own ZFS dataset, but not all datasets have their own ...
MacroTradition's user avatar
0 votes
0 answers
101 views

Samba domain controller auto assign group IDs

I have successfully provisioned a Samba AD Domain Controller. I was able to join various Windows hosts to it and configure AD Users with roaming profiles. So far this works well. Now I have created a ...
T. Pluess's user avatar
  • 552
0 votes
1 answer
708 views

Samba ACLs prevent "full control"

I have setup a Samba file server as a Active Directory member. The file server works fine and users can access a share, create files and folders, delete and modify them etc. Now consider the following ...
T. Pluess's user avatar
  • 552
0 votes
0 answers
89 views

How to compile and transplant samba-4.19.0 as small as possible?

I am compiling samba-4.19.0 on Debian12 and then porting the compiled content to other systems. At first, I wanted to compile it into a static executable file as much as possible, but I couldn't find ...
just a student's user avatar
2 votes
0 answers
114 views

Samba does not show all ZFS snapshots

I am setting up a file server that uses Samba together with ZFS. I have configured Samba such that it shows the ZFS snapshots under "Previous Versions" in Windows; following is an excerpt of ...
T. Pluess's user avatar
  • 552
0 votes
0 answers
194 views

Creating password protected folders inside password protected samba share

I have already created a password protected samba share which is working fine, but my organizations requirement is as follows: Separate password protected directories for each department Inside every ...
Aparajith's user avatar
1 vote
1 answer
332 views

Error 0x80070035 browsing to samba share from Win2019 Server only

I have a samba v4.17.5 server working well, I can browse all of the shares from Win 10 clients. The clients and the samba host are members of a domain. However, when I try to browse the samba server ...
TSG's user avatar
  • 1,768
0 votes
1 answer
624 views

LuckyBackup with network drive, rsync errors 95 and 23

I installed samba on my Raspberry PI (Raspian OS Lite, latest version) to mount an external hdd (ext4, luks) connected via usb to my pi which is mounted and unlocked on boot. I then mounted the ...
luckyuser3342's user avatar
0 votes
0 answers
73 views

Mac Cannot unmount Disk Images that are mounted from Samba Shares

I am on a Mac OS 12.6.8. I have gotten Samba to work great with TimeMachine and general sharing of directories off the server which is running FreeBSD 13.2 with Samba Version 4.16.10. The one issue I ...
Alex's user avatar
  • 1
0 votes
0 answers
327 views

How to create a Samba share that is writable from Windows

Every time I create a shares I can only read but not write from windows but I can from android I am using webmin to create the samba shares # # Sample configuration file for the Samba suite for Debian ...
alex11704's user avatar
0 votes
1 answer
627 views

Samba server share files across two subnets

I'm with some problems setting up a Samba server between two subnets; I Have one subnet that has the Samba server and every computer in this lan can access the files. But now I have another server in ...
Anderson Silvestre's user avatar

1
2 3 4 5
22