nitnelave

Results 287 comments of nitnelave

@olaxe since you're the one with the most context, could you send a PR with the proposed update to the dolibarr code?

I don't know that much about rootDSE and how to respond with the schema. In the spirit of my limited time and to avoid reading the RFC, could you provide...

@FirstYear hey, do you know what's needed in the rootDSE for this? I made the minimum effort to be compliant, but this is stretching my knowledge. I guess I need...

Oh, geez, it's more complicated than I thought... I was hoping for adding a couple of lines to the hardcoded rootDSE 😅 Thanks a lot!

Hmm, I can't reproduce the panic. Could you post a sql dump of the DB, or send it to me privately on Discord? Don't worry, I won't be able to...

The ordering comes from the SQL query, not the migration: the query is ordered by user id, and so are the attributes. Is there a debug mode in PostgreSQL that...

Just to confirm, you used the migration tool provided by LLDAP, correct? Can you confirm that all the user IDs are lowercase in the DB? Something like "SELECT user_id FROM...

Ah, yeah, LLDAP was not built with "big" servers in mind, more for self-hosted homelabs. But still, 476 users is not that much, it should work. One limitation that we...

I'm not in front of the computer, but you can try with `user_ids.collect::()`

Got it to compile with: ```rust let user_ids: Vec = users.iter().map(|u| u.user.user_id.to_string()).collect(); let attributes = model::UserAttributes::find() //.filter(model::UserAttributesColumn::UserId.eq(Func::cust(Any).arg(user_ids))) .filter(Expr::cust_with_exprs( "? = ANY(?)", [ SimpleExpr::Column(model::UserAttributesColumn::UserId.into_column_ref()), user_ids.into(), ], )) .order_by_asc(model::UserAttributesColumn::UserId) .order_by_asc(model::UserAttributesColumn::AttributeName) .all(&self.sql_pool) .await?;...