Skip to content

shadowaccount on ubuntu 18.04.4 LTS #131

@maxilee

Description

@maxilee

I'm using on few machines ubuntu 18.04.4 and I've found that ubuntu searches LDAP for objectClass=shadowAccount when user login to the system.

in source code in file "pkg/handler/config.go" in line 207 there is code which returns results only when LDAP client search for objectClass=posixaccount or empty filter.

'case "posixaccount","": '

this can be changed to :

'case "posixaccount", "shadowaccount","":'

then results will be returend when ldap client specify filter "objectClass=shadowAccount"

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