> And now my problem's description: I'm trying to add new
> user using LDAPsend.add method. The problem is that objecClass
> atribute should be repeated with many values

var
        alist: TLDAPAttributeList;
        a: TLDAPAttribute;
begin
//...
        alist := TLDAPAttributeList.create;
        try
                a := alist.add;
                a.attributename := 'objectClass';
                a.add('top');
                a.add('person');
//...
                ldap.add(your_oid, alist);
//...
        finally
                alist.free;
        end;


-- 
Lukas Gebauer.

http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
http://geoget.ararat.cz/ - Geocaching solution


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to