Hacker News new | ask | show | jobs
by EvanAnderson 706 days ago
Bizarre coincidence. I just ran into lldap for the first time earlier today. I built it on Windows for fun. I'm new to Rust and it was surprisingly easy (and only needed very slight modification).

If I were going to support Windows clients on the hypothetical home network, however, I'd use Samba as a Domain Controller and use the LDAP server there. That gets you SSO to Windows clients too.

1 comments

I'd be curious to see what you had to change to get LLDAP to work on windows, and whether we can upstream that (I'm the LLDAP dev)
I'm a complete Rust neophyte. I don't know any of the practices for writing portable Rust code. I'm at the point w/ Rust where I'm just acting like a cargo cult script kiddie (typing commands and hoping they work).

Doing a 'cargo build' on Windows 10 x64 running Rust 1.79 x86_64-pc-windows-msvc gives me an error "error[E0433]: failed to resolve: could not find `unix` in `os`" referencing "server\src\infra\configuration.rs:239:22". That, in turn, causes compilaton of line 240 to bomb out.

So, in true skiddie mode, I just commented out lines 239 - 242. Then it builds and runs fine.

Edit: I'll log an issue on Github, too.