Installing and uploading packages with authentication from LDAP

Hi,
I have a question if is it possible to somehow hook an authentication for *pip install *command on private repo? I also wonder if authentication can be checked base on *LDAP*? I know that there is *devpi-ldap* package but even when I have used this package to upload my package to server I was not able to. It worked on created user but not on LDAP saying that user does not exist (HTTPError: 401 Client Error). Is there some workaround to make it work?
BR, Wojtek

On 30 Jun 2016, at 16:50, Wojciech Askuntowicz wrote:
Hi,
I have a question if is it possible to somehow hook an authentication for *pip install *command on private repo?
Not at the moment. You can use basic authentication on the webserver, but there are still some kinks with that, especially in regard to uploads.
I also wonder if authentication can be checked base on *LDAP*? I know that there is *devpi-ldap* package but even when I have used this package to upload my package to server I was not able to. It worked on created user but not on LDAP saying that user does not exist (HTTPError: 401 Client Error). Is there some workaround to make it work?
The user must exist in LDAP, devpi-ldap only reads from LDAP.
Regards, Florian Schulze
participants (2)
-
Florian Schulze
-
Wojciech Askuntowicz