Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [samba4]

The tag has no usage guidance.

0
votes
1answer
51 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
74 views

Samba share can only be accessed with smbclient but not Explorer from Windows 10?

I've set up a Samba server on Linux (Ubuntu 17.04) to share files with my Windows computer. The server is up and running, but what's strange is that I can only access the shared folder using the ...
0
votes
0answers
105 views

SAMBA 4.9 AD: Join of a new ADDC with internal DNS to a 4.2 AD with bind dns?

I've to fix this situation soon and need your advice: Environment is now: 2 old gentoos with never patched Samba AD's of the old 4.2.x generation. The DC do use the bind service as DNS and the domain ...
1
vote
0answers
164 views

Authenticating Squid 3.5 with Active Directory (samba 4) on Ubuntu 16.04? [closed]

I need authenticate a squid 3.5 with a Active Directory build (over SAMBA4) POST-DATA: This ubuntu is already joined to the Active Directory built on SAMBA4 I do not know if the problem is in the ...
0
votes
1answer
125 views

Debian 9 - Samba - smbpasswd: error while loading shared libraries: liberrors.so.0:

I am trying to set up Samba on my Debian 9 server and using smbpasswd to set the samba user password. Unfortunately, whenever I run the command: smbpasswd -a myUsersNameHere I get the error ...
1
vote
0answers
520 views

securing a samba server to work with windows 10 and linux at the highest possible smb protocoll with encryption

i try to build a samba server for filesharing within my network. the main goal is a samba fileshare server with two shares (one "exchange" folder for guest access, writable, one folder "cifs" only ...
1
vote
1answer
1k views

How to change permissions on SAMBA subfolder?

I have a SAMBA server with ROLE_DOMAIN_MEMBER in Active Directory. My main aim is to make a different permissions on share sub-folders on very single share. It can be done using Linux acl or Windows ...
0
votes
0answers
183 views

NT_STATUS_HOST_UNREACHABLE only with NETBIOS

I Have Two computer with hostnames Computer-A and Computer-B. Computer-B can access Computer-A with both IP and NetBios but Computer-A can't access Computer-B with NetBios so smbclient -U username //...
0
votes
2answers
195 views

How to create Samba share accessible writable, readable but undeletable

I need to create Samaba share that contains directories and files undeletable for everybody but everybody must have permissions rwx. Is there is some bypass way tom make it? P.S. On the server(Linux) ...
0
votes
1answer
645 views

Correct syntax for mounting smbfs in FreeBSD?

I have two networked FreeBSD 11.1 servers, both installed with Samba 4.6.x. No issues with Samba, which browses nicely from any Windows client, but I cannot seem to find the syntax to mount samba ...
2
votes
1answer
625 views

How can I run a Systemd service under an Active Directory account?

I'm running a NAS under Ubuntu 17.10 and I have changed the Samba configuration so that it now runs as a domain controller. The next step I'm trying to do is to modify some Systemd services on the ...
1
vote
0answers
528 views

SSO with Samba4 Client and Samba3 Server without Active Directory

In the office I'm currently working is the following setup: a linux server managing the accounts for single sign on, shares and printers. This will be called 'server129' and should not be modified. (...
1
vote
0answers
310 views

Samba4 Bind9 dynamic DNS Update Error GSS failure

I try to register my DHCP Clients to my Samba 4 based domain controller (DC). For this I followed the guide Configure DHCP to update DNS records with BIND9. I've searched around the internet without ...
1
vote
1answer
333 views

Unable to explore sub-directory in Samba share with Linux ACLs

The basic problems is that I have a Domain Connected QNAP and want to publish the RSnapshot snapshots via Samba so users can recover their own files from backups. (As per the original RSnapshot HowTo: ...
2
votes
2answers
2k views

mount.cifs (cifs-utils): Where do the default options come from?

I have a FreeNAS 11.0-U4 box running a CIFS share, which I normally access from my Linux system via an autofs mount. A few days ago, I noticed the mount misbehaving, displaying all files with useless ...
0
votes
1answer
246 views

Univention - Samba - ERROR - exceptions.TypeError - No such file or directory

I'm configuring Univention UCS 4.2 I did a normal installation, installing the following UCS applications: Active Directory Connection Active Directory Takeover Active Directory-compatible Domain ...
1
vote
2answers
2k views

get access denied on samba AD share

I can not access my samba shares after upgrade my centos to 7.4,samba version was upgraded to 4.6.2 I joined centos to windows domain by realm command,domain user(format as username@doaminname) could ...
2
votes
1answer
549 views

FreeBSD: Samba eating memory

I have a freebsd file server root@vstorage:~ # freebsd-version 11.1-RELEASE-p1 Here's some additional info. root@vstorage:~ # dmesg | grep CPU: CPU: AMD Phenom(tm) 9750 Quad-Core Processor (2400....
1
vote
0answers
189 views

Univention UCS - AD Takeover - At least one GPO is still missing in SYSVOL

Using Univention Corporate Server (UCS) and trying to takeover an Active Directory on a Windows Server 2008 R2... Following the guide: https://docs.software-univention.de/manual-4.2.html#windows:...
0
votes
1answer
68 views

Getting Active Directory parameters for both: Windows Server 2008 and Linux Server

How do I get the values of the following parameters: DNS domain name NetBIOS domain name Kerberos realm LDAP base DN For both: Windows Server 2008 R2 (64-bit) with an Active Directory configured ...
1
vote
1answer
263 views

CIFS Stuck at Directory Listening

I have issues with my mounted Fileshare (remote server is a SMB v3 Windows Srv 2012 Fileserver). There are multiple Folders each with around 200 to 1500 subdirectories As soon as I want to show the ...
1
vote
1answer
8k views

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 ...
1
vote
1answer
124 views

winbind using wrong netbios service code in queries

For the past day, I have been trying unsuccessfully to let my Ubuntu VM be able to resolve NetBIOS names on the local network, to find some non-computer devices (Printers, special barcode machines, ...
0
votes
1answer
316 views

Some Windows clients do not appear in Samba's DNS after joining Samba domain

I'm in the process of migrating my old PDC domain to Active Directory with Samba4 (4.5.2). What I did was quite straightforward - leave old domain, revert registry changes that allowed Windows 7/8 to ...
5
votes
1answer
8k views

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....
1
vote
1answer
309 views

Samba authenticate users against Windows Domain Controller (without /etc/nsswitch.conf)

I want to setup a samba server that offers shares. The only thing it should do is: Authenticate access to the shares against an existing windows domain controller. The things I want to avoid is: ...
0
votes
1answer
956 views

How to add Samba user “nobody” with pdbedit?

How do I add the Samba user nobody (for public shares) with pdbedit? The old style would be smbpasswd -an noboday. What is the pdbedit-pendant for it?
2
votes
0answers
997 views

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 ...
1
vote
0answers
444 views

Can't create samba 4 share which accepts domain credentials

I have created a CentOS7 server which I joined to a domain. I confirmed using 'realm' that it's part of the domain, and confirmed with 'id' that I can check membership of groups. I am now trying to ...
0
votes
1answer
936 views

How do setup a Samba4 share that does not require any user authentication on FreeBSD 10.x?

Since the share is only available on my local network, I would like to setup a share that requires no username/password. I'm trying to map the share from my Mac Pro. I have no problems mapping the ...
1
vote
0answers
2k views

CentOS 6.8 + Samba4 + Kerberos: No credentials cache found

I am trying to release a server using ‍‍CentOS 6.8 + Samba4 (Winbind - LDAP + Kerberos) + NSS. I was able to join the domain, but I still getting this warning/error message: [root@snfs2 ~]# net ads ...
0
votes
1answer
921 views

Install samba4.4.4 from source on centos7

Following the steps on Samba wiki page, I was able to build the samba source code. However, after sudo make install, I could not start the samba service since there is no systemd entry under /usr/lib/...
2
votes
0answers
1k views

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 ...
1
vote
1answer
1k views

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, ...
1
vote
1answer
522 views

Openchange installation error

I'm trying to install sogo with openchange activated on ubuntu 14.04 It's a fresh install. I have installed ubuntu with samba, and after login i have upgrated samba to samba 4 version apt-get ...
5
votes
0answers
1k views

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 /...
1
vote
0answers
327 views

Samba4 DNS - clear old DNS records

Creating AD 2003 domain using Samba-4.3.4 with internal DNS. ISC-DHCP as a server. On Debian. DNS updates comes only from DHCP-server. What tool do I have to use to clear old DNS records, or what ...
1
vote
1answer
324 views

OpenVZ acl support for Samba

Setting up Samba-4.3.5 as AD domain fileserver in OpenVZ container, running in ProxMox (pve-manager/3.4-6/102d4547 running kernel: 2.6.32-39-pve). Hardware node has enabled acl support for /var/lib/vz....
0
votes
1answer
217 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 ...
3
votes
1answer
6k views

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 (...
0
votes
1answer
1k views

How does this Turnkey Linux domain-controller replace Microsoft Active Directory?

How does this VM replace Microsoft Active Directory, on a network with Windows Machines on it? Is there a specific component that is installed that replaces it? Is it Samba or Webmin? Are there any ...
1
vote
1answer
1k views

Non-root user cannot change Samba password

Samba users cannot change their own passwords. The password can only be changed using root account using the command smbpasswd -a <username> But I want users be able to change their passwords ...
1
vote
0answers
411 views

Samba AD DC not showing printers

I have setup my Ubuntu Server as an AD DC using Version 4.1.6-Ubuntu. When I try to access the printers share from a Windows Client I am getting an "Illegal Function" error. I tried it from Windows 10 ...
3
votes
0answers
93 views

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 ...
0
votes
1answer
70 views

return files on samba file server

I use Ubuntu 14.04 x64bit Server as a Samba File Server. I executed: find /home/samba/* -type f -mtime -11 -exec mv /home/samba/milan {} \; I wanted to copy files, not move. How to bring back all ...
1
vote
1answer
544 views

SOGo without Samba4 Active Directory

I'm tinkering with SOGo groupware to be run on my homeserver. I'm especially interested in the ActiveSync capability to synchronize contacts and calendar of my Android devices without the need for ...
0
votes
1answer
457 views

Why is smbpasswd located in samba-client package?

[root@localhost data]# yum provides smbpasswd samba-client-4.1.12-21.el7_1.x86_64 : Samba client programs Repo : base Matched from: Filename : /usr/bin/smbpasswd [root@localhost data]# yum ...
1
vote
1answer
2k views

Pros and Cons of Samba and Windows as fileserver [closed]

Beyond the licenses of each one of them: what are the benefits and cons that have both Samba (Linux) and MS Windows as fileserver?
1
vote
1answer
1k views

Kerberos Join Active Directory Failure

I try to join Active Directory and Samba 4 in Ubuntu 12.04.05. When I run host -t SRV _kerberos._udp.test.sg I get the error: Host _kerberos._udp.test.sg not found: 3(NXDOMAIN) meanwhile $# host -...
1
vote
0answers
494 views

Disabling sslv3 on samba4

How can I disable sslv3 on samba4 ldaps and just have tlsv1 enabled? I have not been able to find any documentation or guides on disabling this feature. This is in regards to the poodle ...