devon-mar

Results 26 comments of devon-mar

In my case, I have some virtual and physical routers that hold the same roles. I'm using pynetbox in my runbook to gather other data about the device (interfaces, IPs,...

Here's my [Dockerfile](https://github.com/devon-mar/netbox-docker-saml) [(DockerHub)](https://hub.docker.com/r/devonm/netbox-docker-saml). I needed to explicitly pin pysaml2 to 6.5.2 to get it to work.

You have to force install a newer version of `pysaml2`: ``` pip install "pysaml2==6.5.2" ```

I get that error when building my Docker image, but it still works. You'll get that because `django3-auth-saml2` has `pysaml2` pinned on `5.0.0`, or at least the version on pypi...

You could try install `django3-auth-saml` from git (I haven't tried it myself): ``` pip install git+https://github.com/jeremyschulman/django3-auth-saml2 ``` Also take a look at #45 if you haven't already.

If you're using a newer version of pysaml2, it seems to do some manipulation on attribute names (tested on 6.5.2). Try changing the attribute to just `emailAddress`.

Is NetBox able to import any of the other backends? Also, if you open up Python in the same venv as NetBox, can you import it (`from django3_saml2_nbplugin.backends import SAML2CustomAttrUserBackend`)

Glad you find this plugin useful. Yes, I do plan on updating this plugin for NetBox 4.0, hopefully in the next couple of weeks.

I just released v1.0.0 which supports NetBox v4.0. Let me know if you have any issues with it.