Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Host Attribut löschen

Empfohlene Antworten

Hi @all,

ich hab in meinen Ldap ca. 50 User bei denen ich gerne, dass host Attribut löschen möchte.

Ich hab es mal mit ldapdelete versucht, aber das klappt nicht:

ldapdelete -x -D "cn=admin,o=neptun,c=de" -W host=mars

Enter LDAP Password:

Delete Result: No such object (32)

Kann mir jemand erklären was ich da falsch mache?

Also ich hab vorher ein ldapsearch laufen lassen und der Ausdruck ist vorhanden.

ldapsearch -x -LLL host=mars

dn: uid=user2,ou=users,o=neptun,c=de

cn: user2

uid: user2

userPassword:: e0NSWVBUfWgvMHRlLmczOGx2ZTI=

uidNumber: 10005

gidNumber: 10000

homeDirectory: /home/user2

loginShell: /bin/bash

host: mars

shadowMax: 99999

shadowWarning: 7

objectClass: account

objectClass: posixAccount

objectClass: top

objectClass: shadowAccount

Nein leider nicht.

Ich hab es auch schon mit ldapmodify probiert, aber das hat nicht Funktioniert, weil er die DN brauch, aber die müsste ich dann für jeden einzelnen raus suchen.

ldapmodify Befehl

ldapmodify -v -x -D "cn=admin,o=neptun,c=de" -W -f ldapmod

ldap_initialize( <DEFAULT> )

Enter LDAP Password:

ldapmodify: no DN specified
ldapmod
 changetype: delete

host: user2

Hallo noch mal,

ich hab es mit ldapmodify hinbekommen, einen User du Modifiziren:

dn: uid=username,ou=users,o=neptun,c=de

changetype: modify

delete: host

host: mars
Aber wie kann ich das jetzt auf 50 Euro Anwenden? Ich dachte mir, dass ich es wie folgt mache, aber das funkt nicht:
dn: uid=*,ou=users,o=neptun,c=de

changetype: modify

delete: host

host: mars

Ich hab es auc mit uid="*" versucht, geht nicht.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.