LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-17-2017, 09:22 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Size limit exceeded error for Active Directory Authentication


Hello --

We are running Red Hat Enterprise 7.1 on one of our servers, and Active Directory authentication has been configured for the user logins. We have been able to establish the binding setup on the server in question, but we are experiencing issues with the size limit setting. The log output for the authentication attempt is shown below:
Quote:
2017-11-17 10:10:10,044: INFO gcs - LdapInterface::login(...)
2017-11-17 10:10:10,044: DEBUG gcs - Options were initialized successfully.
2017-11-17 10:10:10,044: INFO gcs - Initialized connection with URL ldap://172.18.1.16:389
2017-11-17 10:10:10,044: DEBUG gcs - Try to bind to ldap://172.18.1.16:389 by using the type of simple
2017-11-17 10:10:10,044: DEBUG gcs - Using simple authentication to bind the user CN=SV562,CN=Users,DC=partners,DC=org.
2017-11-17 10:10:10,049: DEBUG gcs - Binding the user CN=SV562,CN=Users,DC=partners,DC=org has been successful.
2017-11-17 10:10:10,049: DEBUG gcs - Binding to user[CN=SV562,CN=Users,DC=partners,DC=org] has been successful!
2017-11-17 10:10:10,049: DEBUG gcs - Connecting to the host [ ldap://172.18.1.16:389 ] was successful!
2017-11-17 10:10:10,049: DEBUG gcs - Searching [ldap://172.18.1.16:389], base [CN=Users,DC=partners,DC=org], filter [(objectClass=*)], scope [1]
2017-11-17 10:10:10,115: ERROR gcs - Searching LDAP server was failed, the reason is Size limit exceeded
2017-11-17 10:10:10,115: INFO gcs - The authentication [SV565] has failed, due to connection: Fetching groups information has failed : The searching has failed, the reason is : Size limit exceeded
We believe a connection timeout could be occurring so to that end, the timeout setting on the server was set to 1000, but that did not solve the problem. Is there another setting(s) that can be adjusted on the Linux server, or at this point, should I look at the Active Directory settings?

Thanks.
 
Old 11-17-2017, 10:09 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,679

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by kaplan71 View Post
Hello --
We are running Red Hat Enterprise 7.1 on one of our servers, and Active Directory authentication has been configured for the user logins. We have been able to establish the binding setup on the server in question, but we are experiencing issues with the size limit setting. The log output for the authentication attempt is shown below:
Code:
2017-11-17 10:10:10,044: INFO gcs - LdapInterface::login(...)
2017-11-17 10:10:10,044: DEBUG gcs - Options were initialized successfully.
2017-11-17 10:10:10,044: INFO gcs - Initialized connection with URL ldap://172.18.1.16:389
2017-11-17 10:10:10,044: DEBUG gcs - Try to bind to ldap://172.18.1.16:389 by using the type of simple
2017-11-17 10:10:10,044: DEBUG gcs - Using simple authentication to bind the user CN=SV562,CN=Users,DC=partners,DC=org.
2017-11-17 10:10:10,049: DEBUG gcs - Binding the user CN=SV562,CN=Users,DC=partners,DC=org has been successful.
2017-11-17 10:10:10,049: DEBUG gcs - Binding to user[CN=SV562,CN=Users,DC=partners,DC=org] has been successful!
2017-11-17 10:10:10,049: DEBUG gcs - Connecting to the host [ ldap://172.18.1.16:389 ] was successful!
2017-11-17 10:10:10,049: DEBUG gcs - Searching [ldap://172.18.1.16:389], base [CN=Users,DC=partners,DC=org], filter [(objectClass=*)], scope [1]
2017-11-17 10:10:10,115: ERROR gcs - Searching LDAP server was failed, the reason is Size limit exceeded
2017-11-17 10:10:10,115: INFO gcs - The authentication [SV565] has failed, due to connection: Fetching groups information has failed : The searching has failed, the reason is : Size limit exceeded
We believe a connection timeout could be occurring so to that end, the timeout setting on the server was set to 1000, but that did not solve the problem. Is there another setting(s) that can be adjusted on the Linux server, or at this point, should I look at the Active Directory settings?
Size Limit Exceeded is an LDAP server error indicating that the search request was unable to return all entries due to the search limit. The problem is that the users or groups you are looking for may not have been in the entries that were returned. In AD, the default size limit is typically 1000 entries. The LDAP server error is usually followed by an error indicating the number of entries returned which is a few entries less than the actual size limit. There is nothing you can do to change this limit unless you are the LDAP server administrator.

Also, again, you are using RHEL 7.1...have you contacted the Red Hat support you're PAYING FOR (RIGHT??) and asked them? Or looked in the Red Hat knowledgebase? There is a known issue with a patch:
https://access.redhat.com/solutions/628793

...which you will not get if you're not paying for RHEL. And after using Samba and Linux for TWELVE YEARS now, it's surprising you cannot troubleshoot this issue.

Last edited by TB0ne; 11-17-2017 at 10:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File size limit exceeded error nobitavn Linux - Software 2 10-13-2010 02:55 AM
File size limit exceeded error athomas Linux - Software 9 05-10-2010 04:41 AM
pdftk 'File size limit exceeded' error ysrini Linux - Software 1 04-13-2010 10:17 AM
File Size Limit Exceeded error bhassel Red Hat 2 01-16-2008 05:39 PM
Hep me---File size limit exceeded--error Ratheeshshenoy Linux - General 6 07-30-2007 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration