Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

LDAP Query in LimeSurvey

  • sherrysheeraz
  • sherrysheeraz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #146561 by sherrysheeraz
LDAP Query in LimeSurvey was created by sherrysheeraz
Dear All,
I have enabled LDAP in php.ini file, and provide all parameters in application/config/ldap.php file.
Ldap Server name , binddn, bindpw, and remaining parameters.

I have set my parameter for User Search is
$ldap_queries[$query_id] = 'ou=AllUser,dc=mycompany,dc=org'; (as an example)

But when i want to import participant from LDAP Query with all my Active Directory Users it shows this error
ldap_search(): Partial search results returned: Sizelimit exceeded

I have searched a lot about this and find that it cant import more than 1000 users.

Is there anyway to import more than 1000 users through LDAP Query ?
Please help me if any one know how to resolve this issue?
Thank You.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #146564 by DenisChenu
Replied by DenisChenu on topic LDAP Query in LimeSurvey
Hi,

To allow import of LDAP : set debug to 0 : no warning

Is there anyway to import more than 1000 users through LDAP Query ?

It's YOUR ldap server limit, then it's YOUR issue stackoverflow.com/a/6874119/2239406 + docs.libraesva.com/ldap-query-returns-on...-sizelimit-exceeded/ etc ....

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: sherrysheeraz
The topic has been locked.
  • sherrysheeraz
  • sherrysheeraz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #146756 by sherrysheeraz
Replied by sherrysheeraz on topic LDAP Query in LimeSurvey
My System Administrator said There is no default value to 1000 import at a time. it can import more than 1000 at a time, so its application bug not LDAP default value.
Is there anyway to change limit of ldap import in limesurvey php file ?
if so, Please tell ?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 3 months ago #146757 by DenisChenu
Replied by DenisChenu on topic LDAP Query in LimeSurvey
There are NO LIMIT in limesurvey.

Maybe you can give links to your 'admini' docs.libraesva.com/ldap-query-returns-on...-sizelimit-exceeded/

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • sherrysheeraz
  • sherrysheeraz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #146759 by sherrysheeraz
Replied by sherrysheeraz on topic LDAP Query in LimeSurvey
Thanks Denis,
I have an other issue which i can't sort out that is, I want to import my AD users with respect to location and departments .
For example i have Locations A1, A2 and A3 and have departments IT,Admin,HR, and Engineering in all locations.
It works fine with all locations and also work fine when i wrote( ou=IT, ou=A1) as an example.
but i want two Drop down list, in first list I select A1 as Location and want to select department IT or Admin from second list and then give user from both of them i.e. from A1 and IT.

Please help me to resolve this.
Thank you in advance.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose