Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewSearchRequest (0.09 sec)

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

    	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,
    			[]string{}, // only need DN, so pass no attributes here
    			nil,
    		)
    
    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