Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sshPublicKey (0.9 sec)

  1. cmd/sftp-server.go

    		}
    		// Save each attribute to claims.
    		claims[ldapAttribPrefix+attribKey] = attribValue[0]
    	}
    
    	if key != nil {
    		// If a key was provided, we expect the user to have an sshPublicKey
    		// attribute.
    		if _, ok := claims[ldapAttribPrefix+"sshPublicKey"]; !ok {
    			return nil, errAuthentication
    		}
    	}
    
    	expiryDur, err := globalIAMSys.LDAPConfig.GetExpiryDuration("")
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. docs/sts/ldap.md

    MINIO_IDENTITY_LDAP_USER_DN_SEARCH_FILTER   (string)    Search filter to lookup user DN
    MINIO_IDENTITY_LDAP_USER_DN_ATTRIBUTES      (list)      "," separated list of user DN attributes e.g. "uid,cn,mail,sshPublicKey"
    MINIO_IDENTITY_LDAP_GROUP_SEARCH_FILTER     (string)    search filter for groups e.g. "(&(objectclass=groupOfNames)(memberUid=%s))"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    		}
    
    		// Validate claims. Check if the sshPublicKey claim is present.
    		dnClaim := claims.MapClaims[ldapActualUser].(string)
    		if dnClaim != testCase.dn {
    			c.Fatalf("Test %d: unexpected dn claim: %s", i+1, dnClaim)
    		}
    		sshPublicKeyClaim := claims.MapClaims[ldapAttribPrefix+"sshPublicKey"].([]any)[0].(string)
    		if sshPublicKeyClaim == "" {
    			c.Fatalf("Test %d: expected sshPublicKey claim to be present", i+1)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
Back to top