Search found 11 matches
- Thu May 14, 2020 9:16 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
"I then place the mayan_settings.myldapsettings file in the /home/bradc/mayan-volumes/mayan-settings directory" is there a miss type there? if it is in /home/bradc/mayan-volumes/mayan-settings then edit your settings line to this MAYAN_SETTINGS_MODULE: "mayan-settings.myldapsettings" If that does no...
- Mon May 11, 2020 3:19 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
So I got it all to work and these are my final config files. as well as one other command That i did that I do not know if it worked or not. /opt/mayan-edms/media/mayan_settings/ldap_connection_settings.py from __future__ import absolute_import import ldap from django_auth_ldap.config import ( Group...
- Thu May 07, 2020 4:16 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
So I got back in and ldap is pulling groups it looks like based on the log entries but I'm still not sure how to give permissions based on groups from ldap. With out that it makes ldap useless. All i want is to give all new logins the same set of default permissions. I'm fine with editing the admins...
- Thu May 07, 2020 3:30 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
So i think i got it to give permissions based on LDAP but now my superuser has normal permissions. How do i allow it to let me login with the original admin credentials.
Once i figure this out I will write up some how to's for exactly what I did.
Once i figure this out I will write up some how to's for exactly what I did.
- Wed May 06, 2020 8:54 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
I got it to work now. Is there a way to give permissions based on ldap groups the guide here says there is but i cant find any more info than that.
viewtopic.php?f=15&t=1606
viewtopic.php?f=15&t=1606
- Wed May 06, 2020 8:45 pm
- Forum: Guides
- Topic: How to set up Mayan EDMS to authenticate against LDAP
- Replies: 6
- Views: 3562
Re: How to set up Mayan EDMS to authenticate against LDAP
Hello, Your guide helped me a bunch and tomorrow i will add in some things i needed to do to get it to work. I just had a question. You said you can assign roles and permissions based on ldap groups. What would those settings be to do that and where would you put them? That's the final piece of this...
- Wed May 06, 2020 6:20 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
So i got it to load the settings files i wanted which is now working I will share the config settings in a bit. But where are the auth logs and the bind logs. I know ldap is now being used for authentication because i cant use the main admin account anymore but i also can not login with an ldap acco...
- Wed May 06, 2020 5:44 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
So I got it to finaly read the settings file but im getting this output in the gunicorn logs. So im getting closer but im not sure what to do. [2020-05-06 17:33:02 +0000] [1458] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/mayan-edms/lib/python3.6/site-packages/g...
- Tue May 05, 2020 7:02 pm
- Forum: General topics
- Topic: LDAP integration problems
- Replies: 13
- Views: 10611
Re: LDAP integration problems
Hi, I just tried that and it still did not seem to work. I noticed somewhere that this line in the mayan.conf needed changed DJANGO_SETTINGS_MODULE=mayan.settings.production, but when i did it broke on a reboot. i changed it to DJANGO_SETTINGS_MODULE=DJANGO_SETTINGS_MODULE=mayan.media.mayan_settings...
- Tue May 05, 2020 3:29 pm
- Forum: Under the hood
- Topic: LDAP integration
- Replies: 20
- Views: 12929
Re: LDAP integration
Hi, I am having trouble getting the LDAP integration to work on a direct install. I don't see any errors in the supervisor log file for mayan but i don't see anything about the ldap connection to see if its binding let alone if I have the mappings right. Any help would be great. I'm not really sure ...