Hi,
Happy Wednesday! I currently work in a primarily linux/macos organisation and we started working with an old windows oriented company. A lot of our systems are written in Rust on Linux and we've been struggling to find a way to connect ourselves to our customer's SQL Server. Unfortunately their IT team only supports SSPI NTLM authentication and they won't budge on that. I cannot use Kerberos, I cannot contact their DC, I only have the option of SSPI NTLM via SQL Server. Maintaining a parallel windows machine deployment just for this is also not ideal.
We've successfully connected to their SQL Server using pymssql, but have not found any alternative in the Rust world that allows us to do this.
Is adding SSPI NTLM support something that the maintainers of this project would be interested in? I'm willing to give it a shot if so. Thinking of adding a feature flag sspi-rs which uses sspi-rs to allow the use of AuthMethod::Windows on Linux/MacOS. Nothing about the user facing API would change, just underneath I'll probably add a conditional check for #[cfg(all(windows, feature = "winauth"))] to use the existing Windows code, and #[cfg(all(windows, feature = "winauth"))] and #[cfg(all(unix, feature = "sspi-rs"))].
Thoughts would be really appreciated!
Hi,
Happy Wednesday! I currently work in a primarily linux/macos organisation and we started working with an old windows oriented company. A lot of our systems are written in Rust on Linux and we've been struggling to find a way to connect ourselves to our customer's SQL Server. Unfortunately their IT team only supports SSPI NTLM authentication and they won't budge on that. I cannot use Kerberos, I cannot contact their DC, I only have the option of SSPI NTLM via SQL Server. Maintaining a parallel windows machine deployment just for this is also not ideal.
We've successfully connected to their SQL Server using pymssql, but have not found any alternative in the Rust world that allows us to do this.
Is adding SSPI NTLM support something that the maintainers of this project would be interested in? I'm willing to give it a shot if so. Thinking of adding a feature flag
sspi-rswhich uses sspi-rs to allow the use ofAuthMethod::Windowson Linux/MacOS. Nothing about the user facing API would change, just underneath I'll probably add a conditional check for#[cfg(all(windows, feature = "winauth"))]to use the existing Windows code, and#[cfg(all(windows, feature = "winauth"))]and#[cfg(all(unix, feature = "sspi-rs"))].Thoughts would be really appreciated!