Discussion:
[Geoserver-users] LDAP user group service limits number of users to 1000?
GIS Hallstahammar
2017-07-03 11:00:23 UTC
Permalink
Hello all,

We have added an LDAP "user group service" to our GeoServer. At the end of
the result list when browsing the users it says "Results 1 to 25 (out of
1,000 items)". This means we are not getting all the users, as there are
more than one thousand. Is there any way to change/remove this limitation?
Thanks for any help.


Our setup:
GeoServer: 2.11.0
Java: 1.8.0_92 (64 bits)
OS: Windows Server 2012 R2
Web server: Apache httpd 2.4.25
Application server: Tomcat 8.5


//Markus.
Niels Charlier
2017-07-03 13:57:37 UTC
Permalink
I don't think is a limitation on geoserver... geoserver just does a
query, but it is your ldap sever which limits the results it returns. If
you do an ldapsearch, you probably get a limit of 1000 results as well?
Post by GIS Hallstahammar
Hello all,
We have added an LDAP "user group service" to our GeoServer. At the
end of the result list when browsing the users it says "Results 1 to
25 (out of 1,000 items)". This means we are not getting all the users,
as there are more than one thousand. Is there any way to change/remove
this limitation? Thanks for any help.
GeoServer: 2.11.0
Java: 1.8.0_92 (64 bits)
OS: Windows Server 2012 R2
Web server: Apache httpd 2.4.25
Application server: Tomcat 8.5
//Markus.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Andrea Aime
2017-07-03 14:53:57 UTC
Permalink
Hi Niels,
I don't know how LDAP integration is implementd, but maybe this could be
relevant?

http://hartofbrian.blogspot.it/2014/04/using-spring-ldap-to-page-large-search.html

Cheers
Andrea
I don't think is a limitation on geoserver... geoserver just does a query,
but it is your ldap sever which limits the results it returns. If you do an
ldapsearch, you probably get a limit of 1000 results as well?
Hello all,
We have added an LDAP "user group service" to our GeoServer. At the end of
the result list when browsing the users it says "Results 1 to 25 (out of
1,000 items)". This means we are not getting all the users, as there are
more than one thousand. Is there any way to change/remove this limitation?
Thanks for any help.
GeoServer: 2.11.0
Java: 1.8.0_92 (64 bits)
OS: Windows Server 2012 R2
Web server: Apache httpd 2.4.25
Application server: Tomcat 8.5
//Markus.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/
userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,

Andrea Aime

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
GIS Hallstahammar
2017-07-04 07:58:56 UTC
Permalink
I believe you are correct Niels. I tried doing a search with Apache
Directory and it also only lists 1000 results, so it seems to be a server
side configuration that is needed. I don't know if this is a default
setting for Microsoft AD-servers? If so, maybe GeoServer could work around
it somehow (I guess this is what your post is about Andrea?). As we don't
have access to configure the AD-servers, a way of solving it using
GeoServer would be preferable. Thanks for the input.

//Markus.
Post by Andrea Aime
Hi Niels,
I don't know how LDAP integration is implementd, but maybe this could be
relevant?
http://hartofbrian.blogspot.it/2014/04/using-spring-ldap-
to-page-large-search.html
Cheers
Andrea
Post by Niels Charlier
I don't think is a limitation on geoserver... geoserver just does a
query, but it is your ldap sever which limits the results it returns. If
you do an ldapsearch, you probably get a limit of 1000 results as well?
Hello all,
We have added an LDAP "user group service" to our GeoServer. At the end
of the result list when browsing the users it says "Results 1 to 25 (out
of 1,000 items)". This means we are not getting all the users, as there are
more than one thousand. Is there any way to change/remove this limitation?
Thanks for any help.
GeoServer: 2.11.0
Java: 1.8.0_92 (64 bits)
OS: Windows Server 2012 R2
Web server: Apache httpd 2.4.25
Application server: Tomcat 8.5
//Markus.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
http://www.ianturton.com/talks/foss4g.html#/
http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313 <+39%200584%20962313>
fax: +39 0584 1660272 <+39%200584%20166%200272>
mob: +39 339 8844549 <+39%20339%20884%204549>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/
userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Niels Charlier
2017-07-04 08:11:14 UTC
Permalink
Hello Markus,

I found this work-around for you:

https://support.intranetconnections.com/hc/en-us/articles/214747288-Changing-LDAP-Settings-Increasing-MaxPageSize


However, Andrea made a good point that geoserver could work around it as
well. Since this is the default behaviour of AD servers, I think that
would be a great idea. I will make a ticket for it.

Kind Regards
Niels
Post by GIS Hallstahammar
I believe you are correct Niels. I tried doing a search with Apache
Directory and it also only lists 1000 results, so it seems to be a
server side configuration that is needed. I don't know if this is a
default setting for Microsoft AD-servers? If so, maybe GeoServer could
work around it somehow (I guess this is what your post is about
Andrea?). As we don't have access to configure the AD-servers, a way
of solving it using GeoServer would be preferable. Thanks for the input.
//Markus.
Hi Niels,
I don't know how LDAP integration is implementd, but maybe this
could be relevant?
http://hartofbrian.blogspot.it/2014/04/using-spring-ldap-to-page-large-search.html
<http://hartofbrian.blogspot.it/2014/04/using-spring-ldap-to-page-large-search.html>
Cheers
Andrea
I don't think is a limitation on geoserver... geoserver just
does a query, but it is your ldap sever which limits the
results it returns. If you do an ldapsearch, you probably get
a limit of 1000 results as well?
Post by GIS Hallstahammar
Hello all,
We have added an LDAP "user group service" to our GeoServer.
At the end of the result list when browsing the users it says
"Results 1 to 25 (out of 1,000 items)". This means we are not
getting all the users, as there are more than one thousand.
Is there any way to change/remove this limitation? Thanks for
any help.
GeoServer: 2.11.0
Java: 1.8.0_92 (64 bits)
OS: Windows Server 2012 R2
Web server: Apache httpd 2.4.25
Application server: Tomcat 8.5
//Markus.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
- Earning your support instead of buying it, but Ian Turton:http://www.ianturton.com/talks/foss4g.html#/
<http://www.ianturton.com/talks/foss4g.html#/>
- The GeoServer user list posting guidelines:http://geoserver.org/comm/userlist-guidelines.html
<http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
<https://lists.sourceforge.net/lists/listinfo/geoserver-users>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's
most engaging tech sites, Slashdot.org!
http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list Please make sure you read the
following two resources before posting to this list: - Earning
http://www.ianturton.com/talks/foss4g.html#/
<http://www.ianturton.com/talks/foss4g.html#/> - The GeoServer
http://geoserver.org/comm/userlist-guidelines.html
<http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
<https://lists.sourceforge.net/lists/listinfo/geoserver-users>
--
Regards,
Andrea Aime
==GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.==Ing. Andrea Aime
@geowolfTechnical LeadGeoSolutions S.A.S.Via di Montramito
3/A55054 Massarosa (LU)phone: +39 0584 962313
<tel:+39%200584%20962313>fax: +39 0584 1660272
<tel:+39%200584%20166%200272>mob: +39 339 8844549
<tel:+39%20339%20884%204549>http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
<http://twitter.com/geosolutions_it>
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica
e/o nel/i file/s allegato/i sono da considerarsi strettamente
riservate. Il loro utilizzo è consentito esclusivamente al
destinatario del messaggio, per le finalità indicate nel messaggio
stesso. Qualora riceviate questo messaggio senza esserne il
destinatario, Vi preghiamo cortesemente di darcene notizia via
e-mail e di procedere alla distruzione del messaggio stesso,
cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti,
copiarlo, od utilizzarlo per finalità diverse, costituisce
comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended
solely for the attention and use of the named addressee(s) and may
be confidential or proprietary in nature or covered by the
provisions of privacy act (Legislative Decree June, 30 2003,
no.196 - Italy's New Data Protection Code).Any use not in accord
with its purpose, any disclosure, reproduction, copying,
distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please
contact immediately the sender by telephone, fax or e-mail and
delete the information in this message that has been received in
error. The sender does not give any warranty or accept liability
as the content, accuracy or completeness of sent messages and
accepts no responsibility for changes made after they were sent
or for other risks which arise as a result of e-mail transmission,
viruses, etc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Geoserver-users
mailing list Please make sure you read the following two resources
before posting to this list: - Earning your support instead of
http://www.ianturton.com/talks/foss4g.html#/
<http://www.ianturton.com/talks/foss4g.html#/> - The GeoServer
http://geoserver.org/comm/userlist-guidelines.html
<http://geoserver.org/comm/userlist-guidelines.html>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
<https://lists.sourceforge.net/lists/listinfo/geoserver-users>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Loading...