Skip to content

ldap mapping for sql-backed properties #62

Description

@crpb

Hi,

how you are supposed to map ldap attributes (strings, lists, numbers, $FOO) to properties/config-settings which are stored in the mysql database and not in the exmdb?

As an example - altname(s)

# grommunio-admin user modify cb@clownflare.de --altname bc
# grommunio-admin user show cb@clownflare.de  |awk '/  altnames:/,/    /'
  altnames:
    bc
# mariadb grommunio <<< "SELECT * FROM altnames WHERE user_id = (SELECT id FROM users WHERE username = 'cb@clownflare.de') \G"
*************************** 1. row ***************************
user_id: 30
altname: bc
  magic: 0

I'm now able to login with the username "bc" via /web.

Then i tried to map different ldap-attributes to "altnames" and/or "altname" as i have no clue how to MAP that.

some of the things i tried

  • ldap_user_attributes=
    • proxyAddresses altname
    • proxyAddresses altnames
    • sAMAccountName altname
    • sAMAccountName altnames

I know that proxyAddresses are already used in "aliases" and i can use those as login but just to see if those might work for a mapping

I also tried to map a property(Integer) to privilegebits but this didn't work either

  • zarafaResourceCapacity privilegeBits

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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