Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _new (0.12 sec)

  1. docs/sts/ldap.go

    		fmt.Println("SecretAccessKey:", v.SecretAccessKey)
    		fmt.Println("SessionToken:", v.SessionToken)
    		return
    	}
    
    	// Use generated credentials to authenticate with MinIO server
    	minioClient, err := minio.New(stsEndpointURL.Host, opts)
    	if err != nil {
    		log.Fatalf("Error initializing client: ", err)
    	}
    
    	// Use minIO Client object normally like the regular client.
    	if bucketToList == "" {
    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

    // subtrees listed in `baseDNList`.
    func (l *Config) GetValidatedDNUnderBaseDN(conn *ldap.Conn, dn string, baseDNList []xldap.BaseDNInfo) (string, bool, error) {
    	if len(baseDNList) == 0 {
    		return "", false, errors.New("no Base DNs given")
    	}
    
    	// Check that DN exists in the LDAP directory.
    	validatedDN, err := xldap.LookupDN(conn, dn)
    	if err != nil {
    		return "", false, fmt.Errorf("Error looking up DN %s: %w", dn, err)
    	}
    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