I updated this plugin to support native PHP ldap instead of the old Net_LDAP2.
Download the latest version if needed.
https://github.com/hydrian/TTRSS-Auth-LDAP
Auth_LDAP Support thread
Re: Auth_LDAP Support thread
TSM wrote:I updated this plugin to support native PHP ldap instead of the old Net_LDAP2.
Download the latest version if needed.
https://github.com/hydrian/TTRSS-Auth-LDAP
I've installed the plugin in the link, works great as far as getting a valid login from my openldap server. but then the ttrss logs says that I failed login.
OpenLDAP:
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 fd=15 ACCEPT from IP=xxxxxxx:57990 (IP=0.0.0.0:389)
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=0 BIND dn="" method=128
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=0 RESULT tag=97 err=0 text=
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=1 SRCH base="dc=xxxx,dc=us" scope=2 deref=0 filter="(&(objectClass=person)(uid=xxxx))"
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=1 SRCH attr=displayName title sAMAccountName
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=2 BIND dn="cn=xxxxxx,ou=Users,dc=xxxxxx,dc=us" method=128
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=2 BIND dn="cn=xxxxxx,ou=Users,dc=xxxxxx,dc=us" mech=SIMPLE ssf=0
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=2 RESULT tag=97 err=0 text=
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 op=3 UNBIND
Dec 14 03:02:16 auth01 slapd[14436]: conn=1651 fd=15 closed
TT-Rss
E_USER_WARNING (512) classes/handler/public.php:615 Failed login attempt for xxxxxxxx from xxxxxxxxx [Last query: SELECT salt FROM ttrss_users WHERE login = 'xxxxxx']1. classes/handler/public.php(615): user_error(Failed login attempt for mford from 10.13.37.20, 512)
2. public.php(50): login()
22:02
E_USER_WARNING (512) :0 Could not find user name attribute uid in LDAP entry 22:02
E_USER_NOTICE (1024) :0 Looking up TT-RSS username attribute in uid 22:02
E_USER_NOTICE (1024) :0 User: xxxxxx authentication successful 22:02
E_USER_NOTICE (1024) :0 Try to bind with user's DN: cn=xxxxxx,ou=xxxxxx,dc=xxxxxx,dc=us 22:02
E_USER_NOTICE (1024) :0 Connected to LDAP Server: ldaps://xxxxxx.xxxxxx.us:389/ with anonymous DN
Any thoughts on how to fix this??? Thanks!!!
Note: the X's is omitted data
Re: Auth_LDAP Support thread
cac2s wrote:try this https://github.com/corux/TTRSS-Auth-LDAP/
Thanks cac2s, that works perfectly....
Now I'm not a php developer (Linux sysadmin), please what are the differences between this and others (what makes this one work and all others i've tried not??)
Also, now that i have this working, i wish to restrict access to only my tinytinyrss group. Is this possible or am I bound to all LDAP users have access?
Re: Auth_LDAP Support thread
grimm wrote:cac2s wrote:Also, now that i have this working, i wish to restrict access to only my tinytinyrss group. Is this possible or am I bound to all LDAP users have access?
look at https://github.com/hydrian/TTRSS-Auth-LDAP/issues/19
Re: Auth_LDAP Support thread
Sorry for the lack up support here. Somehow I unsubscribed and wasn't getting the e-mails.
I've and contributers have been maintaining the code . We've recently updated the releases. You can now get the Net-LDAP2 free version here: https://github.com/hydrian/TTRSS-Auth-LDAP/releases/tag/2.0b1
Also, if you have issues, GitHub is probably a better place to put your issues. It's easier for me to respond there.
I've and contributers have been maintaining the code . We've recently updated the releases. You can now get the Net-LDAP2 free version here: https://github.com/hydrian/TTRSS-Auth-LDAP/releases/tag/2.0b1
Also, if you have issues, GitHub is probably a better place to put your issues. It's easier for me to respond there.
Return to “Themes and plugins”
Who is online
Users browsing this forum: No registered users and 1 guest