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

Improvement : added connexion to LDAP server #1966

Open
wants to merge 5 commits into
base: stable
Choose a base branch
from
Open

Improvement : added connexion to LDAP server #1966

wants to merge 5 commits into from

Conversation

F4INX
Copy link
Contributor

@F4INX F4INX commented Oct 6, 2015

Hi,

I have made some modifications to connect pyload to some LDAP server.

I would like to have your comments on it.

Have a nice day,
See you soon,
thadrien

@F4INX
Copy link
Contributor Author

F4INX commented Oct 6, 2015

P.S : Please be indulgent, I am a beginner with git and pyload.

About "Dracchus" and "dracchus-server" which can be seen in the logs, they are names related to my server.

@vuolter vuolter added the enhancement New feature or bugfix label Oct 7, 2015
@vuolter vuolter added this to the 0.4.10 milestone Oct 7, 2015
@F4INX
Copy link
Contributor Author

F4INX commented Oct 26, 2015

Hi,

I just updated my PR because I made some improvements : a bug correction, addition of a "dummy" user mode and some comment.

The dummy user mode is a mode which allows anyone to log into Pyload. It is usefull for single user configuration used locally. Additionnally, it is very practical for a portable version.

Best regards,

@adielp89
Copy link

Hi, I'm new to this project and managed with this post to link my pyLoad with LDAP my network server, now I would like to know how I can change the options for my users to log into the system using ldap not have administrative permissions but they can add links.

@F4INX
Copy link
Contributor Author

F4INX commented Feb 12, 2016

Hi,

Please have a look on LDAPDatabase.py and Api.py. It will give you the
answer: put the good numerical value in "pyloadPermission" field, this
value being the sum of all permission (values indicated in Api.py).

Have a nice day,
Hadrien
Le 12 févr. 2016 17:35, "Adiel" [email protected] a écrit :

Hi, I'm new to this project and managed with this post to link my pyLoad
with LDAP my network server, now I would like to know how I can change the
options for my users to log into the system using ldap not have
administrative permissions but they can add links.


Reply to this email directly or view it on GitHub
#1966 (comment).

@adielp89
Copy link

You could help me as would the entire image with the data then give them ...

ldap

  1. I want the users in this OU can only pyLoad with logging of the previously configured permissions on the file server LDAP_UserDatabase.
    OU = downloads, OU = Employees, OU = managers, ou = _Usuarios, DC = example, DC = com
  2. User pepe is the admin can to log on the LDAP
    CN = pepe, OU = downloads, OU = Employees, OU = managers, ou = _Usuarios, DC = example, DC = com
  3. The name of my ldap server is ..
    ldap: //ido.example.com

@adielp89
Copy link

I thought I was running the ldap but when I noticed that I was fucking dummy setting that allows any USAER and log in to the system and pass that to what I want does not help me ...
Please can you help me to configure the ldap ... !!

@F4INX
Copy link
Contributor Author

F4INX commented Feb 13, 2016

Hi,

The dummy setting was added for tests and portable version only.

Have you troubles with your LDAP server configuration, or with Pyload ?

Have a nice day,
Best regards,
Hadrien
Le 13 févr. 2016 00:03, "Adiel" [email protected] a écrit :

I thought I was running the ldap but when I noticed that I was fucking
dummy setting that allows any USAER and log in to the system and pass that
to what I want does not help me ...
Please can you help me to configure the ldap ... !!


Reply to this email directly or view it on GitHub
#1966 (comment).

@adielp89
Copy link

Hi there,
@thadrien The problem that I have is not how to use ldap functions, that is need to link the pyLoad with ldap my business I need help on this subject, previously published the dn basis of my Active Directory server with OU where my users are who Loguen want it in the system along with the photo that appears on the configuration management pyLoad ..

What I need is help me that I should put in each box that picture ...

Adiel

@F4INX
Copy link
Contributor Author

F4INX commented Feb 14, 2016

Hi Adiel,

There is an example of what you need to put in the picture in the comments
of LDAPDatabase.py. I always put the documentation in the code.

However, you need to add a field to your LDAPDatabase. For this, you need
some config. I will send you an example file as soon as possible (in two
weeks: I'm far from the server).

Have a nice day,
Hadrien
Le 13 févr. 2016 20:49, "Adiel" [email protected] a écrit :

Hi there,
@thadrien https://github.com/thadrien The problem that I have is not
how to use ldap functions, that is need to link the pyLoad with ldap my
business I need help on this subject, previously published the dn basis of
my Active Directory server with OU where my users are who Loguen want it in
the system along with the photo that appears on the configuration
management pyLoad ..

What I need is help me that I should put in each box that picture ...

Adiel


Reply to this email directly or view it on GitHub
#1966 (comment).

@adielp89
Copy link

Hello @thadrien,
when you can you can help with LDAPDatabase configuration file for linking ldap my Active Directory accounts.

@F4INX
Copy link
Contributor Author

F4INX commented Mar 1, 2016

Hi,

The trick is to add some field needed by pyload to the LDAP database. I don't know for Active Directory but here is the config for openldap : pyload.schema.txt

I hope this will help you.

Best regards,
Have a nice day,
Hadrien

@GammaC0de GammaC0de mentioned this pull request Mar 27, 2017
@ghost ghost mentioned this pull request Mar 29, 2019
@CLAassistant
Copy link

CLAassistant commented Aug 27, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Hadrien Theveneau seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or bugfix
Development

Successfully merging this pull request may close these issues.

None yet

4 participants