Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LookupUserDN (0.06 sec)

  1. cmd/site-replication.go

    	// Extract the username and lookup DN and groups in LDAP.
    	ldapUser, isLDAPSTS := claims.Lookup(ldapUserN)
    	if isLDAPSTS {
    		// Need to lookup the groups from LDAP.
    		_, ldapGroups, err := globalIAMSys.LDAPConfig.LookupUserDN(ldapUser)
    		if err != nil {
    			return fmt.Errorf("unable to query LDAP server for %s: %w", ldapUser, err)
    		}
    
    		cred.Groups = ldapGroups
    	}
    
    	// Set these credentials to IAM.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top