Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use sqllite plugin for windows ? #2

Open
plmcoder opened this issue Feb 19, 2024 · 6 comments
Open

how to use sqllite plugin for windows ? #2

plmcoder opened this issue Feb 19, 2024 · 6 comments

Comments

@plmcoder
Copy link

how to use sqllite plugin on windows?

@plmcoder
Copy link
Author

any update here?

@cfr-convoso
Copy link

Unfortunately, Go currently does not support plugins in Windows.
There are attempts to make up for that shortcoming, from Hashicorp for instance, but they come at the cost of performance degradation.

@plmcoder
Copy link
Author

plmcoder commented Jun 3, 2024

so how can add/remove user on windows? modify the config file directly?
if I modified the config file, the glauth have to restart to make it available?

@plmcoder
Copy link
Author

plmcoder commented Jun 6, 2024

Hi cfr-convoso,

I take a tour on go plugin feature..........
you're absolutely right, Implementing these plugins on Windows is currently an impossible task.

so is it possible to rewrite windows and statically include sqlite/mysql in to glauth?
without the db feature, glauth on windows will useless.

thanks a lot!

@Fusion
Copy link
Contributor

Fusion commented Jun 15, 2024

I hear you. It's an interesting argument because it may not be that difficult to add some conditional behaviors, allowing us to build the plugin in the code.
Or we would use a different approach, like https://github.com/hashicorp/go-plugin with the caveat that this might introduce a real performance hit.

@Fusion
Copy link
Contributor

Fusion commented Jun 15, 2024

Hmm ok making good progress on statically embedding the plugin code in glauth... so I guess it's happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants