Skip to content

univention/nubus-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nubus Demo

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.

Run

Prepare

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 with Docker

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_HOSTNAME with the hostname of your Nubus instance.

  • Replace $PASSWORD with the LDAP password.
    You could retrieve the password e.g. like this:

    kubectl get secret nubus-nubus-credentials --template='{{.data.administrator_password}}' | base64 -d

Lint

After the first checkout, install the dependencies:

poetry install

Run the linter/formatter:

poetry run ruff format .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages