[GH-ISSUE #1085] [BUG] ldapsearch only return the DN #391

Closed
opened 2026-02-27 08:17:02 +03:00 by kerem · 2 comments
Owner

Originally created by @minionflo on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1085

Describe the bug
ldapsearch only return the DN

To Reproduce
Steps to reproduce the behavior:

  1. Try to get the user Attributes with ldapsearch
  2. See only the dn

Expected behavior
I would expect to see the user atributes

Logs

app-1  | [entrypoint] Copying the default config to /data/lldap_config.toml
app-1  | [entrypoint] Edit this file to configure LLDAP.
app-1  | > Setup permissions..
app-1  | > Starting lldap..
app-1  | 
app-1  | Loading configuration from /data/lldap_config.toml
app-1  | Configuration: Configuration {
app-1  |     ldap_host: "0.0.0.0",
app-1  |     ldap_port: 3890,
app-1  |     http_host: "0.0.0.0",
app-1  |     http_port: 17170,
app-1  |     jwt_secret: Some(
app-1  |         ***SECRET***,
app-1  |     ),
app-1  |     ldap_base_dn: "dc=ldap,dc=minionflo,dc=net",
app-1  |     ldap_user_dn: "admin",
app-1  |     ldap_user_email: "",
app-1  |     ldap_user_pass: Some(
app-1  |         ***SECRET***,
app-1  |     ),
app-1  |     force_ldap_user_pass_reset: False,
app-1  |     force_update_private_key: false,
app-1  |     database_url: "postgres://lldap:***PASSWORD***@db/lldap",
app-1  |     ignored_user_attributes: [],
app-1  |     ignored_group_attributes: [],
app-1  |     verbose: true,
app-1  |     key_file: "server_key",
app-1  |     key_seed: Some(
app-1  |         ***SECRET***,
app-1  |     ),
app-1  |     smtp_options: MailOptions {
app-1  |         enable_password_reset: false,
app-1  |         from: None,
app-1  |         reply_to: None,
app-1  |         server: "localhost",
app-1  |         port: 587,
app-1  |         user: "",
app-1  |         password: ***SECRET***,
app-1  |         smtp_encryption: Tls,
app-1  |         ..
app-1  |     },
app-1  |     ldaps_options: LdapsOptions {
app-1  |         enabled: false,
app-1  |         port: 6360,
app-1  |         cert_file: "cert.pem",
app-1  |         key_file: "key.pem",
app-1  |     },
app-1  |     http_url: "http://localhost/",
app-1  |     ..
app-1  | }
app-1  | WARNING: A key_seed was given, we will ignore the key_file and generate one from the seed! Set key_file to an empty string in the config to silence this message.
app-1  | 2025-01-23T14:36:44.710359281+00:00  INFO     set_up_server [ 199ms | 11.15% / 100.00% ]
app-1  | 2025-01-23T14:36:44.710389951+00:00  INFO     ┝━ i [info]: Starting LLDAP version 0.6.2-alpha
app-1  | 2025-01-23T14:36:44.720452267+00:00  DEBUG    ┝━ get_schema_version [ 339µs | 0.17% ]
app-1  | 2025-01-23T14:36:44.721610614+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: None
app-1  | 2025-01-23T14:36:44.812676966+00:00  DEBUG    ┝━ get_schema_version [ 339µs | 0.17% ]
app-1  | 2025-01-23T14:36:44.814069407+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: Some(SchemaVersion(1))
app-1  | 2025-01-23T14:36:44.814091127+00:00  INFO     ┝━ i [info]: Upgrading DB schema from version 1
app-1  | 2025-01-23T14:36:44.814093547+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 2
app-1  | 2025-01-23T14:36:44.822286866+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 3
app-1  | 2025-01-23T14:36:44.835720421+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 4
app-1  | 2025-01-23T14:36:44.856758917+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 5
app-1  | 2025-01-23T14:36:44.945559625+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 6
app-1  | 2025-01-23T14:36:44.958752667+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 7
app-1  | 2025-01-23T14:36:44.965892241+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 8
app-1  | 2025-01-23T14:36:44.975216636+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 9
app-1  | 2025-01-23T14:36:44.993843737+00:00  INFO     ┝━ i [info]: Upgrading DB schema to version 10
app-1  | 2025-01-23T14:36:45.035720013+00:00  DEBUG    ┝━ list_groups [ 1.55ms | 0.78% ] filters: Some(DisplayName("lldap_admin"))
app-1  | 2025-01-23T14:36:45.042510962+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: []
app-1  | 2025-01-23T14:36:45.042522932+00:00  WARN     ┝━ 🚧 [warn]: Could not find lldap_admin group, trying to create it
app-1  | 2025-01-23T14:36:45.042532473+00:00  DEBUG    ┝━ create_group [ 1.66ms | 0.84% ] request: CreateGroupRequest { display_name: "lldap_admin", attributes: [] }
app-1  | 2025-01-23T14:36:45.050715561+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: 1
app-1  | 2025-01-23T14:36:45.050740261+00:00  DEBUG    ┝━ list_groups [ 1.05ms | 0.53% ] filters: Some(DisplayName("lldap_password_manager"))
app-1  | 2025-01-23T14:36:45.054379894+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: []
app-1  | 2025-01-23T14:36:45.054414225+00:00  WARN     ┝━ 🚧 [warn]: Could not find lldap_password_manager group, trying to create it
app-1  | 2025-01-23T14:36:45.054420515+00:00  DEBUG    ┝━ create_group [ 1.05ms | 0.53% ] request: CreateGroupRequest { display_name: "lldap_password_manager", attributes: [] }
app-1  | 2025-01-23T14:36:45.058924621+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: 2
app-1  | 2025-01-23T14:36:45.058941341+00:00  DEBUG    ┝━ list_groups [ 1.21ms | 0.61% ] filters: Some(DisplayName("lldap_strict_readonly"))
app-1  | 2025-01-23T14:36:45.062061366+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: []
app-1  | 2025-01-23T14:36:45.062080576+00:00  WARN     ┝━ 🚧 [warn]: Could not find lldap_strict_readonly group, trying to create it
app-1  | 2025-01-23T14:36:45.062088326+00:00  DEBUG    ┝━ create_group [ 718µs | 0.36% ] request: CreateGroupRequest { display_name: "lldap_strict_readonly", attributes: [] }
app-1  | 2025-01-23T14:36:45.065904172+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: 3
app-1  | 2025-01-23T14:36:45.065958573+00:00  DEBUG    ┝━ list_users [ 1.27ms | 0.64% ] filters: Some(MemberOf("lldap_admin")) | _get_groups: false
app-1  | 2025-01-23T14:36:45.070984765+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: []
app-1  | 2025-01-23T14:36:45.071011136+00:00  WARN     ┝━ 🚧 [warn]: Could not find an admin user, trying to create the user "admin" with the config-provided password
app-1  | 2025-01-23T14:36:45.071050056+00:00  DEBUG    ┝━ create_user [ 771µs | 0.39% ] request: CreateUserRequest { user_id: "admin", email: "", display_name: Some("Administrator"), first_name: None, last_name: None, avatar: None, attributes: [] } | user_id: "admin"
app-1  | 2025-01-23T14:36:45.074749899+00:00  DEBUG    ┝━ register_password [ 165ms | 82.63% / 83.01% ] username: admin
app-1  | 2025-01-23T14:36:45.074910572+00:00  DEBUG    │  ┝━ registration_start [ 132µs | 0.07% ]
app-1  | 2025-01-23T14:36:45.239114792+00:00  DEBUG    │  ┕━ registration_finish [ 629µs | 0.32% ]
app-1  | 2025-01-23T14:36:45.248948315+00:00  INFO     │     ┕━ i [info]: Successfully (re)set password for "admin"
app-1  | 2025-01-23T14:36:45.248975835+00:00  DEBUG    ┝━ list_groups [ 888µs | 0.45% ] filters: Some(DisplayName("lldap_admin"))
app-1  | 2025-01-23T14:36:45.251687464+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: [Group { id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", users: [], attributes: [] }]
app-1  | 2025-01-23T14:36:45.251698744+00:00  DEBUG    ┝━ add_user_to_group [ 400µs | 0.20% ] user_id: "admin"
app-1  | 2025-01-23T14:36:45.255049513+00:00  INFO     ┝━ i [info]: Starting the LDAP server on port 3890
app-1  | 2025-01-23T14:36:45.255170625+00:00  DEBUG    ┝━ get_jwt_blacklist [ 380µs | 0.19% ]
app-1  | 2025-01-23T14:36:45.256568335+00:00  INFO     ┕━ i [info]: Starting the API/web server on port 17170
app-1  | 2025-01-23T14:36:45.256947431+00:00  INFO     i [info]: starting 1 workers
app-1  | 2025-01-23T14:36:45.256956861+00:00  INFO     i [info]: Actix runtime found; starting in Actix runtime
app-1  | 2025-01-23T14:36:45.256981001+00:00  INFO     i [info]: starting service: "ldap", workers: 1, listening on: 0.0.0.0:3890
app-1  | 2025-01-23T14:36:45.256993072+00:00  INFO     i [info]: starting service: "http", workers: 1, listening on: 0.0.0.0:17170
app-1  | 2025-01-23T14:36:45.258787077+00:00  INFO     i [info]: DB Cleanup Cron started
app-1  | 2025-01-23T14:37:14.822490750+00:00  INFO     i [info]: LDAP session start: 5425a82b-3cc9-430f-bb80-1f2374c026f6
app-1  | 2025-01-23T14:37:14.822606761+00:00  INFO     LDAP request [ 229µs | 100.00% ] session_id: 5425a82b-3cc9-430f-bb80-1f2374c026f6
app-1  | 2025-01-23T14:37:14.822629362+00:00  DEBUG    ┝━ 🐛 [debug]:  | msg: LdapMsg { msgid: 0, op: SearchRequest(LdapSearchRequest { base: "", scope: Base, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectClass"), attrs: ["supportedExtension"] }), ctrl: [] }
app-1  | 2025-01-23T14:37:14.822632772+00:00  DEBUG    ┝━ 🐛 [debug]: rootDSE request
app-1  | 2025-01-23T14:37:14.822671972+00:00  DEBUG    ┝━ 🐛 [debug]:  | response: SearchResultEntry(LdapSearchResultEntry { dn: "", attributes: [LdapPartialAttribute { atype: "objectClass", vals: ["top"] }, LdapPartialAttribute { atype: "vendorName", vals: ["LLDAP"] }, LdapPartialAttribute { atype: "vendorVersion", vals: ["lldap_0.6.2-alpha"] }, LdapPartialAttribute { atype: "supportedLDAPVersion", vals: ["3"] }, LdapPartialAttribute { atype: "supportedExtension", vals: ["1.3.6.1.4.1.4203.1.11.1"] }, LdapPartialAttribute { atype: "supportedControl", vals: [] }, LdapPartialAttribute { atype: "supportedFeatures", vals: ["1.3.6.1.4.1.4203.1.5.1"] }, LdapPartialAttribute { atype: "defaultNamingContext", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] })
app-1  | 2025-01-23T14:37:14.822812424+00:00  DEBUG    ┕━ 🐛 [debug]:  | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
app-1  | 2025-01-23T14:37:14.822922525+00:00  DEBUG    HTTP request [ 22.4µs | 100.00% ] method: "GET" | uri: "/health"
app-1  | 2025-01-23T14:37:14.822946017+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:14.823003817+00:00  INFO     i [info]: LDAP session end: 5425a82b-3cc9-430f-bb80-1f2374c026f6
app-1  | 2025-01-23T14:37:15.293083989+00:00  DEBUG    HTTP request [ 75.6µs | 100.00% ] method: "GET" | uri: "/users"
app-1  | 2025-01-23T14:37:15.293163580+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.457801625+00:00  DEBUG    HTTP request [ 98.4µs | 100.00% ] method: "GET" | uri: "/static/main.js"
app-1  | 2025-01-23T14:37:15.457903097+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.458318073+00:00  DEBUG    HTTP request [ 438µs | 100.00% ] method: "GET" | uri: "/static/darkmode.min.js"
app-1  | 2025-01-23T14:37:15.458646387+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.459189305+00:00  DEBUG    HTTP request [ 87.1µs | 100.00% ] method: "GET" | uri: "/static/bootstrap-icons.css"
app-1  | 2025-01-23T14:37:15.459249946+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.459352087+00:00  DEBUG    HTTP request [ 140µs | 100.00% ] method: "GET" | uri: "/static/bootstrap.bundle.min.js"
app-1  | 2025-01-23T14:37:15.459434418+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.460862847+00:00  DEBUG    HTTP request [ 104µs | 100.00% ] method: "GET" | uri: "/static/fonts.css"
app-1  | 2025-01-23T14:37:15.460952699+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.461072220+00:00  DEBUG    HTTP request [ 63.5µs | 100.00% ] method: "GET" | uri: "/static/font-awesome.min.css"
app-1  | 2025-01-23T14:37:15.461121842+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.461639968+00:00  DEBUG    HTTP request [ 64.2µs | 100.00% ] method: "GET" | uri: "/static/style.css"
app-1  | 2025-01-23T14:37:15.461691339+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.500203592+00:00  DEBUG    HTTP request [ 151µs | 100.00% ] method: "GET" | uri: "/pkg/lldap_app.js"
app-1  | 2025-01-23T14:37:15.500336044+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.462789894+00:00  DEBUG    HTTP request [ 166µs | 100.00% ] method: "GET" | uri: "/static/bootstrap-nightshade.min.css"
app-1  | 2025-01-23T14:37:15.462883605+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.818792065+00:00  DEBUG    HTTP request [ 86.4µs | 100.00% ] method: "GET" | uri: "/favicon.ico"
app-1  | 2025-01-23T14:37:15.818882196+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:15.819062639+00:00  DEBUG    HTTP request [ 241µs | 100.00% ] method: "GET" | uri: "/pkg/lldap_app_bg.wasm.gz"
app-1  | 2025-01-23T14:37:15.819122649+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:16.173029008+00:00  DEBUG    HTTP request [ 173µs | 100.00% ] method: "POST" | uri: "/auth/reset/step1/lldap_unlikely_very_long_user_name"
app-1  | 2025-01-23T14:37:16.173208660+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 404
app-1  | 2025-01-23T14:37:16.175174207+00:00  DEBUG    HTTP request [ 92.0µs | 100.00% ] method: "GET" | uri: "/static/fonts/JTUSjIg69CK48gW7PXoo9Wlhyw.woff2"
app-1  | 2025-01-23T14:37:16.175245898+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:16.174688441+00:00  DEBUG    HTTP request [ 313µs | 100.00% ] method: "GET" | uri: "/static/fonts/bootstrap-icons.woff2?856008caa5eb66df68595e734e59580d"
app-1  | 2025-01-23T14:37:16.174828743+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:16.173553055+00:00  DEBUG    HTTP request [ 4.76ms | 30.70% / 100.00% ] method: "POST" | uri: "/api/graphql"
app-1  | 2025-01-23T14:37:16.173589316+00:00  DEBUG    ┝━ check_if_token_is_valid [ 55.8µs | 1.17% ]
app-1  | 2025-01-23T14:37:16.173644777+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: ValidationResults { user: "admin", permission: Admin }
app-1  | 2025-01-23T14:37:16.174508469+00:00  DEBUG    ┝━ [GraphQL query] users [ 3.24ms | 21.49% / 68.13% ]
app-1  | 2025-01-23T14:37:16.174512669+00:00  DEBUG    │  ┝━ 🐛 [debug]:  | filters: None
app-1  | 2025-01-23T14:37:16.179412796+00:00  DEBUG    │  ┕━ list_users [ 2.22ms | 46.64% ] filters: None | _get_groups: false
app-1  | 2025-01-23T14:37:16.197396005+00:00  DEBUG    │     ┕━ 🐛 [debug]:  | return: [UserAndGroups { user: User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] }, groups: Some([GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }]) }]
app-1  | 2025-01-23T14:37:16.197860891+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:16.175349910+00:00  DEBUG    HTTP request [ 6.99ms | 20.75% / 100.00% ] method: "POST" | uri: "/api/graphql"
app-1  | 2025-01-23T14:37:16.175409371+00:00  DEBUG    ┝━ check_if_token_is_valid [ 35.9µs | 0.51% ]
app-1  | 2025-01-23T14:37:16.175444502+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: ValidationResults { user: "admin", permission: Admin }
app-1  | 2025-01-23T14:37:16.176216191+00:00  DEBUG    ┝━ [GraphQL query] get_schema [ 2.41ms | 34.41% ]
app-1  | 2025-01-23T14:37:16.176122950+00:00  DEBUG    ┝━ [GraphQL query] user [ 2.42ms | 10.18% / 34.58% ]
app-1  | 2025-01-23T14:37:16.176127380+00:00  DEBUG    │  ┝━ 🐛 [debug]:  | user_id: "admin"
app-1  | 2025-01-23T14:37:16.179791051+00:00  DEBUG    │  ┕━ get_user_details [ 1.71ms | 24.40% ] user_id: "admin"
app-1  | 2025-01-23T14:37:16.194358423+00:00  DEBUG    │     ┕━ 🐛 [debug]:  | return: Ok(User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] })
app-1  | 2025-01-23T14:37:16.194406323+00:00  DEBUG    ┝━ [GraphQL query] user::groups [ 682µs | 0.57% / 9.76% ]
app-1  | 2025-01-23T14:37:16.194408753+00:00  DEBUG    │  ┝━ 🐛 [debug]:  | user_id: "admin"
app-1  | 2025-01-23T14:37:16.194418524+00:00  DEBUG    │  ┕━ get_user_groups [ 643µs | 9.19% ] user_id: "admin"
app-1  | 2025-01-23T14:37:16.198862704+00:00  DEBUG    │     ┕━ 🐛 [debug]:  | return: {GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }}
app-1  | 2025-01-23T14:37:16.199147898+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:17.439433165+00:00  DEBUG    HTTP request [ 1.61ms | 60.01% / 100.00% ] method: "POST" | uri: "/api/graphql"
app-1  | 2025-01-23T14:37:17.439484396+00:00  DEBUG    ┝━ check_if_token_is_valid [ 36.2µs | 2.24% ]
app-1  | 2025-01-23T14:37:17.439519807+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: ValidationResults { user: "admin", permission: Admin }
app-1  | 2025-01-23T14:37:17.440119175+00:00  DEBUG    ┝━ [GraphQL query] get_schema [ 609µs | 37.75% ]
app-1  | 2025-01-23T14:37:17.442147283+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:44.938244600+00:00  INFO     i [info]: LDAP session start: cfe601ad-6296-4bfe-b75c-528bd0346b97
app-1  | 2025-01-23T14:37:44.938299550+00:00  INFO     LDAP request [ 130µs | 100.00% ] session_id: cfe601ad-6296-4bfe-b75c-528bd0346b97
app-1  | 2025-01-23T14:37:44.938311951+00:00  DEBUG    ┝━ 🐛 [debug]:  | msg: LdapMsg { msgid: 0, op: SearchRequest(LdapSearchRequest { base: "", scope: Base, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectClass"), attrs: ["supportedExtension"] }), ctrl: [] }
app-1  | 2025-01-23T14:37:44.938314641+00:00  DEBUG    ┝━ 🐛 [debug]: rootDSE request
app-1  | 2025-01-23T14:37:44.938330421+00:00  DEBUG    ┝━ 🐛 [debug]:  | response: SearchResultEntry(LdapSearchResultEntry { dn: "", attributes: [LdapPartialAttribute { atype: "objectClass", vals: ["top"] }, LdapPartialAttribute { atype: "vendorName", vals: ["LLDAP"] }, LdapPartialAttribute { atype: "vendorVersion", vals: ["lldap_0.6.2-alpha"] }, LdapPartialAttribute { atype: "supportedLDAPVersion", vals: ["3"] }, LdapPartialAttribute { atype: "supportedExtension", vals: ["1.3.6.1.4.1.4203.1.11.1"] }, LdapPartialAttribute { atype: "supportedControl", vals: [] }, LdapPartialAttribute { atype: "supportedFeatures", vals: ["1.3.6.1.4.1.4203.1.5.1"] }, LdapPartialAttribute { atype: "defaultNamingContext", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] })
app-1  | 2025-01-23T14:37:44.938410922+00:00  DEBUG    ┕━ 🐛 [debug]:  | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
app-1  | 2025-01-23T14:37:44.938844967+00:00  INFO     i [info]: LDAP session end: cfe601ad-6296-4bfe-b75c-528bd0346b97
app-1  | 2025-01-23T14:37:44.939104480+00:00  DEBUG    HTTP request [ 17.7µs | 100.00% ] method: "GET" | uri: "/health"
app-1  | 2025-01-23T14:37:44.939125642+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:46.307137818+00:00  DEBUG    HTTP request [ 4.21ms | 56.06% / 100.00% ] method: "POST" | uri: "/api/graphql"
app-1  | 2025-01-23T14:37:46.307179068+00:00  DEBUG    ┝━ check_if_token_is_valid [ 46.6µs | 1.11% ]
app-1  | 2025-01-23T14:37:46.307224819+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: ValidationResults { user: "admin", permission: Admin }
app-1  | 2025-01-23T14:37:46.308204292+00:00  DEBUG    ┝━ [GraphQL mutation] create_user [ 1.80ms | 1.85% / 42.84% ]
app-1  | 2025-01-23T14:37:46.308209382+00:00  DEBUG    │  ┝━ 🐛 [debug]: "minionflo"
app-1  | 2025-01-23T14:37:46.311847690+00:00  DEBUG    │  ┝━ create_user [ 987µs | 23.45% ] request: CreateUserRequest { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), first_name: None, last_name: None, avatar: None, attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] } | user_id: "minionflo"
app-1  | 2025-01-23T14:37:46.323194+00:00     DEBUG    │  ┕━ get_user_details [ 738µs | 17.54% ] user_id: "minionflo"
app-1  | 2025-01-23T14:37:46.325693173+00:00  DEBUG    │     ┕━ 🐛 [debug]:  | return: Ok(User { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), creation_date: 2025-01-23T14:37:46.311849, uuid: "e1ded050-a312-3bf4-8ced-613aa8d7ab10", attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] })
app-1  | 2025-01-23T14:37:46.325971716+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:46.366476090+00:00  DEBUG    HTTP request [ 1.30ms | 5.69% / 100.00% ] method: "POST" | uri: "/auth/opaque/register/start"
app-1  | 2025-01-23T14:37:46.366516671+00:00  DEBUG    ┝━ opaque_register_start [ 1.23ms | 7.93% / 94.31% ]
app-1  | 2025-01-23T14:37:46.366520191+00:00  DEBUG    │  ┝━ check_if_token_is_valid [ 40.1µs | 3.09% ]
app-1  | 2025-01-23T14:37:46.366559801+00:00  DEBUG    │  │  ┕━ 🐛 [debug]:  | return: ValidationResults { user: "admin", permission: Admin }
app-1  | 2025-01-23T14:37:46.366652952+00:00  DEBUG    │  ┝━ get_user_groups [ 943µs | 72.58% ] user_id: "minionflo"
app-1  | 2025-01-23T14:37:46.369791314+00:00  DEBUG    │  │  ┕━ 🐛 [debug]:  | return: {}
app-1  | 2025-01-23T14:37:46.369807944+00:00  DEBUG    │  ┕━ registration_start [ 139µs | 10.71% ]
app-1  | 2025-01-23T14:37:46.369976186+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:46.603571222+00:00  DEBUG    HTTP request [ 564µs | 15.97% / 100.00% ] method: "POST" | uri: "/auth/opaque/register/finish"
app-1  | 2025-01-23T14:37:46.603656793+00:00  DEBUG    ┝━ opaque_register_finish [ 474µs | 10.12% / 84.03% ]
app-1  | 2025-01-23T14:37:46.603695414+00:00  DEBUG    │  ┕━ registration_finish [ 417µs | 73.92% ]
app-1  | 2025-01-23T14:37:46.606762284+00:00  INFO     │     ┕━ i [info]: Successfully (re)set password for "minionflo"
app-1  | 2025-01-23T14:37:46.606790114+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:46.744948463+00:00  DEBUG    HTTP request [ 2.57ms | 38.26% / 100.00% ] method: "POST" | uri: "/api/graphql"
app-1  | 2025-01-23T14:37:46.744986354+00:00  DEBUG    ┝━ check_if_token_is_valid [ 41.9µs | 1.63% ]
app-1  | 2025-01-23T14:37:46.745027574+00:00  DEBUG    │  ┕━ 🐛 [debug]:  | return: ValidationResults { user: "admin", permission: Admin }
app-1  | 2025-01-23T14:37:46.745690993+00:00  DEBUG    ┝━ [GraphQL query] users [ 1.54ms | 27.23% / 60.11% ]
app-1  | 2025-01-23T14:37:46.745693633+00:00  DEBUG    │  ┝━ 🐛 [debug]:  | filters: None
app-1  | 2025-01-23T14:37:46.747316014+00:00  DEBUG    │  ┕━ list_users [ 845µs | 32.89% ] filters: None | _get_groups: false
app-1  | 2025-01-23T14:37:46.751528379+00:00  DEBUG    │     ┕━ 🐛 [debug]:  | return: [UserAndGroups { user: User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] }, groups: Some([GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }]) }, UserAndGroups { user: User { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), creation_date: 2025-01-23T14:37:46.311849, uuid: "e1ded050-a312-3bf4-8ced-613aa8d7ab10", attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] }, groups: Some([]) }]
app-1  | 2025-01-23T14:37:46.751760313+00:00  DEBUG    ┕━ 🐛 [debug]:  | status_code: 200
app-1  | 2025-01-23T14:37:50.538437929+00:00  INFO     i [info]: LDAP session start: 6b20b08b-f6dc-4156-8957-f01fa87f5870
app-1  | 2025-01-23T14:37:50.538506481+00:00  INFO     LDAP request [ 147ms | 0.10% / 100.00% ] session_id: 6b20b08b-f6dc-4156-8957-f01fa87f5870
app-1  | 2025-01-23T14:37:50.538522621+00:00  DEBUG    ┝━ 🐛 [debug]:  | msg: LdapMsg { msgid: 1, op: BindRequest(LdapBindRequest { dn: "uid=admin,ou=people,dc=ldap,dc=minionflo,dc=net", cred: LdapBindCred::Simple }), ctrl: [] }
app-1  | 2025-01-23T14:37:50.538528011+00:00  DEBUG    ┝━ do_bind [ 147ms | 0.08% / 99.90% ] dn: uid=admin,ou=people,dc=ldap,dc=minionflo,dc=net
app-1  | 2025-01-23T14:37:50.538555981+00:00  DEBUG    │  ┝━ bind [ 146ms | 0.03% / 99.32% ]
app-1  | 2025-01-23T14:37:50.538561581+00:00  DEBUG    │  │  ┝━ get_password_file_for_user [ 537µs | 0.37% ] user_id: "admin"
app-1  | 2025-01-23T14:37:50.539940869+00:00  INFO     │  │  ┝━ i [info]: Login attempt for "admin"
app-1  | 2025-01-23T14:37:50.539947029+00:00  DEBUG    │  │  ┕━ passwords_match [ 145ms | 98.93% ] username: admin
app-1  | 2025-01-23T14:37:50.685317931+00:00  DEBUG    │  ┝━ get_user_groups [ 731µs | 0.50% ] user_id: "admin"
app-1  | 2025-01-23T14:37:50.689365854+00:00  DEBUG    │  │  ┕━ 🐛 [debug]:  | return: {GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }}
app-1  | 2025-01-23T14:37:50.689383204+00:00  DEBUG    │  ┕━ 🐛 [debug]: Success!
app-1  | 2025-01-23T14:37:50.689396315+00:00  DEBUG    ┕━ 🐛 [debug]:  | response: BindResponse(LdapBindResponse { res: LdapResult { code: Success, matcheddn: "", message: "", referral: [] }, saslcreds: None })
app-1  | 2025-01-23T14:37:50.709795612+00:00  INFO     LDAP request [ 3.31ms | 7.23% / 100.00% ] session_id: 6b20b08b-f6dc-4156-8957-f01fa87f5870
app-1  | 2025-01-23T14:37:50.709814352+00:00  DEBUG    ┝━ 🐛 [debug]:  | msg: LdapMsg { msgid: 2, op: SearchRequest(LdapSearchRequest { base: "dc=ldap,dc=minionflo,dc=net", scope: Subtree, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectclass"), attrs: [""] }), ctrl: [] }
app-1  | 2025-01-23T14:37:50.709819152+00:00  DEBUG    ┝━ do_search [ 3.07ms | 31.25% / 92.77% ]
app-1  | 2025-01-23T14:37:50.713360478+00:00  DEBUG    │  ┝━ 🐛 [debug]:  | request.base: "dc=ldap,dc=minionflo,dc=net" | scope: Global
app-1  | 2025-01-23T14:37:50.713363748+00:00  DEBUG    │  ┝━ get_user_list [ 797µs | 1.13% / 24.06% ]
app-1  | 2025-01-23T14:37:50.713368938+00:00  DEBUG    │  │  ┝━ 🐛 [debug]:  | filters: And([])
app-1  | 2025-01-23T14:37:50.713382219+00:00  DEBUG    │  │  ┕━ list_users [ 759µs | 22.94% ] filters: Some(And([])) | _get_groups: false
app-1  | 2025-01-23T14:37:50.716626262+00:00  DEBUG    │  │     ┕━ 🐛 [debug]:  | return: [UserAndGroups { user: User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] }, groups: Some([GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }]) }, UserAndGroups { user: User { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), creation_date: 2025-01-23T14:37:46.311849, uuid: "e1ded050-a312-3bf4-8ced-613aa8d7ab10", attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] }, groups: Some([]) }]
app-1  | 2025-01-23T14:37:50.716643392+00:00  DEBUG    │  ┝━ get_groups_list [ 1.23ms | 1.41% / 37.09% ]
app-1  | 2025-01-23T14:37:50.716646712+00:00  DEBUG    │  │  ┝━ 🐛 [debug]:  | filters: And([])
app-1  | 2025-01-23T14:37:50.716662412+00:00  DEBUG    │  │  ┕━ list_groups [ 1.18ms | 35.68% ] filters: Some(And([]))
app-1  | 2025-01-23T14:37:50.721662898+00:00  DEBUG    │  │     ┕━ 🐛 [debug]:  | return: [Group { id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", users: ["admin"], attributes: [] }, Group { id: 2, display_name: "lldap_password_manager", creation_date: 2025-01-23T14:36:45.054422, uuid: "87084998-7b0f-3748-afad-29614d1430f5", users: [], attributes: [] }, Group { id: 3, display_name: "lldap_strict_readonly", creation_date: 2025-01-23T14:36:45.062089, uuid: "dabf77f4-6266-3d80-acb7-0664187b6a81", users: [], attributes: [] }]
app-1  | 2025-01-23T14:37:50.721694528+00:00  DEBUG    │  ┝━ expand_attribute_wildcards [ 9.73µs | 0.29% ] ldap_attributes: [""]
app-1  | 2025-01-23T14:37:50.721704538+00:00  DEBUG    │  │  ┕━ 🐛 [debug]:  | attributes_out: {AttributeName(CaseInsensitiveString("")): ""}
app-1  | 2025-01-23T14:37:50.721707418+00:00  DEBUG    │  ┝━ expand_attribute_wildcards [ 2.58µs | 0.08% ] ldap_attributes: [""]
app-1  | 2025-01-23T14:37:50.721709698+00:00  DEBUG    │  │  ┕━ 🐛 [debug]:  | attributes_out: {AttributeName(CaseInsensitiveString("")): ""}
app-1  | 2025-01-23T14:37:50.721723038+00:00  WARN     │  ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\
app-1  |                       To disable this warning, add it to "ignored_user_attributes" in the config.
app-1  | 2025-01-23T14:37:50.721727978+00:00  WARN     │  ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\
app-1  |                       To disable this warning, add it to "ignored_user_attributes" in the config.
app-1  | 2025-01-23T14:37:50.721740458+00:00  WARN     │  ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\
app-1  |                                To disable this warning, add it to "ignored_group_attributes" in the config.
app-1  | 2025-01-23T14:37:50.721744219+00:00  WARN     │  ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\
app-1  |                                To disable this warning, add it to "ignored_group_attributes" in the config.
app-1  | 2025-01-23T14:37:50.721747619+00:00  WARN     │  ┕━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\
app-1  |                                To disable this warning, add it to "ignored_group_attributes" in the config.
app-1  | 2025-01-23T14:37:50.721763049+00:00  DEBUG    ┝━ 🐛 [debug]:  | response: SearchResultEntry(LdapSearchResultEntry { dn: "uid=admin,ou=people,dc=ldap,dc=minionflo,dc=net", attributes: [] })
app-1  | 2025-01-23T14:37:50.721873530+00:00  DEBUG    ┝━ 🐛 [debug]:  | response: SearchResultEntry(LdapSearchResultEntry { dn: "uid=minionflo,ou=people,dc=ldap,dc=minionflo,dc=net", attributes: [] })
app-1  | 2025-01-23T14:37:50.721899140+00:00  DEBUG    ┝━ 🐛 [debug]:  | response: SearchResultEntry(LdapSearchResultEntry { dn: "cn=lldap_admin,ou=groups,dc=ldap,dc=minionflo,dc=net", attributes: [] })
app-1  | 2025-01-23T14:37:50.721907501+00:00  DEBUG    ┝━ 🐛 [debug]:  | response: SearchResultEntry(LdapSearchResultEntry { dn: "cn=lldap_password_manager,ou=groups,dc=ldap,dc=minionflo,dc=net", attributes: [] })
app-1  | 2025-01-23T14:37:50.721912791+00:00  DEBUG    ┝━ 🐛 [debug]:  | response: SearchResultEntry(LdapSearchResultEntry { dn: "cn=lldap_strict_readonly,ou=groups,dc=ldap,dc=minionflo,dc=net", attributes: [] })
app-1  | 2025-01-23T14:37:50.721922521+00:00  DEBUG    ┕━ 🐛 [debug]:  | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
app-1  | 2025-01-23T14:37:50.809533068+00:00  INFO     LDAP request [ 30.2µs | 100.00% ] session_id: 6b20b08b-f6dc-4156-8957-f01fa87f5870
app-1  | 2025-01-23T14:37:50.809555208+00:00  DEBUG    ┝━ 🐛 [debug]:  | msg: LdapMsg { msgid: 3, op: UnbindRequest, ctrl: [] }
app-1  | 2025-01-23T14:37:50.809565848+00:00  DEBUG    ┕━ 🐛 [debug]: Unbind request for admin
app-1  | 2025-01-23T14:37:50.809624169+00:00  INFO     i [info]: LDAP session end: 6b20b08b-f6dc-4156-8957-f01fa87f5870

Additional context
I have created a user with the uid minionflo and set firstname, lastname, displayname, and email other than that it is a brand new instance

Originally created by @minionflo on GitHub (Jan 23, 2025). Original GitHub issue: https://github.com/lldap/lldap/issues/1085 **Describe the bug** ldapsearch only return the DN **To Reproduce** Steps to reproduce the behavior: 1. Try to get the user Attributes with ldapsearch 2. See only the dn **Expected behavior** I would expect to see the user atributes **Logs** ``` app-1 | [entrypoint] Copying the default config to /data/lldap_config.toml app-1 | [entrypoint] Edit this file to configure LLDAP. app-1 | > Setup permissions.. app-1 | > Starting lldap.. app-1 | app-1 | Loading configuration from /data/lldap_config.toml app-1 | Configuration: Configuration { app-1 | ldap_host: "0.0.0.0", app-1 | ldap_port: 3890, app-1 | http_host: "0.0.0.0", app-1 | http_port: 17170, app-1 | jwt_secret: Some( app-1 | ***SECRET***, app-1 | ), app-1 | ldap_base_dn: "dc=ldap,dc=minionflo,dc=net", app-1 | ldap_user_dn: "admin", app-1 | ldap_user_email: "", app-1 | ldap_user_pass: Some( app-1 | ***SECRET***, app-1 | ), app-1 | force_ldap_user_pass_reset: False, app-1 | force_update_private_key: false, app-1 | database_url: "postgres://lldap:***PASSWORD***@db/lldap", app-1 | ignored_user_attributes: [], app-1 | ignored_group_attributes: [], app-1 | verbose: true, app-1 | key_file: "server_key", app-1 | key_seed: Some( app-1 | ***SECRET***, app-1 | ), app-1 | smtp_options: MailOptions { app-1 | enable_password_reset: false, app-1 | from: None, app-1 | reply_to: None, app-1 | server: "localhost", app-1 | port: 587, app-1 | user: "", app-1 | password: ***SECRET***, app-1 | smtp_encryption: Tls, app-1 | .. app-1 | }, app-1 | ldaps_options: LdapsOptions { app-1 | enabled: false, app-1 | port: 6360, app-1 | cert_file: "cert.pem", app-1 | key_file: "key.pem", app-1 | }, app-1 | http_url: "http://localhost/", app-1 | .. app-1 | } app-1 | WARNING: A key_seed was given, we will ignore the key_file and generate one from the seed! Set key_file to an empty string in the config to silence this message. app-1 | 2025-01-23T14:36:44.710359281+00:00 INFO set_up_server [ 199ms | 11.15% / 100.00% ] app-1 | 2025-01-23T14:36:44.710389951+00:00 INFO ┝━ i [info]: Starting LLDAP version 0.6.2-alpha app-1 | 2025-01-23T14:36:44.720452267+00:00 DEBUG ┝━ get_schema_version [ 339µs | 0.17% ] app-1 | 2025-01-23T14:36:44.721610614+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: None app-1 | 2025-01-23T14:36:44.812676966+00:00 DEBUG ┝━ get_schema_version [ 339µs | 0.17% ] app-1 | 2025-01-23T14:36:44.814069407+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: Some(SchemaVersion(1)) app-1 | 2025-01-23T14:36:44.814091127+00:00 INFO ┝━ i [info]: Upgrading DB schema from version 1 app-1 | 2025-01-23T14:36:44.814093547+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 2 app-1 | 2025-01-23T14:36:44.822286866+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 3 app-1 | 2025-01-23T14:36:44.835720421+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 4 app-1 | 2025-01-23T14:36:44.856758917+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 5 app-1 | 2025-01-23T14:36:44.945559625+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 6 app-1 | 2025-01-23T14:36:44.958752667+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 7 app-1 | 2025-01-23T14:36:44.965892241+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 8 app-1 | 2025-01-23T14:36:44.975216636+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 9 app-1 | 2025-01-23T14:36:44.993843737+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 10 app-1 | 2025-01-23T14:36:45.035720013+00:00 DEBUG ┝━ list_groups [ 1.55ms | 0.78% ] filters: Some(DisplayName("lldap_admin")) app-1 | 2025-01-23T14:36:45.042510962+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [] app-1 | 2025-01-23T14:36:45.042522932+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_admin group, trying to create it app-1 | 2025-01-23T14:36:45.042532473+00:00 DEBUG ┝━ create_group [ 1.66ms | 0.84% ] request: CreateGroupRequest { display_name: "lldap_admin", attributes: [] } app-1 | 2025-01-23T14:36:45.050715561+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: 1 app-1 | 2025-01-23T14:36:45.050740261+00:00 DEBUG ┝━ list_groups [ 1.05ms | 0.53% ] filters: Some(DisplayName("lldap_password_manager")) app-1 | 2025-01-23T14:36:45.054379894+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [] app-1 | 2025-01-23T14:36:45.054414225+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_password_manager group, trying to create it app-1 | 2025-01-23T14:36:45.054420515+00:00 DEBUG ┝━ create_group [ 1.05ms | 0.53% ] request: CreateGroupRequest { display_name: "lldap_password_manager", attributes: [] } app-1 | 2025-01-23T14:36:45.058924621+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: 2 app-1 | 2025-01-23T14:36:45.058941341+00:00 DEBUG ┝━ list_groups [ 1.21ms | 0.61% ] filters: Some(DisplayName("lldap_strict_readonly")) app-1 | 2025-01-23T14:36:45.062061366+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [] app-1 | 2025-01-23T14:36:45.062080576+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_strict_readonly group, trying to create it app-1 | 2025-01-23T14:36:45.062088326+00:00 DEBUG ┝━ create_group [ 718µs | 0.36% ] request: CreateGroupRequest { display_name: "lldap_strict_readonly", attributes: [] } app-1 | 2025-01-23T14:36:45.065904172+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: 3 app-1 | 2025-01-23T14:36:45.065958573+00:00 DEBUG ┝━ list_users [ 1.27ms | 0.64% ] filters: Some(MemberOf("lldap_admin")) | _get_groups: false app-1 | 2025-01-23T14:36:45.070984765+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [] app-1 | 2025-01-23T14:36:45.071011136+00:00 WARN ┝━ 🚧 [warn]: Could not find an admin user, trying to create the user "admin" with the config-provided password app-1 | 2025-01-23T14:36:45.071050056+00:00 DEBUG ┝━ create_user [ 771µs | 0.39% ] request: CreateUserRequest { user_id: "admin", email: "", display_name: Some("Administrator"), first_name: None, last_name: None, avatar: None, attributes: [] } | user_id: "admin" app-1 | 2025-01-23T14:36:45.074749899+00:00 DEBUG ┝━ register_password [ 165ms | 82.63% / 83.01% ] username: admin app-1 | 2025-01-23T14:36:45.074910572+00:00 DEBUG │ ┝━ registration_start [ 132µs | 0.07% ] app-1 | 2025-01-23T14:36:45.239114792+00:00 DEBUG │ ┕━ registration_finish [ 629µs | 0.32% ] app-1 | 2025-01-23T14:36:45.248948315+00:00 INFO │ ┕━ i [info]: Successfully (re)set password for "admin" app-1 | 2025-01-23T14:36:45.248975835+00:00 DEBUG ┝━ list_groups [ 888µs | 0.45% ] filters: Some(DisplayName("lldap_admin")) app-1 | 2025-01-23T14:36:45.251687464+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [Group { id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", users: [], attributes: [] }] app-1 | 2025-01-23T14:36:45.251698744+00:00 DEBUG ┝━ add_user_to_group [ 400µs | 0.20% ] user_id: "admin" app-1 | 2025-01-23T14:36:45.255049513+00:00 INFO ┝━ i [info]: Starting the LDAP server on port 3890 app-1 | 2025-01-23T14:36:45.255170625+00:00 DEBUG ┝━ get_jwt_blacklist [ 380µs | 0.19% ] app-1 | 2025-01-23T14:36:45.256568335+00:00 INFO ┕━ i [info]: Starting the API/web server on port 17170 app-1 | 2025-01-23T14:36:45.256947431+00:00 INFO i [info]: starting 1 workers app-1 | 2025-01-23T14:36:45.256956861+00:00 INFO i [info]: Actix runtime found; starting in Actix runtime app-1 | 2025-01-23T14:36:45.256981001+00:00 INFO i [info]: starting service: "ldap", workers: 1, listening on: 0.0.0.0:3890 app-1 | 2025-01-23T14:36:45.256993072+00:00 INFO i [info]: starting service: "http", workers: 1, listening on: 0.0.0.0:17170 app-1 | 2025-01-23T14:36:45.258787077+00:00 INFO i [info]: DB Cleanup Cron started app-1 | 2025-01-23T14:37:14.822490750+00:00 INFO i [info]: LDAP session start: 5425a82b-3cc9-430f-bb80-1f2374c026f6 app-1 | 2025-01-23T14:37:14.822606761+00:00 INFO LDAP request [ 229µs | 100.00% ] session_id: 5425a82b-3cc9-430f-bb80-1f2374c026f6 app-1 | 2025-01-23T14:37:14.822629362+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 0, op: SearchRequest(LdapSearchRequest { base: "", scope: Base, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectClass"), attrs: ["supportedExtension"] }), ctrl: [] } app-1 | 2025-01-23T14:37:14.822632772+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request app-1 | 2025-01-23T14:37:14.822671972+00:00 DEBUG ┝━ 🐛 [debug]: | response: SearchResultEntry(LdapSearchResultEntry { dn: "", attributes: [LdapPartialAttribute { atype: "objectClass", vals: ["top"] }, LdapPartialAttribute { atype: "vendorName", vals: ["LLDAP"] }, LdapPartialAttribute { atype: "vendorVersion", vals: ["lldap_0.6.2-alpha"] }, LdapPartialAttribute { atype: "supportedLDAPVersion", vals: ["3"] }, LdapPartialAttribute { atype: "supportedExtension", vals: ["1.3.6.1.4.1.4203.1.11.1"] }, LdapPartialAttribute { atype: "supportedControl", vals: [] }, LdapPartialAttribute { atype: "supportedFeatures", vals: ["1.3.6.1.4.1.4203.1.5.1"] }, LdapPartialAttribute { atype: "defaultNamingContext", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] }) app-1 | 2025-01-23T14:37:14.822812424+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] }) app-1 | 2025-01-23T14:37:14.822922525+00:00 DEBUG HTTP request [ 22.4µs | 100.00% ] method: "GET" | uri: "/health" app-1 | 2025-01-23T14:37:14.822946017+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:14.823003817+00:00 INFO i [info]: LDAP session end: 5425a82b-3cc9-430f-bb80-1f2374c026f6 app-1 | 2025-01-23T14:37:15.293083989+00:00 DEBUG HTTP request [ 75.6µs | 100.00% ] method: "GET" | uri: "/users" app-1 | 2025-01-23T14:37:15.293163580+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.457801625+00:00 DEBUG HTTP request [ 98.4µs | 100.00% ] method: "GET" | uri: "/static/main.js" app-1 | 2025-01-23T14:37:15.457903097+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.458318073+00:00 DEBUG HTTP request [ 438µs | 100.00% ] method: "GET" | uri: "/static/darkmode.min.js" app-1 | 2025-01-23T14:37:15.458646387+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.459189305+00:00 DEBUG HTTP request [ 87.1µs | 100.00% ] method: "GET" | uri: "/static/bootstrap-icons.css" app-1 | 2025-01-23T14:37:15.459249946+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.459352087+00:00 DEBUG HTTP request [ 140µs | 100.00% ] method: "GET" | uri: "/static/bootstrap.bundle.min.js" app-1 | 2025-01-23T14:37:15.459434418+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.460862847+00:00 DEBUG HTTP request [ 104µs | 100.00% ] method: "GET" | uri: "/static/fonts.css" app-1 | 2025-01-23T14:37:15.460952699+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.461072220+00:00 DEBUG HTTP request [ 63.5µs | 100.00% ] method: "GET" | uri: "/static/font-awesome.min.css" app-1 | 2025-01-23T14:37:15.461121842+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.461639968+00:00 DEBUG HTTP request [ 64.2µs | 100.00% ] method: "GET" | uri: "/static/style.css" app-1 | 2025-01-23T14:37:15.461691339+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.500203592+00:00 DEBUG HTTP request [ 151µs | 100.00% ] method: "GET" | uri: "/pkg/lldap_app.js" app-1 | 2025-01-23T14:37:15.500336044+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.462789894+00:00 DEBUG HTTP request [ 166µs | 100.00% ] method: "GET" | uri: "/static/bootstrap-nightshade.min.css" app-1 | 2025-01-23T14:37:15.462883605+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.818792065+00:00 DEBUG HTTP request [ 86.4µs | 100.00% ] method: "GET" | uri: "/favicon.ico" app-1 | 2025-01-23T14:37:15.818882196+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:15.819062639+00:00 DEBUG HTTP request [ 241µs | 100.00% ] method: "GET" | uri: "/pkg/lldap_app_bg.wasm.gz" app-1 | 2025-01-23T14:37:15.819122649+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:16.173029008+00:00 DEBUG HTTP request [ 173µs | 100.00% ] method: "POST" | uri: "/auth/reset/step1/lldap_unlikely_very_long_user_name" app-1 | 2025-01-23T14:37:16.173208660+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 404 app-1 | 2025-01-23T14:37:16.175174207+00:00 DEBUG HTTP request [ 92.0µs | 100.00% ] method: "GET" | uri: "/static/fonts/JTUSjIg69CK48gW7PXoo9Wlhyw.woff2" app-1 | 2025-01-23T14:37:16.175245898+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:16.174688441+00:00 DEBUG HTTP request [ 313µs | 100.00% ] method: "GET" | uri: "/static/fonts/bootstrap-icons.woff2?856008caa5eb66df68595e734e59580d" app-1 | 2025-01-23T14:37:16.174828743+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:16.173553055+00:00 DEBUG HTTP request [ 4.76ms | 30.70% / 100.00% ] method: "POST" | uri: "/api/graphql" app-1 | 2025-01-23T14:37:16.173589316+00:00 DEBUG ┝━ check_if_token_is_valid [ 55.8µs | 1.17% ] app-1 | 2025-01-23T14:37:16.173644777+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: ValidationResults { user: "admin", permission: Admin } app-1 | 2025-01-23T14:37:16.174508469+00:00 DEBUG ┝━ [GraphQL query] users [ 3.24ms | 21.49% / 68.13% ] app-1 | 2025-01-23T14:37:16.174512669+00:00 DEBUG │ ┝━ 🐛 [debug]: | filters: None app-1 | 2025-01-23T14:37:16.179412796+00:00 DEBUG │ ┕━ list_users [ 2.22ms | 46.64% ] filters: None | _get_groups: false app-1 | 2025-01-23T14:37:16.197396005+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [UserAndGroups { user: User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] }, groups: Some([GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }]) }] app-1 | 2025-01-23T14:37:16.197860891+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:16.175349910+00:00 DEBUG HTTP request [ 6.99ms | 20.75% / 100.00% ] method: "POST" | uri: "/api/graphql" app-1 | 2025-01-23T14:37:16.175409371+00:00 DEBUG ┝━ check_if_token_is_valid [ 35.9µs | 0.51% ] app-1 | 2025-01-23T14:37:16.175444502+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: ValidationResults { user: "admin", permission: Admin } app-1 | 2025-01-23T14:37:16.176216191+00:00 DEBUG ┝━ [GraphQL query] get_schema [ 2.41ms | 34.41% ] app-1 | 2025-01-23T14:37:16.176122950+00:00 DEBUG ┝━ [GraphQL query] user [ 2.42ms | 10.18% / 34.58% ] app-1 | 2025-01-23T14:37:16.176127380+00:00 DEBUG │ ┝━ 🐛 [debug]: | user_id: "admin" app-1 | 2025-01-23T14:37:16.179791051+00:00 DEBUG │ ┕━ get_user_details [ 1.71ms | 24.40% ] user_id: "admin" app-1 | 2025-01-23T14:37:16.194358423+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: Ok(User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] }) app-1 | 2025-01-23T14:37:16.194406323+00:00 DEBUG ┝━ [GraphQL query] user::groups [ 682µs | 0.57% / 9.76% ] app-1 | 2025-01-23T14:37:16.194408753+00:00 DEBUG │ ┝━ 🐛 [debug]: | user_id: "admin" app-1 | 2025-01-23T14:37:16.194418524+00:00 DEBUG │ ┕━ get_user_groups [ 643µs | 9.19% ] user_id: "admin" app-1 | 2025-01-23T14:37:16.198862704+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: {GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }} app-1 | 2025-01-23T14:37:16.199147898+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:17.439433165+00:00 DEBUG HTTP request [ 1.61ms | 60.01% / 100.00% ] method: "POST" | uri: "/api/graphql" app-1 | 2025-01-23T14:37:17.439484396+00:00 DEBUG ┝━ check_if_token_is_valid [ 36.2µs | 2.24% ] app-1 | 2025-01-23T14:37:17.439519807+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: ValidationResults { user: "admin", permission: Admin } app-1 | 2025-01-23T14:37:17.440119175+00:00 DEBUG ┝━ [GraphQL query] get_schema [ 609µs | 37.75% ] app-1 | 2025-01-23T14:37:17.442147283+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:44.938244600+00:00 INFO i [info]: LDAP session start: cfe601ad-6296-4bfe-b75c-528bd0346b97 app-1 | 2025-01-23T14:37:44.938299550+00:00 INFO LDAP request [ 130µs | 100.00% ] session_id: cfe601ad-6296-4bfe-b75c-528bd0346b97 app-1 | 2025-01-23T14:37:44.938311951+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 0, op: SearchRequest(LdapSearchRequest { base: "", scope: Base, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectClass"), attrs: ["supportedExtension"] }), ctrl: [] } app-1 | 2025-01-23T14:37:44.938314641+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request app-1 | 2025-01-23T14:37:44.938330421+00:00 DEBUG ┝━ 🐛 [debug]: | response: SearchResultEntry(LdapSearchResultEntry { dn: "", attributes: [LdapPartialAttribute { atype: "objectClass", vals: ["top"] }, LdapPartialAttribute { atype: "vendorName", vals: ["LLDAP"] }, LdapPartialAttribute { atype: "vendorVersion", vals: ["lldap_0.6.2-alpha"] }, LdapPartialAttribute { atype: "supportedLDAPVersion", vals: ["3"] }, LdapPartialAttribute { atype: "supportedExtension", vals: ["1.3.6.1.4.1.4203.1.11.1"] }, LdapPartialAttribute { atype: "supportedControl", vals: [] }, LdapPartialAttribute { atype: "supportedFeatures", vals: ["1.3.6.1.4.1.4203.1.5.1"] }, LdapPartialAttribute { atype: "defaultNamingContext", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=ldap,dc=minionflo,dc=net"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] }) app-1 | 2025-01-23T14:37:44.938410922+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] }) app-1 | 2025-01-23T14:37:44.938844967+00:00 INFO i [info]: LDAP session end: cfe601ad-6296-4bfe-b75c-528bd0346b97 app-1 | 2025-01-23T14:37:44.939104480+00:00 DEBUG HTTP request [ 17.7µs | 100.00% ] method: "GET" | uri: "/health" app-1 | 2025-01-23T14:37:44.939125642+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:46.307137818+00:00 DEBUG HTTP request [ 4.21ms | 56.06% / 100.00% ] method: "POST" | uri: "/api/graphql" app-1 | 2025-01-23T14:37:46.307179068+00:00 DEBUG ┝━ check_if_token_is_valid [ 46.6µs | 1.11% ] app-1 | 2025-01-23T14:37:46.307224819+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: ValidationResults { user: "admin", permission: Admin } app-1 | 2025-01-23T14:37:46.308204292+00:00 DEBUG ┝━ [GraphQL mutation] create_user [ 1.80ms | 1.85% / 42.84% ] app-1 | 2025-01-23T14:37:46.308209382+00:00 DEBUG │ ┝━ 🐛 [debug]: "minionflo" app-1 | 2025-01-23T14:37:46.311847690+00:00 DEBUG │ ┝━ create_user [ 987µs | 23.45% ] request: CreateUserRequest { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), first_name: None, last_name: None, avatar: None, attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] } | user_id: "minionflo" app-1 | 2025-01-23T14:37:46.323194+00:00 DEBUG │ ┕━ get_user_details [ 738µs | 17.54% ] user_id: "minionflo" app-1 | 2025-01-23T14:37:46.325693173+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: Ok(User { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), creation_date: 2025-01-23T14:37:46.311849, uuid: "e1ded050-a312-3bf4-8ced-613aa8d7ab10", attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] }) app-1 | 2025-01-23T14:37:46.325971716+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:46.366476090+00:00 DEBUG HTTP request [ 1.30ms | 5.69% / 100.00% ] method: "POST" | uri: "/auth/opaque/register/start" app-1 | 2025-01-23T14:37:46.366516671+00:00 DEBUG ┝━ opaque_register_start [ 1.23ms | 7.93% / 94.31% ] app-1 | 2025-01-23T14:37:46.366520191+00:00 DEBUG │ ┝━ check_if_token_is_valid [ 40.1µs | 3.09% ] app-1 | 2025-01-23T14:37:46.366559801+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | return: ValidationResults { user: "admin", permission: Admin } app-1 | 2025-01-23T14:37:46.366652952+00:00 DEBUG │ ┝━ get_user_groups [ 943µs | 72.58% ] user_id: "minionflo" app-1 | 2025-01-23T14:37:46.369791314+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | return: {} app-1 | 2025-01-23T14:37:46.369807944+00:00 DEBUG │ ┕━ registration_start [ 139µs | 10.71% ] app-1 | 2025-01-23T14:37:46.369976186+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:46.603571222+00:00 DEBUG HTTP request [ 564µs | 15.97% / 100.00% ] method: "POST" | uri: "/auth/opaque/register/finish" app-1 | 2025-01-23T14:37:46.603656793+00:00 DEBUG ┝━ opaque_register_finish [ 474µs | 10.12% / 84.03% ] app-1 | 2025-01-23T14:37:46.603695414+00:00 DEBUG │ ┕━ registration_finish [ 417µs | 73.92% ] app-1 | 2025-01-23T14:37:46.606762284+00:00 INFO │ ┕━ i [info]: Successfully (re)set password for "minionflo" app-1 | 2025-01-23T14:37:46.606790114+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:46.744948463+00:00 DEBUG HTTP request [ 2.57ms | 38.26% / 100.00% ] method: "POST" | uri: "/api/graphql" app-1 | 2025-01-23T14:37:46.744986354+00:00 DEBUG ┝━ check_if_token_is_valid [ 41.9µs | 1.63% ] app-1 | 2025-01-23T14:37:46.745027574+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: ValidationResults { user: "admin", permission: Admin } app-1 | 2025-01-23T14:37:46.745690993+00:00 DEBUG ┝━ [GraphQL query] users [ 1.54ms | 27.23% / 60.11% ] app-1 | 2025-01-23T14:37:46.745693633+00:00 DEBUG │ ┝━ 🐛 [debug]: | filters: None app-1 | 2025-01-23T14:37:46.747316014+00:00 DEBUG │ ┕━ list_users [ 845µs | 32.89% ] filters: None | _get_groups: false app-1 | 2025-01-23T14:37:46.751528379+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [UserAndGroups { user: User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] }, groups: Some([GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }]) }, UserAndGroups { user: User { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), creation_date: 2025-01-23T14:37:46.311849, uuid: "e1ded050-a312-3bf4-8ced-613aa8d7ab10", attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] }, groups: Some([]) }] app-1 | 2025-01-23T14:37:46.751760313+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200 app-1 | 2025-01-23T14:37:50.538437929+00:00 INFO i [info]: LDAP session start: 6b20b08b-f6dc-4156-8957-f01fa87f5870 app-1 | 2025-01-23T14:37:50.538506481+00:00 INFO LDAP request [ 147ms | 0.10% / 100.00% ] session_id: 6b20b08b-f6dc-4156-8957-f01fa87f5870 app-1 | 2025-01-23T14:37:50.538522621+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 1, op: BindRequest(LdapBindRequest { dn: "uid=admin,ou=people,dc=ldap,dc=minionflo,dc=net", cred: LdapBindCred::Simple }), ctrl: [] } app-1 | 2025-01-23T14:37:50.538528011+00:00 DEBUG ┝━ do_bind [ 147ms | 0.08% / 99.90% ] dn: uid=admin,ou=people,dc=ldap,dc=minionflo,dc=net app-1 | 2025-01-23T14:37:50.538555981+00:00 DEBUG │ ┝━ bind [ 146ms | 0.03% / 99.32% ] app-1 | 2025-01-23T14:37:50.538561581+00:00 DEBUG │ │ ┝━ get_password_file_for_user [ 537µs | 0.37% ] user_id: "admin" app-1 | 2025-01-23T14:37:50.539940869+00:00 INFO │ │ ┝━ i [info]: Login attempt for "admin" app-1 | 2025-01-23T14:37:50.539947029+00:00 DEBUG │ │ ┕━ passwords_match [ 145ms | 98.93% ] username: admin app-1 | 2025-01-23T14:37:50.685317931+00:00 DEBUG │ ┝━ get_user_groups [ 731µs | 0.50% ] user_id: "admin" app-1 | 2025-01-23T14:37:50.689365854+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | return: {GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }} app-1 | 2025-01-23T14:37:50.689383204+00:00 DEBUG │ ┕━ 🐛 [debug]: Success! app-1 | 2025-01-23T14:37:50.689396315+00:00 DEBUG ┕━ 🐛 [debug]: | response: BindResponse(LdapBindResponse { res: LdapResult { code: Success, matcheddn: "", message: "", referral: [] }, saslcreds: None }) app-1 | 2025-01-23T14:37:50.709795612+00:00 INFO LDAP request [ 3.31ms | 7.23% / 100.00% ] session_id: 6b20b08b-f6dc-4156-8957-f01fa87f5870 app-1 | 2025-01-23T14:37:50.709814352+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 2, op: SearchRequest(LdapSearchRequest { base: "dc=ldap,dc=minionflo,dc=net", scope: Subtree, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectclass"), attrs: [""] }), ctrl: [] } app-1 | 2025-01-23T14:37:50.709819152+00:00 DEBUG ┝━ do_search [ 3.07ms | 31.25% / 92.77% ] app-1 | 2025-01-23T14:37:50.713360478+00:00 DEBUG │ ┝━ 🐛 [debug]: | request.base: "dc=ldap,dc=minionflo,dc=net" | scope: Global app-1 | 2025-01-23T14:37:50.713363748+00:00 DEBUG │ ┝━ get_user_list [ 797µs | 1.13% / 24.06% ] app-1 | 2025-01-23T14:37:50.713368938+00:00 DEBUG │ │ ┝━ 🐛 [debug]: | filters: And([]) app-1 | 2025-01-23T14:37:50.713382219+00:00 DEBUG │ │ ┕━ list_users [ 759µs | 22.94% ] filters: Some(And([])) | _get_groups: false app-1 | 2025-01-23T14:37:50.716626262+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | return: [UserAndGroups { user: User { user_id: "admin", email: "", display_name: Some("Administrator"), creation_date: 2025-01-23T14:36:45.071052, uuid: "32fb13a5-010b-3573-9ce7-e1b160d55b6c", attributes: [] }, groups: Some([GroupDetails { group_id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", attributes: [] }]) }, UserAndGroups { user: User { user_id: "minionflo", email: "E@mail.com", display_name: Some("DisplayName"), creation_date: 2025-01-23T14:37:46.311849, uuid: "e1ded050-a312-3bf4-8ced-613aa8d7ab10", attributes: [AttributeValue { name: AttributeName(CaseInsensitiveString("first_name")), value: Serialized("FirstName") }, AttributeValue { name: AttributeName(CaseInsensitiveString("last_name")), value: Serialized("LastName") }] }, groups: Some([]) }] app-1 | 2025-01-23T14:37:50.716643392+00:00 DEBUG │ ┝━ get_groups_list [ 1.23ms | 1.41% / 37.09% ] app-1 | 2025-01-23T14:37:50.716646712+00:00 DEBUG │ │ ┝━ 🐛 [debug]: | filters: And([]) app-1 | 2025-01-23T14:37:50.716662412+00:00 DEBUG │ │ ┕━ list_groups [ 1.18ms | 35.68% ] filters: Some(And([])) app-1 | 2025-01-23T14:37:50.721662898+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | return: [Group { id: 1, display_name: "lldap_admin", creation_date: 2025-01-23T14:36:45.042534, uuid: "42f3ad4a-0dce-31bc-a316-bd0c6c516d99", users: ["admin"], attributes: [] }, Group { id: 2, display_name: "lldap_password_manager", creation_date: 2025-01-23T14:36:45.054422, uuid: "87084998-7b0f-3748-afad-29614d1430f5", users: [], attributes: [] }, Group { id: 3, display_name: "lldap_strict_readonly", creation_date: 2025-01-23T14:36:45.062089, uuid: "dabf77f4-6266-3d80-acb7-0664187b6a81", users: [], attributes: [] }] app-1 | 2025-01-23T14:37:50.721694528+00:00 DEBUG │ ┝━ expand_attribute_wildcards [ 9.73µs | 0.29% ] ldap_attributes: [""] app-1 | 2025-01-23T14:37:50.721704538+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | attributes_out: {AttributeName(CaseInsensitiveString("")): ""} app-1 | 2025-01-23T14:37:50.721707418+00:00 DEBUG │ ┝━ expand_attribute_wildcards [ 2.58µs | 0.08% ] ldap_attributes: [""] app-1 | 2025-01-23T14:37:50.721709698+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | attributes_out: {AttributeName(CaseInsensitiveString("")): ""} app-1 | 2025-01-23T14:37:50.721723038+00:00 WARN │ ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\ app-1 | To disable this warning, add it to "ignored_user_attributes" in the config. app-1 | 2025-01-23T14:37:50.721727978+00:00 WARN │ ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\ app-1 | To disable this warning, add it to "ignored_user_attributes" in the config. app-1 | 2025-01-23T14:37:50.721740458+00:00 WARN │ ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\ app-1 | To disable this warning, add it to "ignored_group_attributes" in the config. app-1 | 2025-01-23T14:37:50.721744219+00:00 WARN │ ┝━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\ app-1 | To disable this warning, add it to "ignored_group_attributes" in the config. app-1 | 2025-01-23T14:37:50.721747619+00:00 WARN │ ┕━ 🚧 [warn]: Ignoring unrecognized group attribute: \n\ app-1 | To disable this warning, add it to "ignored_group_attributes" in the config. app-1 | 2025-01-23T14:37:50.721763049+00:00 DEBUG ┝━ 🐛 [debug]: | response: SearchResultEntry(LdapSearchResultEntry { dn: "uid=admin,ou=people,dc=ldap,dc=minionflo,dc=net", attributes: [] }) app-1 | 2025-01-23T14:37:50.721873530+00:00 DEBUG ┝━ 🐛 [debug]: | response: SearchResultEntry(LdapSearchResultEntry { dn: "uid=minionflo,ou=people,dc=ldap,dc=minionflo,dc=net", attributes: [] }) app-1 | 2025-01-23T14:37:50.721899140+00:00 DEBUG ┝━ 🐛 [debug]: | response: SearchResultEntry(LdapSearchResultEntry { dn: "cn=lldap_admin,ou=groups,dc=ldap,dc=minionflo,dc=net", attributes: [] }) app-1 | 2025-01-23T14:37:50.721907501+00:00 DEBUG ┝━ 🐛 [debug]: | response: SearchResultEntry(LdapSearchResultEntry { dn: "cn=lldap_password_manager,ou=groups,dc=ldap,dc=minionflo,dc=net", attributes: [] }) app-1 | 2025-01-23T14:37:50.721912791+00:00 DEBUG ┝━ 🐛 [debug]: | response: SearchResultEntry(LdapSearchResultEntry { dn: "cn=lldap_strict_readonly,ou=groups,dc=ldap,dc=minionflo,dc=net", attributes: [] }) app-1 | 2025-01-23T14:37:50.721922521+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] }) app-1 | 2025-01-23T14:37:50.809533068+00:00 INFO LDAP request [ 30.2µs | 100.00% ] session_id: 6b20b08b-f6dc-4156-8957-f01fa87f5870 app-1 | 2025-01-23T14:37:50.809555208+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 3, op: UnbindRequest, ctrl: [] } app-1 | 2025-01-23T14:37:50.809565848+00:00 DEBUG ┕━ 🐛 [debug]: Unbind request for admin app-1 | 2025-01-23T14:37:50.809624169+00:00 INFO i [info]: LDAP session end: 6b20b08b-f6dc-4156-8957-f01fa87f5870 ``` **Additional context** I have created a user with the uid minionflo and set firstname, lastname, displayname, and email other than that it is a brand new instance
kerem 2026-02-27 08:17:02 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@broeng commented on GitHub (Jan 23, 2025):

app-1 | 2025-01-23T14:37:50.709814352+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 2, op: SearchRequest(LdapSearchRequest { base: "dc=ldap,dc=minionflo,dc=net", scope: Subtree, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectclass"), attrs: [""] }), ctrl: [] }

For some reason, you are explicitly only requesting an attribute that is either empty or only whitespace/newline. See attrs: [""]) near the end. Based on the Ignoring unrecognized group attribute: \n\ warnings, it might be a newline?

I think something is wrong with how you called ldapsearch. What command did you run exactly?

When I run:

ldapsearch -H ldap://localhost:3890 -D cn=admin,ou=people,dc=example,dc=com -W -b 'dc=example,dc=com'

That "attrs" list is just empty, not a list containing an empty string.

<!-- gh-comment-id:2610034182 --> @broeng commented on GitHub (Jan 23, 2025): > app-1 | 2025-01-23T14:37:50.709814352+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 2, op: SearchRequest(LdapSearchRequest { base: "dc=ldap,dc=minionflo,dc=net", scope: Subtree, aliases: Never, sizelimit: 0, timelimit: 0, typesonly: false, filter: Present("objectclass"), attrs: [""] }), ctrl: [] } For some reason, you are explicitly only requesting an attribute that is either empty or only whitespace/newline. See `attrs: [""])` near the end. Based on the `Ignoring unrecognized group attribute: \n\` warnings, it might be a newline? I think something is wrong with how you called ldapsearch. What command did you run exactly? When I run: > ldapsearch -H ldap://localhost:3890 -D cn=admin,ou=people,dc=example,dc=com -W -b 'dc=example,dc=com' That "attrs" list is just empty, not a list containing an empty string.
Author
Owner

@minionflo commented on GitHub (Jan 23, 2025):

i figured it out... i was calling ldapsearch with an empty filter. Removed the filter now it works fine

<!-- gh-comment-id:2610043920 --> @minionflo commented on GitHub (Jan 23, 2025): i figured it out... i was calling ldapsearch with an empty filter. Removed the filter now it works fine
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#391
No description provided.