- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LDAP-UX client with Active Directory is slow.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010 02:21 PM
01-14-2010 02:21 PM
LDAP-UX client with Active Directory is slow.
I have LDAP-UX set up to talk to Active Directory. I have caching enabled but pwgets take about .5 seconds even when cached. They take 1.5 seconds if they aren't.
Is this typical? I was expecting that cached entries would be faster.
Thanks,
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2010 06:23 AM
01-15-2010 06:23 AM
Re: LDAP-UX client with Active Directory is slow.
# ps -ef | grep pwgrd
You can see it's hit ratio with the interactive pwgr_stat command.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2010 10:54 AM
01-15-2010 10:54 AM
Re: LDAP-UX client with Active Directory is slow.
Other thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2010 11:02 AM
01-20-2010 11:02 AM
Re: LDAP-UX client with Active Directory is slow.
Once cached, lookups should be very quick. Are you doing your tests using pwget [man pwget(1)] and seeing the slow results or some other method? And are you doing enumeration or just single lookups (sounds like the later).
One thing you could try is see if the performance can be attributed directly to LDAP-UX or the directory server. Try this ldapsearch command and see how long it takes.
/opt/ldapux/bin/ldapsearch -b "
If that's fast, then there is something going on inside ldapux itself.
One other thing to do would be to post data from your ldapclientd configuration and statistics. Could you post the contents /etc/opt/ldapux/ldapclientd.conf and /etc/nsswitch.conf. And also, could you display the output of /opt/ldapux/bin/ldapclientd -S passwd, both before and after running the "pwget -u
Be sure to check that no confidential data is in any of the output you post.
BTW, I'm not sure what you mean by "with NIS+". Could you clarify?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 11:19 AM
01-22-2010 11:19 AM
Re: LDAP-UX client with Active Directory is slow.
The other thing that I discovered after painful scrutiny is that the ldapclientd.conf file I had (from one of the templates) did not have poscache_ttl or negcache_ttl values in each of the cache sections, i.e. passwd.
UGGGGGHHHHhhhh!
After I added those entries for the things I wanted to cache, I could use pwget -n
That's much closer to what I would have expected.
Thanks,
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2010 02:15 PM
01-22-2010 02:15 PM
Re: LDAP-UX client with Active Directory is slow.
Glad you worked it out. Just so you know, the default cache time (if it's enabled but not specified in the ldapclientd.conf file) for passwd and group is 120 seconds. The defaults are listed in the ldapclientd.conf man page "man 4 ldapclient.conf". The 4 is required because the man subsystem trims names and thus would not be able to distinguish from the ldapclientd(1m) man page.)
Bob