Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lldap-1 | > Setup permissions..
- lldap-1 | > Starting lldap..
- lldap-1 |
- lldap-1 | Loading configuration from /data/lldap_config.toml
- lldap-1 | Configuration: Configuration {
- lldap-1 | ldap_host: "0.0.0.0",
- lldap-1 | ldap_port: 3890,
- lldap-1 | http_host: "0.0.0.0",
- lldap-1 | http_port: 17170,
- lldap-1 | jwt_secret: ***SECRET***,
- lldap-1 | ldap_base_dn: "dc=snwy,dc=de",
- lldap-1 | ldap_user_dn: UserId(
- lldap-1 | CaseInsensitiveString(
- lldap-1 | "admin",
- lldap-1 | ),
- lldap-1 | ),
- lldap-1 | ldap_user_email: "",
- lldap-1 | ldap_user_pass: ***SECRET***,
- lldap-1 | force_ldap_user_pass_reset: False,
- lldap-1 | force_update_private_key: false,
- lldap-1 | database_url: sqlite:///data/users.db?mode=rwc,
- lldap-1 | ignored_user_attributes: [],
- lldap-1 | ignored_group_attributes: [],
- lldap-1 | verbose: true,
- lldap-1 | key_file: "server_key",
- lldap-1 | key_seed: Some(
- lldap-1 | ***SECRET***,
- lldap-1 | ),
- lldap-1 | smtp_options: MailOptions {
- lldap-1 | enable_password_reset: false,
- lldap-1 | from: None,
- lldap-1 | reply_to: None,
- lldap-1 | server: "localhost",
- lldap-1 | port: 587,
- lldap-1 | user: "",
- lldap-1 | password: ***SECRET***,
- lldap-1 | smtp_encryption: Tls,
- lldap-1 | tls_required: None,
- lldap-1 | },
- lldap-1 | ldaps_options: LdapsOptions {
- lldap-1 | enabled: false,
- lldap-1 | port: 6360,
- lldap-1 | cert_file: "cert.pem",
- lldap-1 | key_file: "key.pem",
- lldap-1 | },
- lldap-1 | http_url: Url {
- lldap-1 | scheme: "http",
- lldap-1 | cannot_be_a_base: false,
- lldap-1 | username: "",
- lldap-1 | password: None,
- lldap-1 | host: Some(
- lldap-1 | Domain(
- lldap-1 | "localhost",
- lldap-1 | ),
- lldap-1 | ),
- lldap-1 | port: None,
- lldap-1 | path: "/",
- lldap-1 | query: None,
- lldap-1 | fragment: None,
- lldap-1 | },
- lldap-1 | server_setup: None,
- lldap-1 | }
- lldap-1 | WARNING: A key_seed was given, we will ignore the server_key and generate one from the seed!
- lldap-1 | 2024-08-28T22:05:48.381327+00:00 INFO set_up_server [ 89.0ms | 5.84% / 100.00% ]
- lldap-1 | 2024-08-28T22:05:48.381360080+00:00 INFO ┝━ i [info]: Starting LLDAP version 0.5.1-alpha
- lldap-1 | 2024-08-28T22:05:48.383899698+00:00 DEBUG ┝━ get_schema_version [ 227µs | 0.26% ]
- lldap-1 | 2024-08-28T22:05:48.384459062+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: None
- lldap-1 | 2024-08-28T22:05:48.400840374+00:00 DEBUG ┝━ get_schema_version [ 94.0µs | 0.11% ]
- lldap-1 | 2024-08-28T22:05:48.401063935+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: Some(SchemaVersion(1))
- lldap-1 | 2024-08-28T22:05:48.401074055+00:00 INFO ┝━ i [info]: Upgrading DB schema from version 1
- lldap-1 | 2024-08-28T22:05:48.401075695+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 2
- lldap-1 | 2024-08-28T22:05:48.405736847+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 3
- lldap-1 | 2024-08-28T22:05:48.414443347+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 4
- lldap-1 | 2024-08-28T22:05:48.419605502+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 5
- lldap-1 | 2024-08-28T22:05:48.429537250+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 6
- lldap-1 | 2024-08-28T22:05:48.433982041+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 7
- lldap-1 | 2024-08-28T22:05:48.437971268+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 8
- lldap-1 | 2024-08-28T22:05:48.441130290+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 9
- lldap-1 | 2024-08-28T22:05:48.444988756+00:00 INFO ┝━ i [info]: Upgrading DB schema to version 10
- lldap-1 | 2024-08-28T22:05:48.460753144+00:00 DEBUG ┝━ list_groups [ 314µs | 0.35% ] filters: Some(DisplayName(GroupName("lldap_admin")))
- lldap-1 | 2024-08-28T22:05:48.461861872+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
- lldap-1 | 2024-08-28T22:05:48.461866832+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_admin group, trying to create it
- 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: [] }
- lldap-1 | 2024-08-28T22:05:48.465951900+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: GroupId(1)
- lldap-1 | 2024-08-28T22:05:48.465961140+00:00 DEBUG ┝━ list_groups [ 286µs | 0.32% ] filters: Some(DisplayName(GroupName("lldap_password_manager")))
- lldap-1 | 2024-08-28T22:05:48.466908826+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
- lldap-1 | 2024-08-28T22:05:48.466935746+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_password_manager group, trying to create it
- 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: [] }
- lldap-1 | 2024-08-28T22:05:48.470899094+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: GroupId(2)
- lldap-1 | 2024-08-28T22:05:48.470912734+00:00 DEBUG ┝━ list_groups [ 400µs | 0.45% ] filters: Some(DisplayName(GroupName("lldap_strict_readonly")))
- lldap-1 | 2024-08-28T22:05:48.471599058+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
- lldap-1 | 2024-08-28T22:05:48.471605058+00:00 WARN ┝━ 🚧 [warn]: Could not find lldap_strict_readonly group, trying to create it
- 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: [] }
- lldap-1 | 2024-08-28T22:05:48.475848127+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: GroupId(3)
- 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
- lldap-1 | 2024-08-28T22:05:48.477099056+00:00 DEBUG │ ┕━ 🐛 [debug]: | return: []
- 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
- 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"
- lldap-1 | 2024-08-28T22:05:48.481663727+00:00 DEBUG ┝━ register_password [ 79.7ms | 88.80% / 89.54% ] username: admin
- lldap-1 | 2024-08-28T22:05:48.481915769+00:00 DEBUG │ ┝━ registration_start [ 225µs | 0.25% ]
- lldap-1 | 2024-08-28T22:05:48.560889790+00:00 DEBUG │ ┕━ registration_finish [ 428µs | 0.48% ]
- lldap-1 | 2024-08-28T22:05:48.566114226+00:00 DEBUG ┝━ list_groups [ 350µs | 0.39% ] filters: Some(DisplayName(GroupName("lldap_admin")))
- 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: [] }]
- lldap-1 | 2024-08-28T22:05:48.568053759+00:00 DEBUG ┝━ add_user_to_group [ 194µs | 0.22% ] user_id: "admin"
- lldap-1 | 2024-08-28T22:05:48.572865832+00:00 INFO ┝━ i [info]: Starting the LDAP server on port 3890
- lldap-1 | 2024-08-28T22:05:48.572967472+00:00 DEBUG ┝━ get_jwt_blacklist [ 87.3µs | 0.10% ]
- lldap-1 | 2024-08-28T22:05:48.573251594+00:00 INFO ┕━ i [info]: Starting the API/web server on port 17170
- lldap-1 | 2024-08-28T22:05:48.573498596+00:00 INFO i [info]: starting 1 workers
- lldap-1 | 2024-08-28T22:05:48.573508276+00:00 INFO i [info]: Actix runtime found; starting in Actix runtime
- lldap-1 | 2024-08-28T22:05:48.574223121+00:00 INFO i [info]: DB Cleanup Cron started
- lldap-1 | 2024-08-28T22:06:18.424348516+00:00 DEBUG HTTP request [ 22.4µs | 100.00% ] method: "GET" | uri: "/health"
- lldap-1 | 2024-08-28T22:06:18.424371636+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
- lldap-1 | 2024-08-28T22:06:18.423747272+00:00 INFO LDAP session [ 514µs | 45.94% / 100.00% ]
- lldap-1 | 2024-08-28T22:06:18.424014674+00:00 INFO ┕━ LDAP request [ 278µs | 54.06% ]
- 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: [] }
- lldap-1 | 2024-08-28T22:06:18.424065154+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
- 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"] }] })
- lldap-1 | 2024-08-28T22:06:18.424257236+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
- lldap-1 | 2024-08-28T22:06:48.494631742+00:00 DEBUG HTTP request [ 10.4µs | 100.00% ] method: "GET" | uri: "/health"
- lldap-1 | 2024-08-28T22:06:48.494643422+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
- lldap-1 | 2024-08-28T22:06:48.494248019+00:00 INFO LDAP session [ 223µs | 29.09% / 100.00% ]
- lldap-1 | 2024-08-28T22:06:48.494288540+00:00 INFO ┕━ LDAP request [ 158µs | 70.91% ]
- 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: [] }
- lldap-1 | 2024-08-28T22:06:48.494305620+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
- 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"] }] })
- lldap-1 | 2024-08-28T22:06:48.494419341+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
- lldap-1 | 2024-08-28T22:07:18.566355965+00:00 INFO LDAP session [ 206µs | 37.22% / 100.00% ]
- lldap-1 | 2024-08-28T22:07:18.566412925+00:00 INFO ┕━ LDAP request [ 129µs | 62.78% ]
- 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: [] }
- lldap-1 | 2024-08-28T22:07:18.566431325+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
- 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"] }] })
- lldap-1 | 2024-08-28T22:07:18.566519886+00:00 DEBUG ┕━ 🐛 [debug]: | response: SearchResultDone(LdapResult { code: Success, matcheddn: "", message: "", referral: [] })
- lldap-1 | 2024-08-28T22:07:18.566925489+00:00 DEBUG HTTP request [ 10.8µs | 100.00% ] method: "GET" | uri: "/health"
- lldap-1 | 2024-08-28T22:07:18.566937369+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
- lldap-1 | 2024-08-28T22:07:48.640524816+00:00 DEBUG HTTP request [ 8.68µs | 100.00% ] method: "GET" | uri: "/health"
- lldap-1 | 2024-08-28T22:07:48.640534456+00:00 DEBUG ┕━ 🐛 [debug]: | status_code: 200
- lldap-1 | 2024-08-28T22:07:48.640310054+00:00 INFO LDAP session [ 174µs | 34.23% / 100.00% ]
- lldap-1 | 2024-08-28T22:07:48.640355055+00:00 INFO ┕━ LDAP request [ 115µs | 65.77% ]
- 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: [] }
- lldap-1 | 2024-08-28T22:07:48.640371855+00:00 DEBUG ┝━ 🐛 [debug]: rootDSE request
- 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"] }] })
- 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