Author Topic: HOWTO on adding Ubuntu/Linux clients with network home dirs  (Read 1332 times)

kyroha

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
HOWTO on adding Ubuntu/Linux clients with network home dirs
« on: November 23, 2017, 06:42:15 am »
The HOWTO on the wiki,  https://wiki.zentyal.org/wiki/Authenticating_Linux_client_against_Samba, could use an update.

I wanted to add some Ubuntu clients to a server.   I wanted to have all the regular users authenticate through Zentyal and mount home directories from the server (as well as a few other shares).

I tried to follow the wiki page through, but it only provides for local home directories.  If you want to create network home directories off of the Zentyal server, then it is not complete.  There are bits and pieces on this forum and elsewhere but nothing that seems to be 100% complete.   It is out of date but still usable for the server side of the configuration.

I found the following tutorial much more helpful for the client side configuration.  It uses a slightly expanded package set and does everything that I wanted to do.   Note that it references FreeNAS, but it works very nicely with Zentyal.

https://forums.freenas.org/index.php?threads/howto-integrate-linux-ubuntu-with-home-on-freenas-via-active-directory.44768/

Test all this on a throw away VM first until you know just what to do!   That saved me a lot of time.

The only gotcha I keep tripping on is to make sure that the Kerberos realm is IN ALL CAPS in the /etc/krb5.conf file!   If you do not do that you get an error that is not at all obvious to figure out.

I hope this is useful to others.