-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/12/2014 12:05 PM, Roland Gruber wrote: > Hi John, Hi Roland. Thanks for replying. > > On 12.09.2014 15:02, John Maher wrote: >> I have LAM set up on our LDAP server, which is a dual, 4-core >> processor Xeon machine with 16 GB of memory. The LDAP server has >> about 14,500 user entries and about 800 groups. When I click on >> the edit icon to modify a user entry it takes a long time (I'm >> guessing the 30 seconds time out is eventually reached) and then >> presents the screen for editing a user entry, but no fields are >> displayed. > > LAM does some queries over your user suffix to e.g. check for > duplicate email addresses or calculate UID numbers. If it is > sufficient for you then set a subsuffix of your LDAP tree in your > LAM server profile on tab "Account types". There you can also set > an additional LDAP filter if there are accounts you do not need. My LDAP suffix for users is already ou=people,dc=cns, which is where every user is located. > > In general, 15.000 users may take more memory but should be no > problem regarding page load (should take just a few seconds). > Maybe the LDAP server is the bottleneck. It's possible that the LDAP server is the bottleneck, but I don't understand why editing a single user would need to start with a search of all users. (Although the check for duplicates would explain that I guess.) Can you direct me to the code that constructs the LDAP searches, or tell me what searches LAM is performing. I have yet to create a search using the ldapsearch utility that lasted more than a few seconds. Thanks. John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQTNrkACgkQG+X1pClwoUSlggCgl8ufey0d7MA5Ka8ECdE80PFT G5cAoLrAFvOiircEzHWMY2aAE3Dkvf5W =q1RX -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
