× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Andrew,
 
my LDAP server also is an Active Directory Windows machine
I tried the tree notation for the login account, as well as the full
notation as Lim mentioned .
Both give the same problem.
 
Bind is OK
search gives "Operations error".
 
I tried to set option Debug, 
In hope to get more explanation,
but this doesn't work either.   
I get on error returncode on the "set option" .
 
 
                                               
 D LDAP_DEBUG_OFF  C                   00      
 D DEBUG_TRACE     C                   01      
 D DEBUG_PACKETS   C                   02      
 D DEBUG_ARGS      C                   04      
 
 D ldap_set_option...                                             
 D                 PR            10i 0 ExtProc('ldap_set_option') 
 D   ld                            *   value                      
 D   option                      10I 0 value                      
 D   optionval                   10I 0 value           
 
 c                   eval      debugval = DEBUG_TRACE      
 c                   eval      rc = ldap_set_option (ld:   
 c                                   LDAP_OPT_DEBUG :      
 c                                   DEBUGval       ) 
 
luc
                
 
 
*       Subject: RE: LDAP search - operations error 

*       From: "McKeown, Andrew" <AMcKeown@xxxxxxxxxxx> 

*       Date: Wed, 9 Nov 2005 14:45:36 -0500 
 
Luc

Part of the problem is in how your LDAP server is configured.   In my
case my LDAP server is on a windows machine which is running Active
Directory.

In my case I do the following.

  eval      rc = ldap_simple_bind_s(ld:         
                  LOGIN_ACCT: LOGIN_PASSWD)

Login_acct = mydomain/userid
Login_passwd = mypassword

Hope this helps.

Andrew      

-----Original Message-----
From: rpg400-l-bounces+amckeown=hrblock.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+amckeown=hrblock.com@xxxxxxxxxxxx
<mailto:rpg400-l-bounces+amckeown=hrblock.com@xxxxxxxxxxxx> ] On Behalf Of
PITTOORS Luc
Sent: Wednesday, November 09, 2005 2:40 PM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: RE: LDAP search - operations error

Lim,

Yes, I use the full name to do the binding.
( Otherwise the bind didn't work )

Luc

message: 1
date: Wed, 9 Nov 2005 08:28:20 -0600
from: "Lim Hock-Chai" <Lim.Hock-Chai@xxxxxxxxxxxxxxx>
subject: RE: LDAP search - operations error

I've the same problem before and it was cause by me not using the full
directory path on the user ID when signing on to the server. 

When executing ldap_simple_bind_s, are you using full directory path on
the userID field?

'cn=_ldapUserID,ou=resources,ou=corporate,dc=us,dc=mydomain,dc=com'





As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.