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

Storing integer values in LDAP???




Hi all,

                        I am a bit confused.
               I have an attribute which is of syntax integer. I want to add
an entry containing this attribute, assigning a value to it. How can I do it
using ldap_add_s
as LDAPMod provides only two types of values( strings and binaries ). I tried to
ber encode
an integer value using ber_printf , but Invalid Syntax error came. How can this
be done???

Thanx in advance,
Shashi

DISCLAIMER: This message is proprietary to Hughes Software Systems
Limited (HSS) and is intended solely for the use of the individual
to whom it is addressed. It may contain  privileged or confidential
information  and should not be circulated or used for any purpose other
than for what it is intended. If you have received this message in error,
please notify the originator immediately. If you are not the intended
recipient, you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message. HSS accepts
no responsibility for loss or damage arising from the use of the information
transmitted by this email including damage from virus.