Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for userDNSearchFilter (0.14 sec)

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

    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return nil, err
    	}
    
    	// Evaluate the filter again with generic wildcard instead of specific values
    	filter := strings.ReplaceAll(l.LDAP.UserDNSearchFilter, "%s", "*")
    
    	nonExistentUsers := []string{}
    	for _, dn := range userDistNames {
    		searchRequest := ldap.NewSearchRequest(
    			dn,
    			ldap.ScopeBaseObject, ldap.NeverDerefAliases, 0, 0, false,
    			filter,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top