Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Slow SLAPD and "Bad IPREMOTE value" error' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Slow SLAPD and "Bad IPREMOTE value" error
Authored by: fletcherpenney on Mar 24, '03 04:14:38PM

I followed the directions and was able to get my ldap server started. Additionally, I enabled at startup by adding LDAPSERVER=-YES- to my /etc/hostconfig.

In NetInfo Manager, I added a /people setting and added some contacts there and configured address book to reference this by adding cn=people to the Search Base.

It works, both in Address Book and in Mail.app for tracking down the email addresses included here. (I have done this to allow sharing of my contacts to other computers on my local network).

The problem is this: slapd is REALLY slow to respond. I am able to do a search on a local university's ldap infitely faster than on my local server which contains only 3 addresses (plus the netinfo data).

I get the following error in my system log:
Bad IPREMOTEPORT value

Could this be related to the slowdown?

Any ideas on how to speed up slapd?

I was unable to find anything useful by a net search....

Thanks for the tip, and for any help anyone can offer!



[ Reply to This | # ]
Help needed
Authored by: sebastian on Sep 19, '03 09:20:02PM

Following the description I have access to the LDAP server with the Java application.
Unfortunately I do not get any results with an Address Book search.

I did not set a cn= and searched for the user and realnames, no results. (everything on this machine locally)

I also started LDAP with sudo /usr/libexec/slapd -d 1 and the lines start running whenever I query from Address Book.
When starting the server with this command I get a lot of "Invalid path" errors.

I also get such an error on a query:

==> netinfo_back_op_result dsstatus=2004 rc=32 msg=DSA2004: Invalid Path
send_ldap_result: conn=2 op=1 p=2
send_ldap_response: msgid=2 tag=101 err=32
ber_flush: 35 bytes to sd 7
<== netinfo_back_op_result
connection_get(7): got connid=2
connection_read(7): checking for input on id=2
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 7 failed errno=0 (Undefined error: 0)

Any suggestions?



[ Reply to This | # ]
Slow SLAPD and "Bad IPREMOTE value" error
Authored by: valeriol on Jan 29, '04 03:41:59PM

I know that your's is an old post ....

I have the same problem as you and I was wondering if you ever figured out the solution.

Thanks.



[ Reply to This | # ]