User tools

Website tools


authentication protocol

Differences

The differences between two versions are shown here.

Link to this comparison view

Both sides of the previous revisionPrevious revision
Next revision
Previous revision
authentisierungs-protokoll [2020/08/25 17:22] – [Authentisierungs-Protokoll] lwsystemsauthentisierungs-protokoll [2024/02/08 09:55] (current) lwsystems
Zeile 4: Zeile 4:
 The username and password are passed to the program line by line via STDIN. An authentication module can therefore be tested as follows. The username and password are passed to the program line by line via STDIN. An authentication module can therefore be tested as follows.
  
-<code>+<code bash>
 echo -e "${USERNAME}\n${PASSWORD}" | /usr/sbin/benno_auth.d echo -e "${USERNAME}\n${PASSWORD}" | /usr/sbin/benno_auth.d
 </code>  </code> 
 +
 +Oder mit dem Kommando ''benno-useradmin'':
 +
 +<code bash>
 +benno-useradmin -t -u ${USERNAME} -p ${PASSWORD}
 +</code>
  
 In the event of successful authentication, the module returns several lines containing the user's metadata from STDOUT.  In the event of successful authentication, the module returns several lines containing the user's metadata from STDOUT. 
Zeile 56: Zeile 62:
  
 ===== optionale Rückgabe-Parameter ===== ===== optionale Rückgabe-Parameter =====
 +
 +==== AUTH BREAK ====
 +
 +Falls ein Authentisierungsmodul den String //AUTH BREAK// zurück gibt, wird der Authentisierungsvorgang sofort mit einem Authentisierungsfehler abgebrochen. Hiermit kann ein Modul z.B. einen Benutzer "aussperren", wenn dieser z.B. nicht aus dem LDAP gelöscht werden kann.
 +
 +No further modules will be accessed.
 +
 +==== AUTH LAST ====
 +
 +Falls ein Authentisierungsmodul den String //AUTH LAST// zurück gibt, wird der Authentisierungsvorgang nach diesem Modul abgebrochen und die weiteren Module nicht mehr aufgerufen.
 +
  
 ==== AUTHPARAM ==== ==== AUTHPARAM ====
Zeile 72: Line 89:
 Das [[ldap-authentisierungsmodul|LDAP-Authentisierungsmodul]] gibt einen Filter zurück, wenn der Parameter //filter_before_created = true// konfiguriert wird. Das [[ldap-authentisierungsmodul|LDAP-Authentisierungsmodul]] gibt einen Filter zurück, wenn der Parameter //filter_before_created = true// konfiguriert wird.
  
-''FILTER StartDate:20190701 NOT SortableDate:[197001010000 TO 201907010000]''+''FILTER StartDate:20190701 NOT Date:[197001010000 TO 201907010000]''
  
 Mit diesem FILTER-Parameter wird der Zugriff auf E-Mails vor dem 01.07.2019 unterbunden. Der Filter wird im Webinterface als //StartDate:20190701// gelistet. Mit diesem FILTER-Parameter wird der Zugriff auf E-Mails vor dem 01.07.2019 unterbunden. Der Filter wird im Webinterface als //StartDate:20190701// gelistet.
authentisierungs-protokoll.1598376179.txt.gz Last modified: 2020/08/25 17:22 by lwsystems