Giter VIP home page Giter VIP logo

Comments (10)

freescout-help avatar freescout-help commented on July 18, 2024 1

@lngrmn We can take a look at it on your server - email us at [email protected] or you can find someone who can debug it for you: https://github.com/freescout-help-desk/freescout/wiki/Debugging

from freescout.

freescout-helpdesk avatar freescout-helpdesk commented on July 18, 2024

Use:

2024-05-23_15-12-40

from freescout.

lngrmn avatar lngrmn commented on July 18, 2024

@freescout-helpdesk I'm experiencing the exact same problem: My LDAP-Server is definitely working and I can clearly see my request's in its debug logs. Even my self-configured ldap-filter works, so that only a distinct amount of users gets returned. However, FreeScout keeps telling me that it can't find any users when I click on "Import now".

Could you please provide some help or fix for this? This is my configuration:
Bind DN: ou=users,o=ckh
Bind Username: root
Filter:
CleanShot 2024-06-12 at 21 29 29@2x

from freescout.

freescout-helpdesk avatar freescout-helpdesk commented on July 18, 2024

In LDAP Module v1.0.37 we've added LDAP Debug log to the "Import" dialog window.

Maybe it will help to identify the issue. If not - the only way is to debug it manually on your server: https://github.com/freescout-helpdesk/freescout/wiki/Debugging

2024-06-13_10-31-56

from freescout.

lngrmn avatar lngrmn commented on July 18, 2024

@freescout-helpdesk thanks for the update. This output helps a lot! But I still can't import any users eventhough 3 users are found:

CleanShot 2024-06-13 at 10 09 07@2x

What am I doing wrong?

from freescout.

freescout-helpdesk avatar freescout-helpdesk commented on July 18, 2024

It means for those users some information is missing (email or name, etc)

from freescout.

freescout-helpdesk avatar freescout-helpdesk commented on July 18, 2024

Try to change lines 241 in /Modules/Ldap/Overrides/Adldap/Connections/Ldap.php:

        if ($debug || 1) {

And you will see requests which LDAP Module makes to retrieve each user. Apparently by some reason it can not retrieve those users from your LDAP.

from freescout.

lngrmn avatar lngrmn commented on July 18, 2024

@freescout-helpdesk Thanks for your quick responses. Our LDAP-Service is behind a VPN.

Information for at least one user are provided correctly and I'm pretty sure that this applies to the other users as well since this is working in other applications for a good amount of time. Please have a look at the attributes given:

CleanShot 2024-06-13 at 11 10 05@2x

I tried changing the line you've mentioned in the module's php code. But I can't find any additional information. Neither in the ldap and app logs nor in the dialog that get's displayed after clicking on "Import now". Where do these get stored/displayed?

from freescout.

k1rb avatar k1rb commented on July 18, 2024

Not sure if it will be helpful at this point but, after @freescout-helpdesk replied to my last post, I was able to get this working with this filter:

dc=domain,dc=tld(&(objectClass=person)(objectcategory=person)(memberOf=CN=freescout-users,OU=My Org,DC=domain,DC=tld))

Thanks @freescout-helpdesk

from freescout.

lngrmn avatar lngrmn commented on July 18, 2024

Thanks @k1rb! Unfortunately changing the filter options led nowhere and I' m still unable to debug this topic properly...
@freescout-helpdesk-team you posted this the other day:

And you will see requests which LDAP Module makes to retrieve each user. Apparently by some reason it can not retrieve those users from your LDAP.

Where am I able to see the requests and responses being made? I can't find anything about that in the laravel-log or elsewhere. My LDAP-Server is clearly working with a bunch of other applications and the output above shows that even FreeScout is able to find some users with the options and filters I applied. Could you please provide some more information about where I can inspect the responses?
This is the LDAP server I am using: https://github.com/milux/ctldap

from freescout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.