Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for an (0.11 sec)

  1. docs/sts/ldap.go

    }
    
    func main() {
    	flag.Parse()
    	if ldapUsername == "" || ldapPassword == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// LDAP STS API.
    
    	// Initialize LDAP credentials
    	var ldapOpts []cr.LDAPIdentityOpt
    	if sessionPolicyFile != "" {
    		var policy string
    		if f, err := os.Open(sessionPolicyFile); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
  2. internal/config/identity/ldap/ldap.go

    	if err != nil {
    		return "", false, fmt.Errorf("Error looking up DN %s: %w", dn, err)
    	}
    	if validatedDN == "" {
    		return "", false, nil
    	}
    
    	// This will not return an error as the argument is validated to be a DN.
    	pdn, _ := ldap.ParseDN(validatedDN)
    
    	// Check that the DN is under a configured base DN in the LDAP
    	// directory.
    	for _, baseDN := range baseDNList {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top