Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LookupUserDN (0.18 sec)

  1. cmd/admin-handlers-users.go

    		// query their groups:
    		opts.claims[ldapUserN] = targetUser // simple username
    		var lookupResult *xldap.DNSearchResult
    		lookupResult, targetGroups, err = globalIAMSys.LDAPConfig.LookupUserDN(targetUser)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		targetUser = lookupResult.NormDN
    		opts.claims[ldapUser] = targetUser // username DN
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top