d549a782fd
BindMode=User bound as UserBindTemplate({0}) and then returned the groups of
whatever entry (UserNameAttribute={0}) found - two directory lookups that can
name two accounts (Auth-007). Reproduced live against GLAuth: mallory bound as
herself and signed in with boss's Admins group.
After the bind the service now asks RFC 4532 Who-am-I and requires the entry
to be that account (dn: -> DN match; AD u:DOMAIN\name -> sAMAccountName match).
Without a Who-am-I answer only a DN template is provable (bind DN must equal
the entry DN); anything else fails closed as GroupLookupFailed. {0} is
RFC 4514-escaped in DN templates; validator message leads with EXAMPLE\{0}.
Auth 0.4.3 -> 0.4.4 (unpublished).
Claude-Session: https://claude.ai/code/session_01GT67AEHd2Acv1YPwGfXEoV
11 lines
293 B
YAML
11 lines
293 B
YAML
# Throwaway GLAuth for GLAuthUserBindIdentityTests (Auth-007). Not the shared rig.
|
|
name: zb-auth-userbind-it
|
|
services:
|
|
glauth:
|
|
image: glauth/glauth:latest
|
|
container_name: zb-auth-userbind-it
|
|
ports:
|
|
- "3897:3893"
|
|
volumes:
|
|
- ./config.toml:/app/config/config.cfg:ro
|