Questions tagged [samba4]

81 questions
14
votes
1 answer

Getting Samba working in manjoro linux, daemon failed to start: Samba detected misconfigured 'server role' and exited.

I recently tried to start samba on manjoro linux. systemctl start samba.service systemctl status samba.service ● samba.service - Samba AD Daemon Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled; vendor preset: disabled) Active:…
nelaaro
  • 1,333
  • 3
  • 15
  • 20
13
votes
2 answers

Reloading Samba4's smb.conf without restarting the service

I want to tweak smb.conf without causing network hiccups for folks who rely on our samba4 fileshare. I made an obvious path change that should only affect my own private share, and ran smbcontrol smbd reload-config. It didn't complain, but didn't…
Kev
  • 1,729
  • 4
  • 27
  • 47
12
votes
0 answers

show running config of samba

Is there a way to unambiguously get the running config of a samba daemon? I can't find any reference to it in the manual. Of course you run testparm, but that would only show the validity of the explicit configuration; I would also like to the see…
hbogert
  • 729
  • 9
  • 23
7
votes
2 answers

possible to make samba use /etc/shadow

this would be for whatever Samba versions are in RHEL/CentOS >= 7.6. I think Samba >= 4.8. for each user account to be able to have samba access I do smbpasswd -a . As such the user's system login password is independent of the samba…
ron
  • 5,749
  • 7
  • 48
  • 84
5
votes
0 answers

Resolve NetBIOS Names via Samba >= 4.4

Through StackExchange, we know how to configure Linux to resolve NetBIOS names with older versions of Samba, and I have configured my system in those ways. (I have installed winbind, configured my /etc/nsswitch.conf correctly and confirmed my…
palswim
  • 4,919
  • 6
  • 37
  • 53
4
votes
0 answers

How to have synchronized samba passwords with local linux accounts where linux account are the leading system/authority?

How to have synchronized samba passwords with local Linux accounts where Linux accounts are the leading system/authority? This seems to be a surprisingly complex request/requirement. Since I already searched the interwebs for weeks and still yet…
Axel Werner
  • 978
  • 1
  • 9
  • 19
4
votes
2 answers

inotifywait doesn't monitor Windows users saving to Samba share on Linux

I have inotifywait(version 3.14) on Linux to monitor a folder that is shared with Samba Version 4.3.9-Ubuntu. It works if I copy a file from Linux machine to samba share(that is on different machine, under Linux as well). But if I copy a file from…
bstand
  • 51
  • 1
  • 6
4
votes
1 answer

Store Windows print driver on Samba for a CUPS print server

I'm trying to setup a (Debian) print server for both my Windows and Linux (Ubuntu) workstations. What I aim to have: Printers are configured on print server's CUPS. Queue are created and managed (pause, transfer, etc.) here (id. the web…
CDuv
  • 362
  • 2
  • 5
  • 12
3
votes
1 answer

Opportunistic CIFS protocol version (minimal version) selection based on connecting client or share?

Question(s) How - if at all - can I configure a client-specific or share-specific exception, allowing SMB1? I understand the security risk with enabling SMB1 and therefore would like to minimize the attack surface. As long as there are exclusively…
0xC0000022L
  • 16,189
  • 24
  • 102
  • 168
3
votes
1 answer

default passdb backends in Samba

The smbpasswd manual state the following: "Note that the default passdb backends require the user to already exist in the system password file (usually /etc/passwd), else the request to add the user will fail." Source:…
fektom
  • 53
  • 1
  • 2
  • 5
3
votes
0 answers

Samba4 member server smbclient fails with NT_STATUS_NO_LOGON_SERVERS

I am attempted to resolve a problem with a new CentOS 7 (samba 4) member server in my domain. It could join the domain (using realm command) but it is not responding to smb queries properly. I used the smbclient program and compared the output…
TSG
  • 1,580
  • 6
  • 26
  • 42
3
votes
1 answer

samba4's ldbsearch complains about authentication for basic searches

So I understand the concept of binding to a LDAP server of any kind and performing either authenticated or anonymous queries. And my goal is to get the full dn=...dc=example,dc=com for a specific user. And I know I've set up my samba4 as a AD…
Torxed
  • 3,567
  • 7
  • 27
  • 44
3
votes
0 answers

Is this a valid setup for tracking file ownership using Samba share and managing rights?

Just need someone to look over my shoulder and tell me if this setup will work without any big problems down the road after I start adding users. Current setup: Ubuntu 14.0.4LTS Samba 4.1.6-Ubuntu External drive mounted in /etc/fstab settings as…
3
votes
0 answers

Samba 4.1.9 returning "access denied" trying to change share perms from Win client

UPDATE: version mismatch seemed to stop happening for some reason, although not sure why/at what point. Have a "public" (within LAN...like this) read-write share on a CentOS 6.4 box running, according to /var/log/samba/log.samba, "samba version…
Kev
  • 1,729
  • 4
  • 27
  • 47
2
votes
1 answer

selinux samba samba_share_t and chcon vs semanage fcontext

Can I get clarification on how to properly set up samba folder shares on a RHEL/CENTOS 7 linux server having selinux enforcing. SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to…
ron
  • 5,749
  • 7
  • 48
  • 84
1
2 3 4 5 6