Fill some data into a Nubus installation for demonstration purposes.
Please note: This demo data and the import function are not currently being maintained with the product.
You can use it and adapt it to your needs, but we cannot offer support.
The user data and profile pictures are in the data/ subdirectory.
The origin of the demo data is univention-demo-configuration/data/.
For a plain Nubus without OX, please comment out the variables of the user attributes in 02_import.py:
# isOxUser=True,
# oxContext=1,
# oxAccess="premium",(For openDesk, a change could be oxAccess="opendesk_standard",)
Run the importer:
It needs the UDM-REST-API Python client, therefore running is easiest with the
accompanying Docker image using docker-compose:
docker compose run --rm import --user Administrator --pass $PASSWORD https://$NUBUS_HOSTNAME/univention/udm/-
Replace
$NUBUS_HOSTNAMEwith the hostname of your Nubus instance. -
Replace
$PASSWORDwith the LDAP password.
You could retrieve the password e.g. like this:kubectl get secret nubus-nubus-credentials --template='{{.data.administrator_password}}' | base64 -d
After the first checkout, install the dependencies:
poetry installRun the linter/formatter:
poetry run ruff format .