Univention Bugzilla – Bug 47709
Not possible to import users without profilepath
Last modified: 2023-06-12 15:31:02 CEST
Tested with UCS@school 4.3 v4: We do have a UCRV called "ucsschool/import/set/serverprofile/path" which allows to specify a value for profilepath(UDM)/sambaProfilePath(LDAP). If unset, the default is "\\%LOGONSERVER%\%USERNAME%\windows-profiles\default". This automatically activates Roaming Profiles. If we don't want to use Roaming Profiles, profilepath/sambaProfilePath must be empty. Unfortunately it's not possible to explicitly set an empty value via the UCRV: > root@master:~# ucr set --forced ucsschool/import/set/serverprofile/path="" -> Users are still created with "\\%LOGONSERVER%\%USERNAME%\windows-profiles\default" as profilepath. In a customer project we can probably remove the profilepath with an import hook, but imho it should be possible to deactivate Roaming Profiles globally via UCR.
Workaround: hook noSambaProfilePath.py from components/ucsschool-hooks