Questions tagged [samba4]
The samba4 tag has no summary.
88 questions
0
votes
1
answer
33
views
find when samba smbpasswd was last updated?
like with passwd -S <user> showing the last time the linux login password was updated via passwd...
is there a way in samba as root to show when the last time a valid samba user listed via ...
0
votes
1
answer
93
views
samba home folder unable to list, create or edit files and folders
I have shared my home folder over samba as follows:
when i try to create folders from windows I get error "cant create" but folder is created. But permissions are all messed up.
file is also ...
0
votes
0
answers
20
views
Problems with the group and permissions assigned to a file when creating it from a Windows client on a share in SAMBA AD as a file server
I have created a SAMBA AD Server, with a SAMBA member as File Server. I manage it with a Windows client through RSAT. After creating the resources in smb.conf, assigning the setgid to its ...
1
vote
1
answer
583
views
SAMBA password expiration
RHEL-8.10 to be specific
samba-4.19
security = user in /etc/samba/smb.conf [global]
passdb backend = tdbsam in /etc/samba/smb.conf [global]
smbpasswd -a <user> is done so there is an ...
1
vote
0
answers
77
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% ...
0
votes
1
answer
159
views
configure samba homes to different location
the default /etc/samba/smb.conf has
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
my account as specified in /etc/passwd is /home/ron with ...
3
votes
1
answer
9k
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 /...
1
vote
1
answer
320
views
Cannot kinit nfs/ principal
I'm trying to mount a NFSv4 share but the mount command cannot get permissions to mount the share.
When I try to mount a share I receive the message:
mount.nfs4: mount(2): Permission denied
And if I ...
1
vote
0
answers
219
views
New LDAP user can't connect to [homes], but older one can?
My system:
# cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=...
0
votes
1
answer
343
views
Samba AD DC - Directory entry for a shared folder
Suppose that you have:
a Linux machine (A) running a Samba AD DC,
a Windows machine (B), with a shared folder \\B\shared_folder.
I would like to know if there is an entry in the directory for this ...
0
votes
1
answer
4k
views
Special char in password for smb mount
These are lines containing smb mounts in my /etc/fstab
//192.168.2.2/Company /home/myname/server/company cifs users,credentials=/home/myname/.smbcredentials,uid=1000,gid=1000,noauto 0 0
//192.168.2.2/...
0
votes
0
answers
676
views
Samba process already running. How to solve?
I'm using Internal DNS (SAMBA_INTERNAL). But I have the following errors:
systemctl status samba-ad-dc
samba-ad-dc.service - Samba Active Directory Domain Controller
Loaded: loaded (/etc/systemd/...
0
votes
0
answers
452
views
why can I delete a root owned file through samba share that is an NFS mounted folder?
RHEL 7.9
a server having the physical mount of /data has SELINUX as enforcing with the selinx bool samba_share_nfs set to on; this /data folder is NFS exported
a few NFS client servers mount this /...
1
vote
0
answers
295
views
rsync: Unknown --usermap name on receiver for AD user
I'm trying to move files to a new fileserver which is a samba4 domain member using rsync -a.
Unfortunately the uid and gid are not mapped correctly. The files on the target get the uid from the source....
1
vote
2
answers
1k
views
SAMBA(Openwrt) Share not show in File explorer (Windows 7)
I have this configuration with Samba 4.14.12:
[global]
netbios name = MyRouter
interfaces = br-lan eth0
server string = MyRouter
unix charset = UTF-8
workgroup ...