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:

have you tried univention-domain-join

beste reguards

@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:


workgroup = MYUBUNTU
client signing = yes
client use spnego = yes
kerberos method = secrets and keytab
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: 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: