Guest User

Untitled

a guest
Aug 28th, 2024
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.71 KB | None | 0 0
  1. lldap-1 | > Setup permissions..
  2. lldap-1 | > Starting lldap..
  3. lldap-1 |
  4. lldap-1 | Loading configuration from /data/lldap_config.toml
  5. lldap-1 | Configuration: Configuration {
  6. lldap-1 | ldap_host: "0.0.0.0",
  7. lldap-1 | ldap_port: 3890,
  8. lldap-1 | http_host: "0.0.0.0",
  9. lldap-1 | http_port: 17170,
  10. lldap-1 | jwt_secret: ***SECRET***,
  11. lldap-1 | ldap_base_dn: "dc=snwy,dc=de",
  12. lldap-1 | ldap_user_dn: UserId(
  13. lldap-1 | CaseInsensitiveString(
  14. lldap-1 | "admin",
  15. lldap-1 | ),
  16. lldap-1 | ),
  17. lldap-1 | ldap_user_email: "",
  18. lldap-1 | ldap_user_pass: ***SECRET***,
  19. lldap-1 | force_ldap_user_pass_reset: False,
  20. lldap-1 | force_update_private_key: false,
  21. lldap-1 | database_url: sqlite:///data/users.db?mode=rwc,
  22. lldap-1 | ignored_user_attributes: [],
  23. lldap-1 | ignored_group_attributes: [],
  24. lldap-1 | verbose: true,
  25. lldap-1 | key_file: "server_key",
  26. lldap-1 | key_seed: Some(
  27. lldap-1 | ***SECRET***,
  28. lldap-1 | ),
  29. lldap-1 | smtp_options: MailOptions {
  30. lldap-1 | enable_password_reset: false,
  31. lldap-1 | from: None,
  32. lldap-1 | reply_to: None,
  33. lldap-1 | server: "localhost",
  34. lldap-1 | port: 587,
  35. lldap-1 | user: "",
  36. lldap-1 | password: ***SECRET***,
  37. lldap-1 | smtp_encryption: Tls,
  38. lldap-1 | tls_required: None,
  39. lldap-1 | },
  40. lldap-1 | ldaps_options: LdapsOptions {
  41. lldap-1 | enabled: false,
  42. lldap-1 | port: 6360,
  43. lldap-1 | cert_file: "cert.pem",
  44. lldap-1 | key_file: "key.pem",
  45. lldap-1 | },
  46. lldap-1 | http_url: Url {
  47. lldap-1 | scheme: "http",
  48. lldap-1 | cannot_be_a_base: false,
  49. lldap-1 | username: "",
  50. lldap-1 | password: None,
  51. lldap-1 | host: Some(
  52. lldap-1 | Domain(
  53. lldap-1 | "localhost",
  54. lldap-1 | ),
  55. lldap-1 | ),
  56. lldap-1 | port: None,
  57. lldap-1 | path: "/",
  58. lldap-1 | query: None,
  59. lldap-1 | fragment: None,
  60. lldap-1 | },
  61. lldap-1 | server_setup: None,
  62. lldap-1 | }
  63. lldap-1 | WARNING: A key_seed was given, we will ignore the server_key and generate one from the seed!
  64. lldap-1 | 2024-08-28T22:05:48.381327+00:00 INFO set_up_server [ 89.0ms | 5.84% / 100.00% ]
  65. lldap-1 | 2024-08-28T22:05:48.381360080+00:00 INFO ┝━ i [info]: Starting LLDAP version 0.5.1-alpha
  66. lldap-1 | 2024-08-28T22:05:48.383899698+00:00 DEBUG ┝━ get_schema_version [ 227µs | 0.26% ]
  67. lldap-1 | 2024-08-28T22:05:48.384459062+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: None
  68. lldap-1 | 2024-08-28T22:05:48.400840374+00:00 DEBUG ┝━ get_schema_version [ 94.0µs | 0.11% ]
  69. lldap-1 | 2024-08-28T22:05:48.401063935+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: Some(SchemaVersion(1))
  70. lldap-1 | 2024-08-28T22:05:48.401074055+00:00 INFO ┝━ i [info]: Upgrading DB schema from version 1
  71. lldap-1 | 2024-08-28T22:05:48.401075695+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 2
  72. lldap-1 | 2024-08-28T22:05:48.405736847+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 3
  73. lldap-1 | 2024-08-28T22:05:48.414443347+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 4
  74. lldap-1 | 2024-08-28T22:05:48.419605502+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 5
  75. lldap-1 | 2024-08-28T22:05:48.429537250+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 6
  76. lldap-1 | 2024-08-28T22:05:48.433982041+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 7
  77. lldap-1 | 2024-08-28T22:05:48.437971268+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 8
  78. lldap-1 | 2024-08-28T22:05:48.441130290+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 9
  79. lldap-1 | 2024-08-28T22:05:48.444988756+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 10
  80. lldap-1 | 2024-08-28T22:05:48.460753144+00:00 DEBUG ┝━ list_groups [ 314µs | 0.35% ] filters: Some(DisplayName(GroupName("lldap_admin")))
  81. lldap-1 | 2024-08-28T22:05:48.461861872+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
  82. lldap-1 | 2024-08-28T22:05:48.461866832+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_admin group, trying to create it
  83. lldap-1 | 2024-08-28T22:05:48.461870832+00:00 DEBUG ┝━ create_group [ 338µs | 0.38% ] request: CreateGroupRequest { display_name: GroupName("lldap_admin"), attributes: [] }
  84. lldap-1 | 2024-08-28T22:05:48.465951900+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: GroupId(1)
  85. lldap-1 | 2024-08-28T22:05:48.465961140+00:00 DEBUG ┝━ list_groups [ 286µs | 0.32% ] filters: Some(DisplayName(GroupName("lldap_password_manager")))
  86. lldap-1 | 2024-08-28T22:05:48.466908826+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
  87. lldap-1 | 2024-08-28T22:05:48.466935746+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_password_manager group, trying to create it
  88. lldap-1 | 2024-08-28T22:05:48.466943226+00:00 DEBUG ┝━ create_group [ 491µs | 0.55% ] request: CreateGroupRequest { display_name: GroupName("lldap_password_manager"), attributes: [] }
  89. lldap-1 | 2024-08-28T22:05:48.470899094+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: GroupId(2)
  90. lldap-1 | 2024-08-28T22:05:48.470912734+00:00 DEBUG ┝━ list_groups [ 400µs | 0.45% ] filters: Some(DisplayName(GroupName("lldap_strict_readonly")))
  91. lldap-1 | 2024-08-28T22:05:48.471599058+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
  92. lldap-1 | 2024-08-28T22:05:48.471605058+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_strict_readonly group, trying to create it
  93. lldap-1 | 2024-08-28T22:05:48.471610738+00:00 DEBUG ┝━ create_group [ 468µs | 0.53% ] request: CreateGroupRequest { display_name: GroupName("lldap_strict_readonly"), attributes: [] }
  94. lldap-1 | 2024-08-28T22:05:48.475848127+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: GroupId(3)
  95. lldap-1 | 2024-08-28T22:05:48.475893768+00:00 DEBUG ┝━ list_users [ 468µs | 0.53% ] filters: Some(MemberOf(GroupName("lldap_admin"))) | _get_groups: false
  96. lldap-1 | 2024-08-28T22:05:48.477099056+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
  97. lldap-1 | 2024-08-28T22:05:48.477104736+00:00 WARN ┝━ 🚧 [warn]: Could not find an admin user, trying to create the user "admin" with the config-provided password
  98. lldap-1 | 2024-08-28T22:05:48.477132216+00:00 DEBUG ┝━ create_user [ 395µs | 0.44% ] request: CreateUserRequest { user_id: UserId(CaseInsensitiveString("admin")), email: Email(""), display_name: Some("Administrator"), first_name: None, last_name: None, avatar: None, attributes: [] } | user_id: "admin"
  99. lldap-1 | 2024-08-28T22:05:48.481663727+00:00 DEBUG ┝━ register_password [ 79.7ms | 88.80% / 89.54% ] username: admin
  100. lldap-1 | 2024-08-28T22:05:48.481915769+00:00 DEBUG │ ┝━ registration_start [ 225µs | 0.25% ]
  101. lldap-1 | 2024-08-28T22:05:48.560889790+00:00 DEBUG │ ┕━ registration_finish [ 428µs | 0.48% ]
  102. lldap-1 | 2024-08-28T22:05:48.566114226+00:00 DEBUG ┝━ list_groups [ 350µs | 0.39% ] filters: Some(DisplayName(GroupName("lldap_admin")))
  103. lldap-1 | 2024-08-28T22:05:48.568047199+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: [Group { id: GroupId(1), display_name: GroupName("lldap_admin"), creation_date: 2024-08-28T22:05:48.461871512, uuid: Uuid("ed50a578-48e7-32e3-adff-17776eb586ca"), users: [], attributes: [] }]
  104. lldap-1 | 2024-08-28T22:05:48.568053759+00:00 DEBUG ┝━ add_user_to_group [ 194µs | 0.22% ] user_id: "admin"
  105. lldap-1 | 2024-08-28T22:05:48.572865832+00:00 INFO ┝━ i [info]: Starting the LDAP server on port 3890
  106. lldap-1 | 2024-08-28T22:05:48.572967472+00:00 DEBUG ┝━ get_jwt_blacklist [ 87.3µs | 0.10% ]
  107. lldap-1 | 2024-08-28T22:05:48.573251594+00:00 INFO ┕━ i [info]: Starting the API/web server on port 17170
  108. lldap-1 | 2024-08-28T22:05:48.573498596+00:00 INFO i [info]: starting 1 workers
  109. lldap-1 | 2024-08-28T22:05:48.573508276+00:00 INFO i [info]: Actix runtime found; starting in Actix runtime
  110. lldap-1 | 2024-08-28T22:05:48.574223121+00:00 INFO i [info]: DB Cleanup Cron started
  111. lldap-1 | 2024-08-28T22:06:18.424348516+00:00 DEBUG HTTP request [ 22.4µs | 100.00% ] method: "GET" | uri: "/health"
  112. lldap-1 | 2024-08-28T22:06:18.424371636+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
  113. lldap-1 | 2024-08-28T22:06:18.423747272+00:00 INFO LDAP session [ 514µs | 45.94% / 100.00% ]
  114. lldap-1 | 2024-08-28T22:06:18.424014674+00:00 INFO ┕━ LDAP request [ 278µs | 54.06% ]
  115. lldap-1 | 2024-08-28T22:06:18.424032874+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: [] }
  116. lldap-1 | 2024-08-28T22:06:18.424065154+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
  117. lldap-1 | 2024-08-28T22:06:18.424152875+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.5.1-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=snwy,dc=de"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=snwy,dc=de"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] })
  118. lldap-1 | 2024-08-28T22:06:18.424257236+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
  119. lldap-1 | 2024-08-28T22:06:48.494631742+00:00 DEBUG HTTP request [ 10.4µs | 100.00% ] method: "GET" | uri: "/health"
  120. lldap-1 | 2024-08-28T22:06:48.494643422+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
  121. lldap-1 | 2024-08-28T22:06:48.494248019+00:00 INFO LDAP session [ 223µs | 29.09% / 100.00% ]
  122. lldap-1 | 2024-08-28T22:06:48.494288540+00:00 INFO ┕━ LDAP request [ 158µs | 70.91% ]
  123. lldap-1 | 2024-08-28T22:06:48.494302060+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: [] }
  124. lldap-1 | 2024-08-28T22:06:48.494305620+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
  125. lldap-1 | 2024-08-28T22:06:48.494330140+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.5.1-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=snwy,dc=de"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=snwy,dc=de"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] })
  126. lldap-1 | 2024-08-28T22:06:48.494419341+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
  127. lldap-1 | 2024-08-28T22:07:18.566355965+00:00 INFO LDAP session [ 206µs | 37.22% / 100.00% ]
  128. lldap-1 | 2024-08-28T22:07:18.566412925+00:00 INFO ┕━ LDAP request [ 129µs | 62.78% ]
  129. lldap-1 | 2024-08-28T22:07:18.566427565+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: [] }
  130. lldap-1 | 2024-08-28T22:07:18.566431325+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
  131. lldap-1 | 2024-08-28T22:07:18.566453485+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.5.1-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=snwy,dc=de"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=snwy,dc=de"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] })
  132. lldap-1 | 2024-08-28T22:07:18.566519886+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
  133. lldap-1 | 2024-08-28T22:07:18.566925489+00:00 DEBUG HTTP request [ 10.8µs | 100.00% ] method: "GET" | uri: "/health"
  134. lldap-1 | 2024-08-28T22:07:18.566937369+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
  135. lldap-1 | 2024-08-28T22:07:48.640524816+00:00 DEBUG HTTP request [ 8.68µs | 100.00% ] method: "GET" | uri: "/health"
  136. lldap-1 | 2024-08-28T22:07:48.640534456+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
  137. lldap-1 | 2024-08-28T22:07:48.640310054+00:00 INFO LDAP session [ 174µs | 34.23% / 100.00% ]
  138. lldap-1 | 2024-08-28T22:07:48.640355055+00:00 INFO ┕━ LDAP request [ 115µs | 65.77% ]
  139. lldap-1 | 2024-08-28T22:07:48.640368775+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: [] }
  140. lldap-1 | 2024-08-28T22:07:48.640371855+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
  141. lldap-1 | 2024-08-28T22:07:48.640393375+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.5.1-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=snwy,dc=de"] }, LdapPartialAttribute { atype: "namingContexts", vals: ["dc=snwy,dc=de"] }, LdapPartialAttribute { atype: "isGlobalCatalogReady", vals: ["false"] }] })
  142. lldap-1 | 2024-08-28T22:07:48.640450175+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
Advertisement
Add Comment
Please, Sign In to add comment