Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for QuickNormalizeDN (0.19 sec)

  1. internal/config/identity/ldap/ldap.go

    			return nil, err
    		}
    		res[userDistName] = set.CreateStringSet(groups...)
    	}
    
    	return res, nil
    }
    
    // QuickNormalizeDN - normalizes the given DN without checking if it is valid or
    // exists in the LDAP directory. Returns input if error
    func (l Config) QuickNormalizeDN(dn string) string {
    	if normDN, err := xldap.NormalizeDN(dn); err == nil {
    		return normDN
    	}
    	return dn
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
Back to top