[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: LDAP client question .



At 05:59 PM 2001-08-29, Hemlata Ahire wrote:
>Thanks !! 
>I have experimented with the ldap*(1) tools and my very simple slapd server
>is working .
>Now i am writing a simple a LDAP client that will query the LDAP server .
>I wrote the code and i am getting the following compile time errors .Am i
>missing something here ? 

I suggest you examine your code before the #include.

>*************************
>/usr/local/include/lber_types.h:42: syntax error before `int'
>/usr/local/include/lber_types.h:55: syntax error before `long'
>In file included from /export/home/hahire/openldap-2.0.11/include/ldap.h:27,
>                 from ./src/radiusd.c:157:
>/usr/local/include/lber.h:177: parse error before `ber_slen_t'
>/usr/local/include/lber.h:177: warning: no semicolon at end of struct or
>union
>/usr/local/include/lber.h:179: parse error before `*'
>/usr/local/include/lber.h:180: `ber_slen_t' declared as function returning a
>function
>/usr/local/include/lber.h:180: `ber_slen_t' redeclared as different kind of
>symbol
>/usr/local/include/lber_types.h:55: previous declaration of `ber_slen_t'
>/usr/local/include/lber.h:183: parse error before `}'
>/usr/local/include/lber.h:392: parse error before `ber_read'
>/usr/local/include/lber.h:398: parse error before `ber_write'
>*** Error code 1
>******************************************
>
>Thanking in advance ....
>-Hemlata .
>
>-----Original Message-----
>From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
>Sent: Wednesday, August 29, 2001 11:35 AM
>To: Hemlata Ahire
>Cc: 'openldap-software@OpenLDAP.org'
>Subject: Re: LDAP client question .
>
>
>LDAP, like DAP, is a protocol for accessing an X.500 directory.
>A standalone server, such as slapd, still must act in accordance
>with X.500 (but isn't required to support DAP [X.511]).
>
>Anyways, ud(1) is kind of a funky client.  I generally suggest
>you toy with ldap*(1) tools to get the hang of things.  Otherwise,
>look in the FAQ for a list of numerous other clients.
>
>At 11:33 AM 2001-08-29, Hemlata Ahire wrote:
>
>
>>Hi All,
>>I have couple of questions .
>>
>>I have set up the OpenLDAP 2.0.11 server .Now i wanna test it using a
>>generic client .
>>I found ud .But the doc suggests that it is a  X.500 directory  client .so
>>my question is whether this can be used with OpenLDAP ? I tried installing
>>this client but it gives me an error saying "The X.500 Directory is
>>temporarily unavailable.  Please try again later."
>>So does this suggest that the directory server should be a X.500 ?
>>
>>Next ,what are the other generic client that can be used with OpenLDAP? I
>>wanna use that opens up a LDAP connection only once and then accepts
>>requests for read/modify ( Reason is i intend to have modifies quite often
>>that change only an particular attribute ).
>>
>>Any suggestions are welcome ..
>>Thanks ,
>>Hemlata.
>>
>>
>>
>>
>>
>>
>>__________________________________________ 
>>NetZero Platinum
>>Sign Up Today - Only $9.95 per month!
>>http://www.netzero.net
>
>
>__________________________________________ 
>NetZero Platinum
>Sign Up Today - Only $9.95 per month!
>http://www.netzero.net