Ucs switch privileges: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
 
Zeile 36: Zeile 36:
         Service-Type = NAS-Prompt-User,
         Service-Type = NAS-Prompt-User,
         cisco-avpair :="shell:priv-lvl=15"
         cisco-avpair :="shell:priv-lvl=15"
*cat /etc/freeradius/3.0/sites-available
<pre>
authorize {
        update request {
                Huntgroup-Name:="%{ldap:ldap:///cn=computers,dc=xinux,dc=de?univentionFreeAttribute1?one?aRecord=%{NAS-IP-Address}}"
        }
</pre>

Aktuelle Version vom 8. Juli 2021, 08:25 Uhr

Attribute Huntgroup erstellen

  • Domäne
    • LDAP-Verzeichnis
      • univention
        • custom attributes
          • Hinzufügen

Allgemein

Modul


LDAP-Abbildung


Konfiguration für Rechner/Switch

Radius

  • Geräte
    • Rechner
      • (Gewünschtes Gerät)

RADIUS

Huntgroup

Optionen

Freeradius

  • cat /etc/freeradius/3.0/users
DEFAULT Huntgroup-Name == cisco-switch, Ldap-Group == "cn=switchadmins,cn=groups,dc=xinux,dc=de"
        Service-Type = NAS-Prompt-User,
        cisco-avpair :="shell:priv-lvl=15"
  • cat /etc/freeradius/3.0/sites-available
authorize {
        update request {
                Huntgroup-Name:="%{ldap:ldap:///cn=computers,dc=xinux,dc=de?univentionFreeAttribute1?one?aRecord=%{NAS-IP-Address}}"
         }