mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #292] Ldap contact and password strange behavior #254
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#254
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lesar on GitHub (Oct 15, 2018).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/292
Originally assigned to: @jasonmunro on GitHub.
I'm trying cypht and I like it a lott.
I have configured ldap module and work well. I have put user and psw in site config and not in the module ini file. I try to remove the user and psw but:
Is there a ldap search on the roadmap?
Best regards,
Leonardo
@jasonmunro commented on GitHub (Oct 17, 2018):
Thanks! I appreciate your feedback.
I would not recommend doing that, but I don't think it breaks anything.
To clarify - you are changing the hm3.ini file to remove the user and pass values for the LDAP server, then rerunning the config_gen.php script (and logging out and back in) - and it still is able to access the LDAP contact list?
If that is correct, are you sure your LDAP server is configured to require authentication?
Not currently, but it would be a nice improvement especially for large addressbooks. I will create a new issue to track that request.
@lesar commented on GitHub (Oct 18, 2018):
No I'm try to change this setting on http://localhost/mail/?page=settings
under
Addressbooks -> PersonalIn my hm3.ini I have put only the
ldap_auth_base_dnand give the user and pws run time during authentication.In ldap.ini I have not put user and pws.
My Ldap server is configure to require authentication: I have installed it.
Best regards,
Leonardo
@jasonmunro commented on GitHub (Oct 18, 2018):
@lesar Ok, thanks for the clarification. I will dig into that part of the code and see what is going on!
@jasonmunro commented on GitHub (Oct 18, 2018):
Looks like the code is not actually using the username and password from the settings page! Because of that, we are doing an "anonymous bind" to the server. I just tested this locally and see what you are seeing. However, if you are still getting a contact list from your LDAP server that likely means you have not disabled anonymous binding, so you might want to check that. I had to apply an ldif like:
Working on a fix for the username and password now.
@jasonmunro commented on GitHub (Oct 18, 2018):
A fix has been pushed to the master branch. Thanks for the feedback!
@lesar commented on GitHub (Oct 19, 2018):
Thank you for the fix. You are right I have anonymous binding enable: I do not know that in ubuntu is enable by default.
Now I have disable it.
To disable it I have use this ldif:
@jasonmunro commented on GitHub (Oct 30, 2018):
I believe this is resolved so I'm closing this issue. Thanks for the feedback! If you are still having problems please re-open or file a new issue.