Install LDAP Utils
Check if your system has intslled ldap utils. You can test this trying to execute ldapsearch
ldapsearch -VV
The output should look like this
ldapsearch: @(#) $OpenLDAP: ldapsearch (Ubuntu) (Apr 8 2021 04:22:01) $ Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org> (LDAP library: OpenLDAP 20449)
If not you can install it with this command:
sudo apt install ldap-utils
University Network (MWN)
If you are using your private machine you have to be in the university network (MWN) to bind to the LDAP Host. You can use VPN to access the MWN.
Alternatively you can login to one of the EIKON Linux hosts which have ldap-utils installed.
LDAP Search
You can perform an LDAP search with the following command. Replace <TUM-ID> with your actual TUM-ID (e.g. go42tum)
ldapsearch -Z -H ldaps://ads.mwn.de -b "dc=ads,dc=mwn,dc=de" -D "cn=<TUM-ID>,ou=Users,ou=TU,ou=IAM,dc=ads,dc=mwn,dc=de" -W -s sub "cn=<TUM-ID>"
You will be prompted for a password which is you TUM Password.
Enter LDAP Password:
The successful result should look like this:
# extended LDIF # # LDAPv3 # base <dc=ads,dc=mwn,dc=de> with scope subtree # filter: cn=<TUM-ID> # requesting: ALL # # <TUM-ID>, Users, TU, IAM, ads.mwn.de dn: CN=<TUM-ID>,OU=Users,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de objectClass: top objectClass: person objectClass: organizationalPerson objectClass: user cn: <TUM-ID> sn: YYY o: TU givenName: XXX distinguishedName: CN=<TUM-ID>,OU=Users,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de displayName: YYY, XX ... memberOf: CN=TUEILBEGV-0CFACEEXCH,OU=Groups,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILBEZU-CFALL,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILBEEV-CFALL,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILBEZU-CFMIT,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILBEGV-0CFSTD,OU=Groups,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILDVEV-LDVSTUD,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILDVGV-0WIKI,OU=Groups,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TU00000EV-STUDIEREND,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILDVGV-0GRSTGA,OU=Groups,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TU00000GV-0STUDENTS,OU=Groups,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUZVHR6EV-ALARMGES,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILDVEV-LDVALLE,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUEILDVEV-LDVDAVORT,OU=Resources,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TUWIFWIGV-0STFAKWI,OU=Groups,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de memberOf: CN=TU00000GV,OU=Groups,OU=TU,OU=IAM,DC=ads,DC=mwn,DC=de department: Studium ... # numResponses: 3 # numEntries: 1 # numReferences: 1
You can see the Groups you are a member of indicated by "memberOf:".
All group identifiers have a shape like this: TUEILDVGV-0GRSTGA
Important Groups
Name | Description | Affiliation |
---|---|---|
TUEILDVGV-0GRSTGA | Contains all LDV Students, Guests and Others. | |
TUEILDVGV-0HPC | Gives access to the HPC Workstations | |
TUEILDVGV-0XHPC | Gives access to Excellence HPC Workstations | |
TUEILBEGV-0CFSTD | Standard Group for CellFace Project Members | |
TUEILDVGV-0KOMCREA | Lecture Participants Komputer & Creativität | |
TUZETTMGV-0AGHAYSTU |