aker-gateway / Aker

SSH bastion/jump host/jumpserver
Other
567 stars 81 forks source link

No module named 'pyhbac' #50

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi, when I tried to run aker.py I got

ModuleNotFoundError: No module named 'pyhbac'

I believe it is some FreeIPA dependency. I would prefer to be independent on FreeIPA since I do not want to use it anyway. It should be only optional dependency.

anazmy commented 6 years ago

Hey, ur right that's FreeIPA dependency, but its optional, you can just change default identity provider idp setting in aker.ini to idp = Json to use the json instead.

ghost commented 6 years ago

Ok, but shouldn't be Json provider default since FreeIPA is optional?

anazmy commented 6 years ago

For now FreeIPA is the default since its feature complete, i.e. you manage sudo rules,ssh keys and HBAC in centralized way, which is nice specially for large environments.

Also, CRUD functionality for json, i.e. create, read, update, and delete records is not there yet.

ghost commented 6 years ago

Ok, thanks. Closing this one.