Skip to content

User serviceuser primary group is not svcaccts. #208

@blasphemite

Description

@blasphemite

I was trying to setup with custom config and kept getting error primary group mismatch so I tried example config and am still getting errors.

Using Docker Hub image v1.1.2 with quickstart example config.

Using example ldapsearch -LLL -H ldap://localhost:3893 -D cn=serviceuser,ou=svcaccts,dc=glauth,dc=com -w mysecret -x -bdc=glauth,dc=com cn=hackers

Returns error ldap_bind: Invalid credentials (49)

And logs Bind WARN 007 Bind Error: User serviceuser primary group is not svcaccts.

Relevant portions of the example config:

[[users]]
  name = "serviceuser"
  mail = "serviceuser@example.com"
  uidnumber = 5003
  primarygroup = 5502
  passsha256 = "652c7dc687d98c9889304ed2e408c74b611e86a40caa51c4b43f1dd5913c5cd0" # mysecret
[[groups]]
  name = "svcaccts"
  gidnumber = 5502

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions