just started with UCS. But i struggle to get tutorials on how to set up “common use cases”. The manual is nice but seems to address users with some experience in UCS.
Back to topic:
I have ubuntu machines and joined them (finally) via the domain join.
I have users which can log in to the machines.
What I want:
Users shall log in to the machine, save files into their home dir (or worst case into any specific dir) and when they return the other day and login to another machine with their account their files shall be available there as well.
I want the dir to be accessible from “the outside” via browser. For example via nextcloud.
Could someone provide me with some guidance?
Says "By default there’s a Samba share for the home directories of each user. "
So i assume be default a vanilla installation shall have my desired option ? Or do i miss some point?
I already came across the “Roaming Profiles” link, but it only describes the process for Windows clients not for Linux.
But maybe you can help me to clarify this:
As far as i understood:
Whenever a user is created on the UCS a samba share is created for them at \UCSSERVERIP%USERNAME% but is not visible in the admin panel?
If so, how do i enable it for a user?
I’ve already tried to go to User->Account->POSIX
And write the servers IP into “homeshare”, but that not worked out. It shall be invalid.
All user machines are in fact ubuntu clients.
Maybe in the far future, there will be some windows clients but for the near future windows is out of scope.
Okay, so i checked the “DNS” option in the management console, it has a forward and a backward one. Both have different subnets/zone names, but they share the same name server “UCS-XXX.myName.intranet.”.
However, when i try to put this value into the user profile POSIX homeshare field it still tells me that’s not a valid value.
i also tried to add the actual ip at the end but thill not working. The same happens when i add a “\username” at the end.
I wasn’t able to mount the shared device i did on any machine (windows 10 or ubuntu 20.04)
I tried this video till minute 2 on a windows 10 machine
and than i tried to use the file explorer and “add network share” with
and the username pw of a user within the domain user group.
I also tried the ucs-4242.domain.intranet one with no success either.
As next step i tried the ubuntu machine with
smbclient -U alice -L //IP/shares/feedback
And other combinations of the path parameter.
All of them returned Error NT_STATUS_UNSUCCESSFUL
So i went to the server and checked port and services.
It seems like no smb service is running (and therefore the server does not listen on port 445).
So i checked more docs and came across this:
And i noticed that i did not installed the “active directory compatible domaincontroller”.
So i installed that one as well (its pretty odd that this is not installed on default, maybe there should be a walk through like "do you want feature x, y or z? Follow the guide a, b, or c. )
After the installation succeeded at least something happened:
smbclient -U alice -L //IP/shares/feedback
Enter WORKGROUP\alice's password:
Sharename Type Comment
--------- ---- -------
netlogon Disk Domain logon service
print$ Disk Printer Drivers
home directories Disk
IPC$ IPC IPC Service (Univention Corporate Server)
SMB1 disabled -- no workgroup available
So i probably missed somekind of group.
I checked this link.
and watched the univention registery for “samba4/ldap/base” as well as “ldap/base”, which both have the value dc=MYDOMAIN, dc=INTRANET (one in upper case one in lower case)
But i still wonder whats the problem?
I gonna retry this on different networks, maybe they block ports (which the network admin claims they won’t)
My current working wifi connection does use a local router as DNS, maybe that might be a difference?
However, in that case, nextcloud should be able to connect to the smb as well. Lets check that out!
Another good news, i could mount the “home” dir into nextcloud as described here:
But the home dir is empty and is not matching the home dir when alice logs into an ubuntu machine (which wast my tagert).
However, i skipped the workgroup and classes part from the tutorial for now, as my first and foremost step is to ensure (web) access on the home dir. Classes might be a nice bonus in a somewhat future.