Bug 47709 - Not possible to import users without profilepath
Not possible to import users without profilepath
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.4
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-03 12:32 CEST by Michael Grandjean
Modified: 2023-06-12 15:31 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2018-09-03 12:32:44 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.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2018-09-03 13:06:38 CEST
Workaround: hook noSambaProfilePath.py from components/ucsschool-hooks