Questions tagged [samba4]

Questions related to samba4 a file server with ability to act as an active directory domain controller.

Samba version 4.x. Samba is a free re-implementation of SMB/CIFS networking protocol used by Windows sharing etc. Version 4 is major rewrite which enables to serve as Active Directory Domain Controller.

samba official website

74 questions
11
votes
7 answers

Can read but cannot write to Samba share

I'm trying to set up a Samba share that is only accessible by a particular user. I'd like that user to have read/write access to all files in the share. The smb.conf file below will let me access the share through the one user 'patrick' but I can't…
9
votes
1 answer

Convert /etc/network/interfaces to netplan

I'm following this tutorial for making an Ubuntu active directory domain controller with Samba. The problem I have run into, is that he is using Ubuntu Server 13.10, and I am using the latest, 18.04. Somewhere between these 2 versions, Ubuntu…
4
votes
0 answers

smbtree not finding my samba shares, but I can connect to shares using Mac client

I'm trying to use smbtree to view samba shares on my local network. Several of those shares are hosted on my own server, which I am running all these commands on. I know the shares exist because I can connect to them on my Mac using the "Connect to…
almel
  • 201
3
votes
1 answer

login with AD user when "winbind use default domain" not set

I have a Samba4 domain controller and have added a Ubuntu 16.04 member server to the domain. I'm using samba+winbind for this and everything appears to work. The idmap backend is setup using "ad". Here is the smb.conf for reference. [global] …
JayG30
  • 61
3
votes
0 answers

Can't login with domain members on ubuntu 14.04 client joined to (samba4 -ubuntu 14.04) active directory domain

I have a samba4 server: [global] workgroup = MYWG realm = MYWG.ORG netbios name = MYWGADM server role = active directory domain controller dns forwarder = 8.8.8.8 idmap_ldb:use rfc2307 = yes log level = 3 template…
3
votes
2 answers

Troubleshooting Access Denied on SAMBA

I'm new to SAMBA, but have set up a SAMBA server on an Ubuntu 20.04 desktop, but consistently get Access Denied, when trying to map any SAMBA share from my Windows 11 laptop. How do I troubleshoot the problem? Here's what I believe to be the…
3
votes
0 answers

Samba 4 Database File sam.ldb Missing?

I am on Ubuntu Server 20.04, running Samba version 4.11.6-Ubuntu. I need to modify a Samba user account, but I am unable to open sam.ldb due to it apparently not being present. Here is the output: $ samba-tool user edit username ltdb:…
Kraus
  • 61
3
votes
0 answers

Samba Winbindd Failing Everyday

Everyday morning on my domain controller running samba 4.7.6-ubuntu winbind fails, If I try to run the command wbinfo -u (to list all users) I get the error could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE could not obtain…
Dan
  • 471
2
votes
1 answer

When is there a newer version of Samba 4?

Can someone tell me when Ubuntu comes with a newer version of there samba 4 package. The current version is samba 4.3.11-Ubuntu. When I look at the Samba site, this version is EOL, and already as of 2017-03-11.
2
votes
1 answer

Connect Windows 10 to samba share with specific linux user

I have a directory on my Ubuntu 14 box that I'd like to connect to via my Windows 10 box. I've created a new Samba user, set the new user's password, and verified that the new user has the proper permissions for the directory. When I try map to…
2
votes
0 answers

Active Directory Domain Controller Not Appearing in Network Folder

I'm having issues with my Active Directory domain controller, where my server does not show up on Network or My Network Places. I am running Samba 4.1.6-Ubuntu on Ubuntu Server 14.04.3. This issue occurred since the computer went from a workgroup to…
Andy
  • 21
  • 5
2
votes
1 answer

Can't mount samba shares

I'm trying to setup some samba shares in 14.04. After defining the shares, I can connect and also list the defined shares, but when I try to mount a share, I get the error: NT_STATUS_ACCESS_DENIED (using smbclient on the command line) Here's my…
user280921
2
votes
0 answers

Samba 4.1.6 Segfaults on 14.04 LTS

My Samba network folder disconnects on my Windows 7 boxes whenever I use Windows Explorer to open a file. The folder icons grey out for a minute or so, before becoming available again. However the the same files can always be programmatically read…
Stham
  • 21
  • 2
2
votes
1 answer

samba: create mask & force create mode can't set group write bit

Tried all combinations for create mask and force create mode. Regardless of this, all created files got "rw-r--r--" instead of "rw-rw-???" (I don't care about "others" permissions). smbd version 4.1.6-ubuntu (latest one from 14.04) Here's excerpt…
Troublemaker-DV
  • 358
  • 1
  • 3
  • 16
2
votes
1 answer

Alternative to missing samba_backup

The packaged samba-4 install does not include the samba_backup utility that normally comes with the source code install. Is it included in some other package? Is there an alternative solution that Ubuntu has created? Do I just need to ignore the…
1
2 3 4 5