Is an howto to join ubuntu samba to ucs samba for fileshareing?

Hello all,

i’ve setuped new ubuntu 18.04 lxc. I would like to join the sambapart to UCS for fileshareing. Is for this an howto available? Using here UCS 4.4.1.

Thank a lot :slight_smile:

Hello,
have you tried univention-domain-join

beste reguards
pider

@pider That doesn’t join a Ubuntu Samba to the domain.

@boospy But it should be possible to use this tool. But afterwards you have to join Samba manually like it’s done in this guide.

You have to create a /etc/samba/smb.conf:

[global]

workgroup = MYUBUNTU
client signing = yes
client use spnego = yes
kerberos method = secrets and keytab
realm = MYUBUNTU.EXAMPLE.COM
security = ads

Afterwards you could try the Samba join:

sudo kinit Administrator
sudo net ads join -k

But I haven’t tested this, so there is no guarantee that this will work.

Very thanks for the answer. I also found this too: https://docs.software-univention.de/domain-4.4.html was very important because the jointool for systemonly did not work with LXC’s.

Will join my local machines samba to ucs. Hope it will work. After i write back here :slight_smile:

Mastodon