You are not logged in.

#1 2018-06-11 22:24:06

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

[SOLVED]Connect EMBY (arch) server to use SMB shares with windows 2016

Hello everyone,
As I am pallning to use EMBY and PLEX side by side (so I can see how they both match up to each other) I am now setting up my arch linux VM over here.

I have found that I need to add this machine to the AD by using kerberos, and I have managed to get a kerberos certificate.
But when I try to use samba to connect to my AD domain I really cannot do it, meaning samba won't start at all.

I am trying to follow this guide: Active Directory Integration
but it seems like I am stuck on the part where I need to configure samba.
I tried to look up and make some changes according to what my logic is at 01.00 (that's 1 AM for 12h watches)

wiki.samba.org

Yes, I am relatively new in to the Linux community, that is why I am posting this here.

My smb.conf:

[Global]
  netbios name = arch_EMBY
  workgroup = SKUTTGARD
  realm = SKUTTGARD.NET
  server string = %h ArchLinux Host
  security = ADS
  encrypt passwords = yes
  password server = 2016-Datacenter.domain.net
  client signing = auto
  server signing = auto

#default idmap config for local BUILTIN accounts and groups
  idmap config * : backend = tdb
  idmap config * : range = 10000-20000

#idmap for the DOMAIN domain
  idmap config DOMAIN: backend = ad
  idmap config DOMAIN: schema_mode = rfc2307
  idmap config SKUTTGARD:range = 10000-999999


  winbind use default domain = Yes
  winbind enum users = Yes
  winbind enum groups = Yes
  winbind nested groups = Yes
  winbind separator = +
  winbind refresh tickets = yes
  winbind offline logon = yes
  winbind cache time = 300

  template shell = /bin/bash
  template homedir = /home/%U
   
  preferred master = no
  dns proxy = no
  wins server = 2016-datacenter.DOMAIN.net
  wins proxy = no

  inherit acls = Yes
  map acl inherit = Yes
  acl group control = yes

  load printers = no
  debug level = 3
  use sendfile = no

output from testparm -s

Load smb config files from /etc/samba/smb.conf
Error loading services

if you need more logs, please tell me where I can fetch them and I will try to share them (kinda hard if long log, since I can't get my share up and running)

if you feel that this post is too tech savvy for the beginners corner, please move it to where you think this belongs smile

Thank you for taking your time with this, I really appreciate it! big_smile

//your Friendly neighbourhood snake

Last edited by f4rm0r (2018-06-12 20:10:23)

Offline

#2 2018-06-12 20:09:53

f4rm0r
Member
Registered: 2011-08-23
Posts: 37

Re: [SOLVED]Connect EMBY (arch) server to use SMB shares with windows 2016

as it turns out, I read through the text again and compared to the tutorial I was following... I had a few spelling misstakes that I had to fix (love it when you're tired and can't spell wink )
Anyway, thank you for taking your time with reading this, I will mark this as solved smile

Offline

Board footer

Powered by FluxBB